Skip to content
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

deps: support python 3.12 #2270

Merged
merged 1 commit into from
Nov 20, 2023
Merged

deps: support python 3.12 #2270

merged 1 commit into from
Nov 20, 2023

Conversation

mloubout
Copy link
Contributor

No description provided.

@mloubout mloubout added the dependencies Pull requests that update a dependency file label Nov 20, 2023
@mloubout mloubout force-pushed the python312 branch 2 times, most recently from 8265804 to 26ed78d Compare November 20, 2023 04:58
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e8ecf41) 86.91% compared to head (f9c874b) 86.91%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2270   +/-   ##
=======================================
  Coverage   86.91%   86.91%           
=======================================
  Files         229      229           
  Lines       42150    42152    +2     
  Branches     7787     7787           
=======================================
+ Hits        36635    36637    +2     
+ Misses       4866     4865    -1     
- Partials      649      650    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -1,4 +1,5 @@
from itertools import product
from . import _version
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All below is autogenerated by versioneer, those files were outdated and not compatible with python3.12

- name: Set pip flags for latest python (3.12)
run: |
if [ "${{ matrix.python-version }}" == '3.12' ]; then
echo "PIPFLAGS='--break-system-packages'" >> $GITHUB_ENV
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Starting Python 3.12, anything that. is not a venv is considered an externally managed environment and pip throws errors without that flag

Copy link
Contributor

@FabioLuporini FabioLuporini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uncontroversial, thanks

@mloubout mloubout merged commit b68cf6f into master Nov 20, 2023
31 checks passed
@mloubout mloubout deleted the python312 branch November 20, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants