Open
Conversation
Replaced cx-Oracle with oracledb in requirements.
SoniaComp
commented
Feb 12, 2026
| oracledb==2.0.0 | ||
| django-auth-ldap==4.3.0 | ||
| Django==4.2.23 | ||
| Django==4.2.24 |
Contributor
Author
There was a problem hiding this comment.
It is following this release: https://www.djangoproject.com/weblog/2025/sep/03/security-releases/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.