firebase-admin-python icon indicating copy to clipboard operation
firebase-admin-python copied to clipboard

Standard library `distutils` module will be removed in Python 3.12

Open arsikurin opened this issue 4 years ago • 0 comments

Description

Standard library distutils module is deprecated in Python 3.10 and scheduled for removal in Python 3.12 (reference).

Importing distutils in Python 3.10 generates the following warning:

DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives

Path to error: google/cloud/firestore_v1/services/firestore/client.py:17

Environment

  • Operating System version: macOS Monterey 12.0.1
  • Firebase SDK version: 5.2.0
  • Firebase Product: database
  • Python version: 3.10.1
  • Pip version: 21.3.1

arsikurin avatar Jan 07 '22 19:01 arsikurin