Below is the content written in English, following the requested GitHub issue format:
- What versions are you using?
cx_Oracle version: 8.3.0
setuptools version: 82.0.0 (latest at the time of installation)
(Additional Python/platform information can be provided if needed.)
- Describe the problem
When installing cx_Oracle 8.3.0, the installation fails due to a compatibility issue with newer versions of setuptools.
Starting from setuptools v82.0.0, pkg_resources is no longer supported (see:
https://github.com/pypa/setuptools/blob/v82.0.0/NEWS.rst#deprecations-and-removals
).
Because of this removal, the installation process raises the following error:
ModuleNotFoundError: No module named 'pkg_resources'
To resolve this issue, we plan to set an upper bound for the setuptools version (i.e., < 82.0.0) to prevent installation failures.
- Oracle Client libraries
(Not applicable in this case — the issue occurs during package installation before Oracle Client configuration.)
- PATH / LD_LIBRARY_PATH
(Not applicable — installation fails before runtime.)
- Oracle environment variables
(Not applicable — installation fails before runtime.)
Below is the content written in English, following the requested GitHub issue format:
cx_Oracle version: 8.3.0
setuptools version: 82.0.0 (latest at the time of installation)
(Additional Python/platform information can be provided if needed.)
When installing cx_Oracle 8.3.0, the installation fails due to a compatibility issue with newer versions of setuptools.
Starting from setuptools v82.0.0, pkg_resources is no longer supported (see:
https://github.com/pypa/setuptools/blob/v82.0.0/NEWS.rst#deprecations-and-removals
).
Because of this removal, the installation process raises the following error:
ModuleNotFoundError: No module named 'pkg_resources'
To resolve this issue, we plan to set an upper bound for the setuptools version (i.e., < 82.0.0) to prevent installation failures.
(Not applicable in this case — the issue occurs during package installation before Oracle Client configuration.)
(Not applicable — installation fails before runtime.)
(Not applicable — installation fails before runtime.)