CI: Install PyQt5 and NumPy on Python 3.10 #5666
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Wheel now works on Python 3.10 so we can install PyQt5 there.
We can also install
wheel
early on in the CI. This avoids legacy 'setup.py install' for packages that only have sdists and no wheels, and then stores the wheel in the cache for the next run.The cache isn't there for new branches, but will help
master
and updates to feature branches.NumPy is also buildable for 3.10 now, so we could remove this:
But it takes about 5-6 minutes to build from sdist (3.10 only, others have wheels). It will be stored in the wheel cache for subsequent builds.
As we're now also aiming at getting 3.10 RC wheels out (#5569), shall we take the hit and also test NumPy on 3.10? It's possible we won't notice it given the large build matrix with many runners.
If not, hopefully there'll be NumPy wheels for 3.10 soon: numpy/numpy#19630