-
Notifications
You must be signed in to change notification settings - Fork 521
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
Bump minimum required Python to 3.8 #2262
Conversation
Nice, I managed to get a failure on each of the 3 CI services. 😆 |
|
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #2262 +/- ##
=======================================
Coverage 89.79% 89.79%
=======================================
Files 17 17
Lines 2390 2390
=======================================
Hits 2146 2146
Misses 244 244 ☔ View full report in Codecov by Sentry. |
Whew. This has been an entirely disproportionate pain. It seems that for some reason, the ppc64le build on Travis was hiding stderr. It took me ages to realise this - partly because why on earth would a CI service hide stderr, and partly because pip sends part of its logging to stdout, so it looked like messages going through logging were showing up. I eventually added some shell This looks like the crucial piece:
There's a vaguely related looking error (not the same one) reported in a NumPy issue here: numpy/numpy#19643 That hinted that the issue was a new version of NumPy with an old compiler (Travis is using Ubuntu 18.04). I spotted in the release notes for 1.23 "Add support for VSX4/Power10", so I tried |
Oh, and I gave up on working out the Mac OS Python 3.11 + Homebrew thing for now; those tests can run on Python 3.8 and 3.10 instead. 🤷 |
I'm torn between squash merging to hide the thrashing and not to record the thrash! Leave that to @takluyver 's discretion. |
I'm going for squashing - the pain is recorded here, I don't think it needs to be in the commit history too. 🙂 |
Kudos @takluyver on the perseverance in fixing all these problems! 🚀 |
h5py#2262 bumped the required Python version to 3.8; this updates the README accordingly
#2262 bumped the required Python version to 3.8; this updates the README accordingly
We're generally quite conservative with dependencies, because h5py is often used in big institutional environments that may not upgrade quickly. But Python 3.8 is 3.5 years old by now, so I think it's reasonable to drop 3.7.
I've removed some test jobs, and moved some others onto newer versions of Python, trying to keep a decent coverage of different combinations.