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

scikit-hep / iminuit / 35103799816
100%

Build:
DEFAULT BRANCH: develop
Ran 16 Sep 2026 01:48PM UTC
Jobs 1
Files 18
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

16 Sep 2026 01:43PM UTC coverage: 99.725%. Remained the same
35103799816

push

github

web-flow
perf: generate _version.py at build time (#1217)

:robot: _AI text below_ :robot:

`importlib.metadata` is slow to import and was needed only to read
`__version__`. scikit-build-core now generates `iminuit/_version.py`
into the wheel instead:

```toml
[[tool.scikit-build.generate]]
path = "iminuit/_version.py"
template = """
version = "${version}"
"""
```

`__init__.py` and `_deprecated.py` read the version from that module.
The generated file uses the default `location = "install"`, so it never
appears in the source tree; `_version.pyi` gives mypy the type.

`import iminuit` drops from 28 ms to 13 ms on 3.15, which is interpreter
startup alone. Measured on top of #1216; without it the gain is the same
15 ms.

Checked that the file lands correctly for an editable install, a wheel,
and an sdist -> wheel -> install round trip.

Merging this and #1216 in either order leaves `__lazy_modules__` in
`__init__.py` one entry short, so the flake8-lazy hook will update it on
the second merge.

3 of 3 new or added lines in 2 files covered. (100.0%)

3988 of 3999 relevant lines covered (99.72%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35103799816.1 16 Sep 2026 01:48PM UTC 18
99.72
GitHub Action Run
Source Files on build 35103799816
  • Tree
  • List 18
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35103799816
  • fcd7f715 on github
  • Prev Build on develop (#34982261427)
  • Next Build on develop (#35126595071)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc