Skip to content

Update python requirements#4314

Open
SoniaComp wants to merge 5 commits intocloudera:masterfrom
SoniaComp:update-requirements
Open

Update python requirements#4314
SoniaComp wants to merge 5 commits intocloudera:masterfrom
SoniaComp:update-requirements

Conversation

@SoniaComp
Copy link
Contributor

@SoniaComp SoniaComp commented Feb 12, 2026

What changes were proposed in this pull request?

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'

According to the announcement “New major cx_Oracle release has a new name and repo: python-oracledb”, the cx_Oracle module has been replaced with python-oracledb.

As stated in the announcement, python-oracledb 1.0 is a new major release and the successor to cx_Oracle 8.3.
We have therefore updated the dependency to use python-oracledb version 2.0.0, which supports python3.11 while the 1.0 series don't support it.

How was this patch tested?

  • This patch was tested on the latest main branch of our company’s production Hue environment.

  • The module replacement (cx_Oracle → python-oracledb) was applied and verified in a running production setup.

@SoniaComp SoniaComp changed the title Update requirements Update python requirements Feb 12, 2026
oracledb==2.0.0
django-auth-ldap==4.3.0
Django==4.2.23
Django==4.2.24
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant