Closed emarques closed 10 months ago
I can second this problem, we've been seeing this same exact issue in our GitLab pipelines that run on an Alpine image.
Same here! Cause of the cython's new release
For workarounds, maybe you can try explicitly installing an older cython before installing python-oracledb Or create your own packages in an older environment, and then install those in the target machines?
yeah, that's what I'm doing, I also got error with the PyYAML project. So, my work around looks like this:
python3 -m pip install -U "Cython<3.0.0"
python3 -m pip install --no-build-isolation PyYAML "oracledb==1.2.2"
I have pushed a patch that should correct this issue. If you are able to build from source you can verify that it corrects your issue as well.
This is also a problem in the official python-image on dockerhub (based on debian) for ppc64el
.
Workaround is working, though i needed to install some more dependencies along with cython to get it working on ppc64el
: "Cython<3.0.0" setuptools_rust cffi
Looking forward to the next release :+1:
I have pushed a patch that should correct this issue. If you are able to build from source you can verify that it corrects your issue as well.
I recently ran the source code install with the alpine 3.18 docker image and it appears to be working. The only side effect is that I see two listings from pip list for oracledb. Looking forward for a proper release.
I have a few additional things that I am working on before the 1.4 release but I should be done "soon". Stay tuned!
This has been included in python-oracledb 1.4.0 which was just released.
My only comment would be that in order for the wheels to be built I did have to explicitly update my cython package to the latest version (3.0.0)
My only comment would be that in order for the wheels to be built I did have to explicitly update my cython package to the latest version (3.0.0)
Interesting. I did try with the older version and I didn't have any problem. So not exactly sure why you did...but if it isn't a problem for you to upgrade to Cython 3.0.0 then not worth pursuing further!
We have been running python 3.10 with oracledb package for a while on our jenkins agent alpine 3.17 image. As part of the build the jenkins agent would install the oracledb package, below you can check our build log for installing oracledb 1.3.2 before the new cython package was released
After the release of cython 3.0 yesterday the same agent starting failing to install oracledb:
I assume this because the version of cython is not locked. Is my assumption correct?