Use python 3.11 for Arch install tests #17947
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.
On arch, we have to install a version of python since it doesn't come with it by default. We were using 3.9 which remains a reasonable choice - except that a new but in setuptools_scm results in CI failures (see pypa/setuptools-scm#1038)
Using 3.11 should solve this and also seems a reasonable choice and this should resolve the CI failure in the arch install test.
This failure is related to
git 2.45.0
andsetuptools_scm
and not specifically arch - however arch is often the canary on updating to the latest packages. It would be seen on other linuxes as well with that version of git