Releases: scikit-build/scikit-build-core
Version 0.4.6
This release has one small new feature (access to ${SKBUILD_STATE}
from CMake), and fixes an issue when adding read-only files on Windows with Python 3.7. Some testing and docs infrastructure updates should make it easier for downstream packagers to ship scikit-build-core.
What's Changed
Fixes:
- Provide access to current state in CMake by @henryiii in #394
- Support building older versions of
setuptools_scm
by @henryiii in #390 - Workaround for Windows Python 3.7
TemporaryDirectory
bug by @henryiii in #391
Tests:
CI:
- Add example tests to Fedora packaging by @LecrisUT in #378
- Fedora: Correct rsync rule by @LecrisUT in #389
- Use
not network
for spec by @henryiii in #383
Docs:
- Add migration guide by @vyasr in #356
- Support building the documentation as a man page by @henryiii in #372
- Add nanobind example by @henryiii in #375
- Use
UseSWIG
for swig by @henryiii in #377 - Fix or hide nitpicks by @henryiii in #370
New Contributors
Full Changelog: v0.4.5...v0.4.6
Version 0.4.5
This version fixes issues with output being incorrectly interleaved with logging messages. Symlinks are now followed when making SDists. And finally, SKBUILD_SOABI
is now correctly set when cross-compiling on Windows (Warning! FindPython still does not report the correct SOABI when cross-compiling to ARM).
What's Changed
Fixes:
- Proper printout ordering and more displayed details by @henryiii in #365
- Sort
RUNENV
debugging log output by @jameslamb in #357 - Follow symlinks when making SDists by @henryiii in #362
- Report correct ABI when cross-compiling by @henryiii in #366
Tests:
- Fedora downstream CI by @LecrisUT in #358
- Add downstream examples by @henryiii in #363
- Add testing for scripts processing by @henryiii in #364
New Contributors
- @jameslamb made their first contribution in #357
Full Changelog: v0.4.4...v0.4.5
Version 0.4.4
This version fixes some issues cross-compiling to Windows ARM when making Limited API / Stable ABI extensions, and supports multiple config generators in editable mode.
- Conditional ABI3 logic fixed by @henryiii in #352
- Set
Python_SABI_LIBRARY
by @henryiii in #352 - Editable installs now support multiconfig generators by @henryiii in #353
Full Changelog: v0.4.3...v0.4.4
Version 0.4.3
This adds support for CPython 3.12.0b1, and improves Stable ABI / Limited API support (supported by an upcoming nanobind for Python 3.12). An editable install fix allows running from any directory.
Fixes:
- Allow CMake to detect if limited API is targeted by @henryiii in #333 and #342
- Make abi3 support conditional on Python version by @henryiii in #344
- Windows path correction for 3.12.0b1 by @henryiii in #346
- Editable path needs to be absolute by @henryiii in #345
Other:
- Add 3.12.0b1 by @henryiii in #341
- Refactor settings by @henryiii in #338
- Document that
CMAKE_ARGS
supports space separators by @henryiii in #339
Full Changelog: v0.4.2...v0.4.3
Version 0.4.2
This is a quick followup to LICENSE file handing to closer match the current draft of PEP 639. It also removes the automatic optional Rich logging, which doesn't work well with Pip's subprocess piping, being cropped to a very narrow width regardless of terminal size.
Fixes:
- Add
License-file
metadata entry & update default by @henryiii in #329 - Drop optional Rich logging/error by @henryiii in #330
Other:
Full Changelog: v0.4.1...v0.4.2
Version 0.4.1
A fix for LICENCE files being placed in the wrong place in the wheel. Now we follow hatchling's structure of placing them in *.dist-info/licenses
.
Fixes:
Other:
Full Changelog: v0.4.0...v0.4.1
Version 0.4.0
An important fix/feature: LICENSE files were not being included in the wheel's metadata folder. You can configure the license file selection via a new configuration option, and a reasonable default was added. You can now select a source directory for your CMakeLists.txt. A lot of work was done on the still experimental setuptools backend; it still should be seen as completely experimental while it is being finished.
Features:
cmake.source-dir
for CMakeLists in subdirectories by @henryiii in #323- Add
LICENSE
file option by @henryiii in #321
Fixes:
- Ninja wasn't being used if present by @henryiii in #310
- Wheels were not including the
LICENSE
file by @henryiii in #321
Setuptools plugin:
- Refactor plugin as custom setuptools command by @henryiii in #312
- Adding
cmake_args
by @henryiii in #314 - Add wrapper for
skbuild.setup
compat by @henryiii in #315
Other:
Full Changelog: v0.3.3...v0.4.0
Version 0.3.3
This version improves WebAssembly support (Pyodide) and fixes a reported bug in the new editable mode.
What's Changed
Fixes:
- Support prefix dir if toolchain has
CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY
by @henryiii in #303 - Find wheel files before local files in editable installs by @henryiii in #305
Other:
Full Changelog: v0.3.2...v0.3.3
Version 0.3.2
Some small fixes for edge cases. Several docs improvements, too.
What's Changed
Fixes:
- Suppress Unicode errors in scripts dir and move on by @henryiii in #294
- Specify platform properly for non-MSVC Windows by @henryiii in #295
Docs:
- Doc updates by @zerothi in #287
- Add a bit to plugin instructions by @henryiii in #289
- Typos fixed by @afh in #291 and #292
New Contributors
Full Changelog: v0.3.1...v0.3.2
Version 0.3.1
This is a small release fixing a regression in some cases caused by adding Python_LIBRARY
. This has been reverted on non-Windows platforms, since it is only needed on Windows.
What's Changed
Fixes:
- Support older setuptools-scm by @henryiii in #284
- Only set the lib for FindPython on Windows by @henryiii in #285
Docs:
- Fix incorrect tool name by @henryiii in #276
- Typo on tab Fortran (was Cython) by @zerothi in #279
- Fix wheel.packages by @henryiii in #282
Other:
New Contributors
Full Changelog: v0.3.0...v0.3.1