build: modernize build system, dependencies and CI - #91
Merged
Conversation
- replace setup.py/distutils with pyproject.toml + scikit-build-core - version from git tags via setuptools-scm - fetch Eigen 3.4, fmt 11, spdlog 1.15 and robin-map via FetchContent instead of vendoring (only hyperjet stays vendored) - drop sparsehash (dense_hash_map -> tsl::robin_map) - make OpenMP optional (fixes build on macOS without libomp) - compile-time checked format strings (fmt 11 / spdlog 1.15) - support Python 3.12-3.14, pybind11 3.x - ci: current actions, Python 3.12-3.14 matrix - publish: cibuildwheel + PyPI trusted publishing, arm64 wheels - tests: adapt to current hyperjet API, skip if hyperjet missing BREAKING CHANGE: requires Python >= 3.12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The project no longer built on current toolchains (CMake 4, Python 3.11+). This PR modernizes the entire build, dependency and release setup — +280/−252,550 lines, most of it removed vendored libraries.
Build & packaging
setup.py/distutils (removed in Python 3.12) replaced withpyproject.toml+ scikit-build-corepumpit)Dependencies
dense_hash_mapreplaced bytsl::robin_mapLog.h/formatuse compile-time checked format strings (required by fmt 11)CI/CD
Tests
hj.variables(...),.hm()); skipped viaimportorskipwhen hyperjet is unavailableVerification
All 43 tests pass on Python 3.13 (macOS/arm64), both against a direct CMake build and against an install from the built sdist.
Notes
oberbichler/EQlib, workflowpublish.yml, environmentpypi)