• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 6699610822
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: port-synth_cnot_phase_aam-to-rust
DEFAULT BRANCH: main
Ran 30 Oct 2023 11:33PM UTC
Jobs 1
Files 1261
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Oct 2023 09:41PM UTC coverage: 86.91% (+0.002%) from 86.908%
6699610822

push

github

web-flow
Don't test forward compatibility in qpy compat tests (#11101) (#11150)

* Don't test forward compatibility in qpy compat tests

The qpy compatibility tests are designed to test backwards
compatibility. They generate QPY files using all historical releases
of Qiskit with QPY support and test that all proposed changes are
able to load the qpy files. There was an underlying assumption to how
the tests were written that the version under test is always newer
than all the historical releases. This has been true in the past because
the release model for qiskit mean that we were maintaining at most one
stable release at a time, and when we released a new minor version of
qiskit we retired the previous minor version release series's branch.
However, moving forward this assumption will no longer be true as we're
moving to a model where we support > 1 branch at a time. When we start
supporting > 1 release series at a time, PRs proposed to the older
stable branches will no longer be able to test all releases because QPY
only support backwards compatibility and will not be able to load QPY
files generated from newer releases. The example of this was in the
0.25.x series, there is overlap in the support of the stable/0.25 branch
and the stable/0.45 branch, and after the release of 0.45.0rc1 the tests
started to fail because you can't load QPY files generated with
0.45.0rc1 with 0.25.x.

This commit address this by adding a condition to the QPY compat scripts
to ensure that the version under test is >= the QPY file source version.
If we encounter that scenario we just skip the tests. This should
prevent this situation from occurring for future releases as we expand
our support windows.

* Fix syntax errors

* Use a Python script to compare versions

This commit adds a small python script to compare two version strings
and determine whether the version under test is newer (or the same) as
the source version. The logic for making this determination was a bit
more inv... (continued)

73892 of 85021 relevant lines covered (86.91%)

91319.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6699610822.1 30 Oct 2023 11:33PM UTC 0
86.91
GitHub Action Run
Source Files on build 6699610822
Detailed source file information is not available for this build.
  • Back to Repo
  • 56cd2f2c on github
  • Prev Build on gh-readonly-queue/stable/0.45/pr-11148-2e861ba86188a29f5844345443bdf185225bff40 (#6695535627)
  • Next Build on stable/0.45 (#6704939379)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc