Skip to content

Removing py3.10 - #1880

Merged
scarrazza merged 2 commits into
masterfrom
py311
Sep 5, 2026
Merged

Removing py3.10#1880
scarrazza merged 2 commits into
masterfrom
py311

Conversation

@scarrazza

Copy link
Copy Markdown
Member

No description provided.

@scarrazza
scarrazza requested review from RoyStegeman and alecandido and a lite review from Copilot September 4, 2026 18:33
@scarrazza
scarrazza marked this pull request as ready for review September 4, 2026 18:33
@scarrazza
scarrazza requested review from a team September 4, 2026 18:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The updated lockfile appears to make the qulacs extra install by default (and the lock was generated with a different Poetry version), which can unexpectedly change default dependencies and harm reproducibility.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates Qibo’s declared and tested Python support baseline by removing Python 3.10, aligning packaging metadata, lint configuration, CI matrices, and installation docs around Python ≥3.11.

Changes:

  • Bump project Python requirement from >=3.10 to >=3.11 and update Ruff target-version to py311.
  • Refresh poetry.lock to reflect the new Python constraint and dependency markers.
  • Remove Python 3.10 from GitHub Actions test/deploy matrices and update installation documentation accordingly.
File summaries
File Description
pyproject.toml Raises minimum supported Python to 3.11 and updates Ruff target version.
poetry.lock Re-locks dependencies under the new Python constraint and adjusts markers/versions.
doc/source/getting-started/installation.rst Updates installation docs to state Python 3.11+ requirement.
.github/workflows/rules.yml Drops Python 3.10 from the CI test matrix.
.github/workflows/deploy.yml Drops Python 3.10 from the deploy/build matrix.
Review details
  • Files reviewed: 4/5 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.55%. Comparing base (3ab165f) to head (5d9d778).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1880   +/-   ##
=======================================
  Coverage   99.55%   99.55%           
=======================================
  Files          78       78           
  Lines       14095    14095           
=======================================
  Hits        14032    14032           
  Misses         63       63           
Flag Coverage Δ
unittests 99.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

@RoyStegeman RoyStegeman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This one you may want to update as well (or remove the explicit version number and assume a user can figure that out)

To quickly install Qibo and a lightweight simulator for CPU, open a
terminal with ``python >= 3.8`` and type:

@scarrazza

Copy link
Copy Markdown
Member Author

Thanks @RoyStegeman and @alecandido.

@scarrazza
scarrazza merged commit 3183620 into master Sep 5, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants