You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
qiskit cap on a minor version instead of a major one #622
Hi Team Graphix,
I saw you really nice presentation in MQSF 26 and I got curious about how do you integrate with Qiskit. While doing that, I noticed that you have a cap on a minor Qiskit release:
I wonder why. Is it because 2.5 does not properly work? If this is not the case I suggest:
- "qiskit>=1.0,<2.4",+ "qiskit>=1.0,<3",
Qiskit follows SemVer and code working with 2.4 should keep working in 2.5 (and so on, until 3.0). If that's not the case, then there is a bug in Qiskit breaking backwards compatibility and I would like to learn more about it so I can report it in their end.
Hi @1ucian0, thank you for your interest in the project and opening this issue!
The cap in the qiskit version is due to an incompatibility with latest mypy version as reported in python/mypy#21263. You can verify the error by removing the cap and running
uv run --extra dev --extra typing mypy tests
I noticed that the issue was solved last week, but it's not released yet. I opened #623 with a comment clarifying the problem. We should be able to remove the cap after next mypy release, which will be reported by dependabot.
Thank you for reporting it!
Update: mypy 2.4.1 was released and bumped by dependabot in #647. However, the PR #22172 fixing this issue was not incorporated in the mypy 2.4.1 release.
Removing the 2.4. cap in qiskit still yields an error.
Activity
matulni commentedon Oct 18, 2026
Hi @1ucian0, thank you for your interest in the project and opening this issue!
The cap in the qiskit version is due to an incompatibility with latest
mypyversion as reported in python/mypy#21263. You can verify the error by removing the cap and runningI noticed that the issue was solved last week, but it's not released yet. I opened #623 with a comment clarifying the problem. We should be able to remove the cap after next
mypyrelease, which will be reported by dependabot.Thank you for reporting it!
thierry-martinez commentedon Oct 19, 2026
#623 is now merged, but I propose to leave this issue open until the next
mypyrelease, which should allow us to removeqiskit<2.4.matulni commentedon Nov 5, 2026
Update: mypy 2.4.1 was released and bumped by dependabot in #647. However, the PR #22172 fixing this issue was not incorporated in the mypy 2.4.1 release.
Removing the
2.4.cap in qiskit still yields an error.