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

Qiskit / qiskit / 6973168559
86%
main: 88%

Build:
Build:
LAST BUILD BRANCH: stable/2.3
DEFAULT BRANCH: main
Ran 23 Nov 2023 06:40PM UTC
Jobs 1
Files 1110
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

23 Nov 2023 06:17PM UTC coverage: 86.45% (+0.02%) from 86.432%
6973168559

push

github

web-flow
Add support for Python 3.12 (#11262)

* Add support for Python 3.12

Python 3.12.0 was released on 10-02-2023, this commit marks the start of
support for Python 3.12 in Qiskit. It adds the supported Pythonv ersion
in the package metadata and updates the CI configuration to run test
jobs on Python 3.12 and build Python 3.12 wheels on release.

Fixes: #10887

* Add release note

* Avoid deprecated `datetime.datetime.utcnow()` usage

In Python 3.12 `datetime.datetime.utcnow()` has been deprecated, being
replaced by: `datetime.datetime.now(datetime.UTC)`. This commit updates
the usage of `utcnow()` to follow the new convention.

* Adjust UTC usage to support Python 3.8

The recommended alternative for using utcnow() in the deprecation
warnings emitted by Python 3.12 are not compatible with Python 3.8. The
datetime.UTC alias was not added to Python until Python 3.11. To ensure
that the code is compatible with Python < 3.11 this commit updates all
the usage of datetime.UTC to use datetime.timezone.utc instead, which is
what datetime.UTC aliases to in Python >=3.11.

66288 of 76678 relevant lines covered (86.45%)

250102.04 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
97.06
-0.65% qiskit/transpiler/passes/basis/basis_translator.py
4
91.41
-0.51% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 6973168559.1 23 Nov 2023 06:40PM UTC 1110
86.45
GitHub Action Run
Source Files on build 6973168559
  • Tree
  • List 1110
  • Changed 26
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5a5c9e33 on github
  • Prev Build on gh-readonly-queue/main/pr-11306-c7ecb5fd88f136474f91880f1530e256ab82b527 (#6971795420)
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