Up to [cvs.NetBSD.org] / pkgsrc / devel / py-scikit-build-core
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-scikit-build-core: updated to 1.1.2
1.1.2
This patch release adds a `ctypes` backend to `scikit-build init`. It builds a
plain C library without Python headers and makes a `py3` wheel.
`editable.rebuild-dir` now accepts a `{build_dir}` template key, so the install
tree can follow the build tree. Editable redirect installs no longer redirect
imports that run inside their own CMake build, such as nanobind stub generation.
py-scikit-build-core: update to 1.1.0. Packages can now declare their own config-settings in a tool.scikit-build.config-setting table. This gives packages the opportunity to add a documented interface in place of raw CMake defines. The new scikit-build settings list command shows all the config-settings that a project accepts. New settings include cmake.fresh, if.not overrides, and sdist.resolve-symlinks = "error". import-names and import-namespaces (PEP 794) are filled from Python if set as dynamic. project.version is now kept exactly as written in the metadata (1.1+). Editable loaders expose their search paths, redirect mode gives a deterministic __path__ order, and you can set up a persistent install tree even without rebuild-on-import. Other bugs and performance issues are addressed.
py-scikit-build-core: update to 1.0.3.
1.0.3
This patch release polishes the setuptools compatibility plugin:
config_settings are now threaded through to the build command, the
source tree stays clean in strict editable mode, and the SubCommand
protocol is fully implemented.
1.0.2
This patch release fixes redirect editable installs so that PEP
302 import hooks (such as beartype.claw) that register a sys.path_hooks
entry are honored for redirected modules.
1.0.1
This patch release fixes two bugs: shared namespace packages were
being truncated in redirect editable installs, and the wheel
timestamp clamp could overflow on 32-bit time_t platforms.
1.0.0
We've worked through over 100 issues and ran extensive review
sweeps, fixing over 90 bugs and adding 40+ features! We've added
support for PEP 803 (free-threaded stable ABI), PEP 808 (partially
dynamic metadata), PEP 829 (.start files), and experimental PEP
817 (variants). Editable installs are much better, with lots of
edge cases fixed, like namespace packages and resource discovery.
For rebuilds, which are still experimental, loaders expose a manual
rebuild(), inplace mode now supports rebuilds, and rebuilds can
optionally target a persistent install tree (which removes several
caveats). The setuptools and hatchling plugins are no longer
experimental and Hatchling supports editable installs. There's a
new unified scikit-build CLI, including an init command to scaffold
new projects. Wheels can be reproducible. Dynamic metadata follows
a spec with entry-point discovery and uses [[tool.dynamic-metadata]],
and you can write your own plugins. There are new settings: an env
table for setting environment variables, install.targets, force-include
for SDists and wheels, sdist.resolve-symlinks, and a ${SKBUILD_<TREE>_DIR}
prefix for targeting wheel trees; existing settings gained
sdist.inclusion-mode = "explicit" and list-valued cmake.build-type.
Imports are lazy on Python 3.15+ (PEP 810), making CLI and backend
startup faster. Lots of documentation has been added and updated,
along with new examples and samples. We've also polished f2py-cmake
and cython-cmake.
As (almost) always, if you set a minimum-version, your build should
be unaffected. Behavior changes to be aware of: SDists now resolve
symlinks by default, with an sdist.resolve-symlinks setting providing
"all", "external", "none", and "classic" modes. The old names of
renamed configuration fields (cmake.minimum-version, ninja.minimum-version,
cmake.verbose, and cmake.targets) now error unless minimum-version
is set, and the deprecated tool.scikit-build.metadata table warns
if minimum-version is not set. The empty pyproject extra was removed;
installers like pip, build, and uv merely warn if you still request
it.
py-scikit-build-core: updated to 0.12.1 0.12.1 This fixes a regression on Windows when targeting 32-bit wheels on a 64-bit host. Fixes: - Use `CMAKE_GENERATOR`(`_PLATFORM`) on Windows again Documentation: - Use newly fixed `click-extra` for admonitions - show CI state of the main branch in the badge
py-scikit-build-core: updated to 0.11.6 0.11.6 This release adds known wheels for the `riscv64` platform, and adjusts a command timeout to handle slow startup on Rosetta. Fixes: - Adjust the timeout when running on rosetta - Add known wheels for riscv64
py-scikit-build-core: updated to 0.11.4 Version 0.11.4 This release improves support for GraalPy and fixes a few other minor issues. Fixes: - Typo in license-files - Fix dynamic-metadata iteration (only affected GraalPy) - Better abiflags implementation, uses ABIFLAGS on 3.14+, supports GraalPy - File API `commandFragments` is optional - Add `python -m scikit_build_core` printout and a few CLI issues - Add some platform info to logging Internal: - Explicit mypy ignores - Adjust typing to be ready for next mypy release Documentation: - Refactor the documentation to use single-line summaries
py-scikit-build-core: updated to 0.11.3 Version 0.11.3 This release fixes some fields in the expanded supported dynamic-metadata fields from 0.11.2. It also now is tested on Python 3.14, including adding color to `--help` on the experimental commands (now documented). Fixes: - fix: add scripts to `_DICT_STR_FIELDS` for dynamic metadata CI and testing: - Officially support Python 3.14, color help - Remove no-wheel based on virtualenv version - Work when `CMAKE_GENERATOR` is set - Try a workaround for packit `propose-downstream` - Update coverage a bit Documentation: - Generate config value reference - Update and fix projects list - Document CLI utilities
py-scikit-build-core: updated to 0.11.2 Version 0.11.2 This release allows dynamic-metadata to reference other fields, which enables a new plugin, "template", and enables the fancy readme plugin to include the version. There are also a few fixes; `Python_EXECUTABLE` is now a proper CMake path, and using a renamed option from the command line or environment variable no longer triggers an error when the min required version is from before that was introduced. Features: - Add template dynamic-metadata plugin and support requesting other fields - Parse the CMake file-api during configuration - Add a couple of build commands Fixes: - Make sure all paths are CMake paths - Support overriding renamed options CI and testing: - Add Windows ARM - Add more tests of package traversal - A few better ids Docs: - Fix community meeting link - Add a field metadata to the setting fields - Document how to deal with dynamic linking - Fix typo in macOS repair wheel tool name
py-scikit-build-core: updated to 0.11.0 0.11.0 Features: Update vendored pyproject-metadata (PEP 639 support) 0.11+ default to metadata 2.2 Rework CMake search path settings and add cmake.root SKBUILD_SABI_VERSION Support TOML lists in cmake.define Add new field build.requires Drop python<=3.7 support Setuptools plugin: pyproject-toml only config support Setuptools plugin: error for cmake_install_target Fixes: Lock during experimental editable.rebuild Add known wheels for armv7l Ignore build-dir automatically Longer timeout on Windows path_to_module should handle hidden files (e.g. .clang-tidy) correctly Timeout checking cmake/ninja Internal: Add a format module that is used in the expansion of pyproject.toml Bump Ruff to 0.8.0 Add citation Vendor updates CI and testing: Correct the function prototype defined in the stub file in simplest_c example Synchronize with Fedora downstream Fix RTD builds when last git tag is more than 50 commits behind Tighten up permissions a bit tmt tests improvements Update deployment a bit Use astral-sh/setup-uv instead Simpler noxfile Test on Linux ARM & Python 3.14 alphas Support for parallel testing Docs: sphinx-apidoc changed its mind Fix Google meet reference to use updated link Clarify docs for activating stable ABI Consistently use backticks to reference Python module components Fix instructions to check if Development.SABIModule was requested Add some notes and warnings about cross-compilation Add sphinx-tippy Correct the order of entry-points and CMake variables Quickstart updates Some restructuring
py-scikit-build-core: updated to 0.10.6 Version 0.10.6 This version has several fixes; the new `remove` key in 0.10 had a mistake making it unusable, this has been fixed along with the matching issue in the tests. Editable installs failed if there was a folder matching an extension name. Multiplexed paths were not supported for plugins, now they are. The downstream nox job is also now a bit better. Fixes: * Use correct settings key to remove parts of the version in regex metadata plugin * Support multiplexed path * Editable subpackage * Only strip Release and MinSizeRel builds by default * Typo in debug message Docs: * Add build info * Fix typo in `if.platform-system` example CI and testing: * Packit configuration update
py-scikit-build-core: updated to 0.9.0
Version 0.9.0
This version adds the ability to `inherit` in override tables, matching a
similar feature added to cibuildwheel 2.17's overrides. You can now write out
extra metadata to `@{SKBUILD_METADATA_DIR}`. A new Hatchling plugin is provided
as an experimental feature (will likely be made a separate package in the future
like the setuptools plugin).
The meaning of `wheel.exclude` has been changed to match on the wheel path,
rather than the source path. We could not find any projects that would be
affected by this change, so it was not added to the minimum-version protection
policy. This now allows you to ignore CMake outputs as well.
Features:
- Preserve additivity of `cmake.define` across `overrides` tables
- Add metadata dir access
- Experimental hatchling builder
- Vendor pyproject-metadata
- Always require pathspec
Fixes:
- Exclude installed files if listed in exclude
- Make `.git_archival.txt` reproducible
- Use `cmake -E` capabilities instead of `cmake --version`
- Ensure many/musl tags not selected
- purelib should set py3 tag if unset
- Validate description for 0.9+
- Support bools in config settings
API changes:
- `extra_settings` for SettingsReader
- `GetRequires` args changed
- Make `from_file` a little more powerful
- Metadata is part of the build backend
Documentation:
- `cmakelists.md` Windows `SOABI` suffix variable
- Fix hatch init command
- Fix install strip default
- Improve `ninja.make-fallback` description in the README
- Mention printouts
CI and testing:
- Lower `pybind11` test dependency
- Some cleanup from uv branch
- Fedora CI maintenance
- Small additions
- Some changes from uv job
- Fix setuptools on Python 3.12
- Fedora: Port downstream PR-49
py-scikit-build-core: updated to 0.8.2 Version 0.8.2 This version fixes a few small issues related to configuration. The wheel tag is fixed when `wheel.platlib` is False, inplace editable installs ignore `build-dir`, and `install-dir` no longer affects the generate path. Fixes: - Ensure `wheel.platlib` being false sets `<abi>-<platform>` as `"none-any"` - Inplace editable install should ignore `build-dir` - `install-dir` shouldn't affect generate path - Expand info printing Documentation: - Clarify requirement for using "inplace" editable mode - Update README to use modern GitHub admonition - be explicit about what it means to "use SKBUILD_SOABI"
devel/py-scikit-build-core: import py-scikit-build-core-0.8.1 Scikit-build-core is a build backend for Python that uses CMake to build extension modules. It has a simple yet powerful static configuration system in pyproject.toml, and supports almost unlimited flexibility via CMake. It was initially developed to support the demanding needs of scientific users, but can build any sort of package that uses CMake. Scikit-build-core is a ground-up rewrite of the classic Scikit-build.