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

scikit-hep / iminuit / 41099586720
100%

Build:
DEFAULT BRANCH: develop
Ran 30 Oct 2026 05:33PM 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

30 Oct 2026 05:31PM UTC coverage: 99.725%. Remained the same
41099586720

push

github

web-flow
chore: drop Python 3.9, require 3.10+ (#1135)

:robot: _AI text below_ :robot:

Addresses part of #1132.

Python 3.9 reached EOL in October 2025. This PR drops 3.9 support,
bumping the minimum to Python 3.10, and applies the modernizations that
unlocks.

## Changes

**pyproject.toml**
- `requires-python = ">=3.10"` (was `>=3.9`)
- `numpy >=1.21.3` (oldest numpy with a 3.10 wheel; was `>=1.21`)
- Added explicit `Programming Language :: Python :: 3.10/3.11/3.12/3.13`
classifiers
- `[tool.cibuildwheel]`: removed `cp39-musllinux_i686` skip entry
(replaced with `cp310-musllinux_i686`)
- `[[tool.cibuildwheel.overrides]]`: selector changed from
`cp3{9,10}-manylinux*` to `cp310-manylinux*`

**.github/workflows/release.yml**
- Removed `cp39` from the `py:` matrix
- Removed two cp39 excludes (ubuntu-24.04-arm and windows-11-arm)

**.github/workflows/test.yml**
- Minimum-version test leg updated from `python-version: "3.9"` /
`numpy==1.21.0` to `python-version: "3.10"` / `numpy==1.21.3`

**noxfile.py**
- No changes needed: `MINIMUM_PYTHON` reads from `pyproject.toml`
dynamically, so it picks up 3.10 automatically.

**Typing modernization (src/iminuit/)**
- `typing.py`: removed `Optional`, `Union`, `List` imports; `Key` type
alias and `UserBound`/`Interval` fields now use `X | Y` and `float |
None` syntax; added `from __future__ import annotations`
- `ipywidget.py`, `qtwidget.py`: `from typing import Dict, Callable`
replaced with `collections.abc.Callable` and `dict[str, Any]`
- Ruff UP auto-fixes applied across src/ (213 fixes): deprecated
`typing.Union`, `Optional`, `List`, `Tuple`, `Dict`, `Set` usages
replaced with modern equivalents in `minuit.py`, `cost.py`, `util.py`,
`_deprecated.py`, `_optional_dependencies.py`, `_parse_version.py`,
`_repr_html.py`; unused typing imports removed (F401)
- One correctness fix in `minuit.py`: `method: str | Callable | None =
None` (ruff correctly surfaced a latent mypy issue)

**doc/conf.py**
- Synced `root_version` to matc... (continued)

107 of 107 new or added lines in 11 files covered. (100.0%)

3990 of 4001 relevant lines covered (99.73%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41099586720.1 30 Oct 2026 05:33PM UTC 18
99.73
GitHub Action Run
Source Files on build 41099586720
  • Tree
  • List 18
  • Changed 12
  • Source Changed 12
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41099586720
  • fedfda53 on github
  • Prev Build on develop (#36987143725)
  • Next Build on develop (#41382946142)
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