Skip to content

Unable to use python-oracledb with Cython 3.1.0 #493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
anthony-tuininga opened this issue May 12, 2025 · 4 comments
Closed

Unable to use python-oracledb with Cython 3.1.0 #493

anthony-tuininga opened this issue May 12, 2025 · 4 comments
Labels
bug Something isn't working patch available

Comments

@anthony-tuininga
Copy link
Member

Transferred from discussion #492.

Cython 3.1.0 no longer exports enumerated values of named enumerations.

@anthony-tuininga
Copy link
Member Author

I have pushed a patch that corrects this issue and have initated a build from which you can download pre-built development wheels once it completes. You can also build from source if you prefer. If you can test your scenario and confirm the patch works as expected, that would be appreciated!

@Jaza
Copy link

Jaza commented May 13, 2025

@anthony-tuininga thanks - I've built latest python-oracledb from source, and I can confirm that your patch corrects this issue.

Can I also humbly suggest that you pin the Cython version to 3.1.x, to prevent a similar problem from potentially happening in future when Cython 3.2.x / Cython 4.0.x is released? I believe a change like this is what you'd need:

Jaza@b3c7248

@cjbj
Copy link
Member

cjbj commented May 13, 2025

@Jaza we'll evaluate pinning in a future version.

@anthony-tuininga
Copy link
Member Author

This was included in python-oracledb 3.1.1 which was just released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working patch available
Projects
None yet
Development

No branches or pull requests

3 participants