Skip to content

Enable installation and testing with Python 3.14#7761

Merged
pavoljuhas merged 9 commits intoquantumlib:mainfrom
pavoljuhas:support-python-3.14
Jan 13, 2026
Merged

Enable installation and testing with Python 3.14#7761
pavoljuhas merged 9 commits intoquantumlib:mainfrom
pavoljuhas:support-python-3.14

Conversation

@pavoljuhas
Copy link
Collaborator

@pavoljuhas pavoljuhas commented Nov 17, 2025

Partially implements #7832

@github-actions github-actions bot added the size: S 10< lines changed <50 label Nov 17, 2025
@codecov
Copy link

codecov bot commented Nov 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.56%. Comparing base (449a1ea) to head (1a31782).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7761      +/-   ##
==========================================
- Coverage   99.57%   99.56%   -0.01%     
==========================================
  Files        1104     1104              
  Lines       98938    98938              
==========================================
- Hits        98516    98512       -4     
- Misses        422      426       +4     

☔ 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.

…ual complex numbers

Problem: In Python 3.14 (1+0j) and (1-0j) are not identical and have
different string representation.

Solution: Normalize "-0j" to "+0j" before string comparison.
Fails on the from-source build of qiskit-aer.
Add a todo note to enable it later.
We require Python >= 3.11.  No need to support exception
messages from earlier versions.
@github-actions github-actions bot added size: M 50< lines changed <250 and removed size: S 10< lines changed <50 labels Jan 12, 2026
@pavoljuhas pavoljuhas requested a review from mhucka January 12, 2026 21:53
@pavoljuhas pavoljuhas marked this pull request as ready for review January 12, 2026 21:53
Copy link
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 Jan 12, 2026
Merged via the queue into quantumlib:main with commit 9aea3ba Jan 13, 2026
72 of 73 checks passed
@pavoljuhas pavoljuhas deleted the support-python-3.14 branch January 13, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/python size: M 50< lines changed <250

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants