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

scikit-hep / pyhepmc / 42605641369
97%

Build:
DEFAULT BRANCH: main
Ran 09 Nov 2026 11:03AM UTC
Jobs 1
Files 10
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

09 Nov 2026 11:01AM UTC coverage: 96.838%. Remained the same
42605641369

push

github

web-flow
Build with scikit-build-core and pybind11 from PyPI (#128)

Migrates the build from `setup.py` + a hand-written CMake extension to
[scikit-build-core](https://scikit-build-core.readthedocs.io), following
@henryiii's recommendations in #126 (and the earlier license discussion
in #80).

### Changes
- **Backend:** `setup.py`, `cmake_ext.py`, `setup_utils.py` and
`MANIFEST.in` are removed; `pyproject.toml` uses
`scikit_build_core.build`. The version still comes from setuptools-scm
(via scikit-build-core's metadata provider), and sdists carry it in
`PKG-INFO`.
- **CMake:** `PYBIND11_FINDPYTHON ON` + `find_package(Python …
Development.Module)`, so the interpreter is found via
`Python_EXECUTABLE` (#126). Minimum CMake is 3.18 (needed for
`Development.Module`); scikit-build-core fetches a newer CMake if
needed. The module is installed with `install(TARGETS _core …)`.
- **pybind11 from PyPI (#126):** `pybind11>=3` is a build requirement
found with `find_package(pybind11 CONFIG)`. The `extern/pybind11`
submodule (v2.13.6) and the `EXTERNAL_PYBIND11` option are removed. The
pybind11 license stays in `LICENSES_bundled` because its code is
compiled into `_core`.
- **Licenses (PEP 639):** `license` is now the SPDX expression
`BSD-3-Clause AND LGPL-3.0-or-later AND MPL-2.0 AND BSL-1.0 AND MIT`,
covering pyhepmc and the code compiled into `_core` (HepMC3, its bxzstr
headers, pybind11, Boost.Mp11, cpp-member-accessor). The bundled license
texts go into `.dist-info/licenses/` as separate files instead of being
merged into `LICENSE` during sdist builds, as suggested in #80. The
`License ::` classifier is dropped because PEP 639 disallows it next to
a license expression. This also removes the `LICENSE` rewrite that
wasn't exception-safe.
- **sdist:** include/exclude rules replace `MANIFEST.in` and keep only
the submodule parts the build needs (826 kB). Tests are now included in
the sdist.
- **CI/docs:** `DEBUG=1` → `SKBUILD_CMAKE_BUILD_TYPE=Debug`; the Wheels
triggers an... (continued)

490 of 506 relevant lines covered (96.84%)

0.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42605641369.1 09 Nov 2026 11:03AM UTC 10
96.84
GitHub Action Run
Source Files on build 42605641369
  • Tree
  • List 10
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ad59c2ec on github
  • Prev Build on main (#42557863827)
  • Next Build on main (#43248118698)
  • Delete
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