Workaround externally managed environment issue in Python 3.11 #150
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.
Around the beginning of 2025, the
ubuntu-latest
runner image which this project uses, was changed from Ubuntu 22.04 to 24.04.As a result, the python version which is used by this repo's GitHub actions changed from 3.10.12 to 3.12.3.
With this change to Python 3.12, PEP 668 was introduced. This new Python behavior is causing errors in the CI and
pip
is exiting non-zeroThis adds a
--break-system-packages
argument to thepip install
so that it can continue to install packages without an error.A possible future improvement would be to do these installations in a virtual environment.