Skip to content

NEP-29 - require minimum Python version 3.11#7338

Merged
pavoljuhas merged 1 commit intoquantumlib:mainfrom
pavoljuhas:require-python-3.11
May 15, 2025
Merged

NEP-29 - require minimum Python version 3.11#7338
pavoljuhas merged 1 commit intoquantumlib:mainfrom
pavoljuhas:require-python-3.11

Conversation

@pavoljuhas
Copy link
Copy Markdown
Collaborator

@pavoljuhas pavoljuhas commented May 14, 2025

  • Require Python version 3.11 as installation requirement
  • Update docs to require minimum Python version 3.11
  • Use Python 3.11 in the docker image
  • Update GHA workflows to use Python 3.11

Ref: https://numpy.org/neps/nep-0029-deprecation_policy.html

Fixes #6648

@github-actions github-actions bot added the size: M 50< lines changed <250 label May 14, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented May 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.67%. Comparing base (38751e1) to head (4ddbc06).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7338      +/-   ##
==========================================
- Coverage   98.67%   98.67%   -0.01%     
==========================================
  Files        1111     1111              
  Lines       96834    96834              
==========================================
- Hits        95550    95549       -1     
- Misses       1284     1285       +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

* Require Python version 3.11 as installation requirement
* Update docs to require minimum Python version 3.11
* Use Python 3.11 in the docker image
* Update GHA workflows to use Python 3.11

Ref: https://numpy.org/neps/nep-0029-deprecation_policy.html

Fixes quantumlib#6648
@pavoljuhas pavoljuhas force-pushed the require-python-3.11 branch from 8bb7d07 to 4ddbc06 Compare May 14, 2025 18:54
@pavoljuhas pavoljuhas marked this pull request as ready for review May 14, 2025 18:56
@pavoljuhas pavoljuhas requested a review from mhucka May 14, 2025 18:56
Copy link
Copy Markdown
Contributor

@mhucka mhucka left a comment

Choose a reason for hiding this comment

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

LGTM!

@pavoljuhas pavoljuhas added this pull request to the merge queue May 15, 2025
Merged via the queue into quantumlib:main with commit 01e3e9c May 15, 2025
63 of 66 checks passed
@pavoljuhas pavoljuhas deleted the require-python-3.11 branch May 15, 2025 17:45
BichengYing pushed a commit to BichengYing/Cirq that referenced this pull request Jun 20, 2025
* Require Python version 3.11 as installation requirement
* Update docs to require minimum Python version 3.11
* Use Python 3.11 in the docker image
* Update GHA workflows to use Python 3.11

Ref: https://numpy.org/neps/nep-0029-deprecation_policy.html

Fixes quantumlib#6648
pavoljuhas added a commit to pavoljuhas/Cirq that referenced this pull request Jul 16, 2025
Roll forward of quantumlib#7338. Internal documentation build is fixed for Python 3.11.

Revert "Permit installation for Python 3.10 (docs build only) (quantumlib#7445)"

This reverts commit 609d93d.

Fixes quantumlib#6648
github-merge-queue bot pushed a commit that referenced this pull request Jul 16, 2025
NEP-29 require minimum Python version 3.11

Roll forward of #7338 because internal documentation build can now
run with Python 3.11.  A few capitalization fixups are here too.

Revert "Permit installation for Python 3.10 (docs build only) (#7445)"

This reverts commit 609d93d.

Fixes #6648
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: M 50< lines changed <250

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop python 3.10

2 participants