Unable to use python-oracledb with Cython 3.1.0
Closed this issue · 6 comments
Transferred from discussion #492.
Cython 3.1.0 no longer exports enumerated values of named enumerations.
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!
@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:
This was included in python-oracledb 3.1.1 which was just released.
We haven't got back to pinning the Cython version so I'm going to reopen this issue to remind us about it.