Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: add Python 3.11 support #400

Merged
merged 2 commits into from
Apr 6, 2023
Merged

Conversation

matthewfeickert
Copy link
Member

Given scikit-hep/pyhf#2145 and discussion in conda-forge/cabinetry-feedstock#3 add Python 3.11 to testing for cabinetry.

  • Add Python 3.11 to testing in CI.
  • Default to using Python 3.11 in GitHub Actions where possible.
  • Update to using Python 3.11 in mypy pre-commit hook.
  • Add Python 3.11 trove classifier to PyPI metadata.

* Add Python 3.11 to testing in CI.
* Default to using Python 3.11 in GitHub Actions where possible.
* Update to using Python 3.11 in mypy pre-commit hook.
* Add Python 3.11 trove classifier to PyPI metadata.
@matthewfeickert matthewfeickert added the enhancement New feature or request label Apr 6, 2023
@matthewfeickert matthewfeickert self-assigned this Apr 6, 2023
@codecov
Copy link

codecov bot commented Apr 6, 2023

Codecov Report

❗ No coverage uploaded for pull request base (master@ec88440). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             master      #400   +/-   ##
==========================================
  Coverage          ?   100.00%           
==========================================
  Files             ?        23           
  Lines             ?      2078           
  Branches          ?       334           
==========================================
  Hits              ?      2078           
  Misses            ?         0           
  Partials          ?         0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@alexander-held alexander-held left a comment

Choose a reason for hiding this comment

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

Thanks a lot for taking care of this! With the pyhf support via scikit-hep/pyhf#2145 it's great to now also officially support Python 3.11.

related previous PR for 3.10 was #334

* add Python 3.11 to testing in CI and default to using it where possible
* add Python 3.11 trove classifier to PyPI metadata

@alexander-held alexander-held changed the title ci: Add Python 3.11 to testing and default to using it feat: add Python 3.11 support Apr 6, 2023
@alexander-held alexander-held merged commit 787c577 into master Apr 6, 2023
@alexander-held alexander-held deleted the ci/add-python-311-to-testing branch April 6, 2023 19:59
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants