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

Qiskit / qiskit-fermions / 29262826814
98%

Build:
DEFAULT BRANCH: main
Ran 13 Jul 2026 03:48PM UTC
Jobs 1
Files 80
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

13 Jul 2026 03:34PM UTC coverage: 97.785%. Remained the same
29262826814

push

github

web-flow
feat: add version information to the package (#178)

The package previously had no version information: `pyproject.toml` hard-coded
`version = "0.0.0"` and there was no `qiskit_fermions.__version__`.

Introduce a committed `VERSION.txt` as the single source of truth for the
release number, following the same approach as Qiskit itself. Keeping the
version in a committed file (rather than deriving it purely from git tags) means
a source tarball is self-contained and needs no git history to know its version.
A `version.py` reads the file and, when importing from a git checkout whose HEAD
is not tagged, appends a PEP 440 `+<sha7>` local version identifier so editable
installs report the exact commit they were built from.

Because the package lives at `<repo>/python/qiskit_fermions/` rather than
`<repo>/qiskit/`, the repo-root detection walks two directories up instead of
the one Qiskit's own `version.py` assumes.

`pyproject.toml` now derives the version dynamically from
`qiskit_fermions.version.__version__` and ships `VERSION.txt` as package data.

The Cargo workspace version is kept in lockstep in SemVer form
(`0.1.0.dev0` <-> `0.1.0-dev0`). Cargo cannot derive its version from git, so a
new `make version-bump VERSION=<pep440>` target (backed by
`tools/set_version.py`) writes both manifests consistently and refreshes
`Cargo.lock`, to be used for the release / open-development ritual.

`version.py` shells out to git and is exercised only during packaging, so it is
omitted from coverage measurement rather than covered by the test suite.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

1 of 1 new or added line in 1 file covered. (100.0%)

7682 of 7856 relevant lines covered (97.79%)

161.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29262826814.1 13 Jul 2026 03:48PM UTC 80
97.79
GitHub Action Run
Source Files on build 29262826814
  • Tree
  • List 80
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29262826814
  • 94b6b871 on github
  • Prev Build on main (#29107998529)
  • Next Build on main (#29262900024)
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