Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
cx_Oracle 8.0 has been released #456
Comments
|
Good job folks! |
|
Now Python 2 users (yeah, I know, EOL and everything. but moving away takes some time) will get 8.0 as well just to fail in setup.py. And due to the way how python packaging works this is not something that can be fixed anymore (without yanking the released package which would be a bad idea for various reasons). |
|
There's no need to be rude about it. If we didn't know about something and made a mistake, then we're sorry. We don't like making things hard for users either. If you want to share your knowledge and help keep the project in great shape throughout each development cycle then contributions are always welcome. (For future readers coming across this, here are the notes on installing with Python 2.) |
|
You are right, I was just a bit annoyed since it broke my build. Updated my comment to be nicer. |
|
I've added the necessary metadata. I wasn't aware that it existed so my apologies -- and thanks for bringing it to my attention! We can't fix the 8.0.0 build but if we make a 8.0.1 release that should resolve your issue, I believe? Please advise! |
|
Unfortunately not, since |
|
Ah. So it will see that versions later than 8.0.0 are invalid but there's this lovely 8.0.0 that you can upgrade to. Sigh. Again, my apologies. |
|
Yeah, it's really annoying that this particular metadata cannot be added retroactively. :/ |
|
Indeed! |
|
Hmm, looks like PyPI has the ability to "yank" a release. That means that it is ignored unless you explicitly ask for it as in
This is documented in PEP 592. That might resolve it for you, right? |
|
Indeed. I hadn't realized that this was finally implemented! |
|
when will be available the asyncio driver??? We are in 2020 :) |
|
All I can say is that it is under consideration and that I have no idea if/when it will be available! Even though asyncio has been around for some time many of the frameworks are just starting to add support for it! |
|
@ThiefMaster, cx_Oracle 8.0.1 has been released with specific support for the metadata tag that tells Python 2 to leave it alone and cx_Oracle 8.0.0 has been yanked. So if you do |
|
I'm seeing this in a install process:
Of course I can bump to the latest version. I suppose I just wanted to add it here. It did raise a red flag when I noticed it, i.e. was this pulled for a security vulnerability? |
|
The reason it was yanked is because Python 2 was trying to install it -- and Python 2 is incapable of running cx_Oracle 8. cx_Oracle 8.0.1 specifically adds the metadata necessary to tell Python 2 to ignore it but cx_Oracle 8.0.0 had to be yanked or Python 2 would continue to try to install it! Hope that makese sense to you! I would have put a reason but wasn't sure what would make sense there. |
|
That makes sense, I just wanted to check and add a comment here because I’m sure others will be curious as well. Google search will perhaps bring them here :-) |


Python cx_Oracle 8.0 is now Production on PyPI. This release adds an API for specifying the location of the Oracle Client libraries and optional configuration files. The default character set is now UTF-8. A new prefetchrows attribute allows further tuning of query fetch performance. And there’s more! Note this release supports Python 3 only.
My release blog post announcements is at: https://blogs.oracle.com/opal/the-new-cx_oracle-80-release-brings-easier-configuration