Skip to content

Releases: tttapa/py-build-cmake

0.4.2

17 Feb 19:28
Compare
Choose a tag to compare

Full Changelog: 0.4.1...0.4.2

0.4.1

09 Feb 18:27
Compare
Choose a tag to compare
  • Produce a warning when MACOSX_DEPLOYMENT_TARGET is set in the py-build-cmake config (#43)
  • Support appending and prepending to environment variables

Full Changelog: 0.4.0...0.4.1

0.4.0

03 Feb 15:39
Compare
Choose a tag to compare
  • MACOSX_DEPLOYMENT_TARGET support:
    Its value is now used to determine the Wheel platform tag on macOS, and the target version is passed on to CMake.
  • Improved documentation.

Full Changelog: 0.3.4...0.4.0

0.4.0a0

03 Feb 01:16
Compare
Choose a tag to compare
0.4.0a0 Pre-release
Pre-release
  • Improved MACOSX_DEPLOYMENT_TARGET support.
  • Merged all host platform information into a single dataclass that is used throughout the build, rather than directly querying global information that could depend on environment variables etc.

Full Changelog: 0.3.4...0.4.0a0

0.3.4

26 Dec 17:13
Compare
Choose a tag to compare
  • Added more PY_BUILD_CMAKE_* variables.
  • Renamed PY_BUILD_CMAKE_MODULE_NAMEPY_BUILD_CMAKE_IMPORT_NAME, PY_BUILD_CMAKE_PACKAGE_NAMEPY_BUILD_CMAKE_PROJECT_NAME, PY_BUILD_CMAKE_PACKAGE_VERSIONPY_BUILD_CMAKE_PROJECT_VERSION
    (the old variables are still available for backwards compatibility).
  • More robust CMake FindPython hints.
  • New Variables reference: https://tttapa.github.io/py-build-cmake/Variables.html
  • Simplified minimal example CMakeLists.txt.
  • Improved documentation.

Full Changelog: 0.3.3...0.3.4

0.3.3

07 Dec 15:15
Compare
Choose a tag to compare
  • Support find_package(Python COMPONENTS Development.Module) without Interpreter component (#38)

Full Changelog: 0.3.2...0.3.3

0.3.2

04 Dec 13:37
Compare
Choose a tag to compare
  • Support non-Visual Studio generators when cross-compiling for Windows on ARM
  • Add cross.generator_platform option
  • Fix CLI paths on Windows

Full Changelog: 0.3.1...0.3.2

0.3.1

02 Dec 13:20
Compare
Choose a tag to compare
  • Added SWIG example
  • Improved stable ABI Wheel tags logic
  • New --override CLI option
  • Updated cross-compilation documentation
  • More cibuildwheels tests

Full Changelog: 0.3.0...0.3.1

0.3.0 Release notes

0.3.0

25 Nov 23:39
59c10bc
Compare
Choose a tag to compare
  • Improved configuration file format
  • Command-line overrides
  • Support for multiple CMake build trees in one package
  • PEP 420 namespace package support
  • Reproducible builds
  • CMake preset support (e.g. Conan)
  • Allow overriding Wheel tags
  • Support guessing Wheel tags based on the current platform
  • Support for ABI3 Wheels
  • Multiple editable installation modes
  • Editable build hook mode that automatically re-builds extension modules
  • Cross-compilation workflow documentation
  • Automatic CIBW cross-compilation support for macOS and Windows on ARM
  • Extensive testing (unit tests, package content checks, cibuildwheel tests)
  • Pre-commit Ruff and Mypy checks
  • Better error reporting
  • Pass a virtual environment's Ninja path to CMake explicitly
  • Dropped flit_core dependency
  • Removed convoluted cross.copy_from_native_build option
  • Improved CMake FindPython hints

Simple [tool.py-build-cmake] configurations in pyproject.toml should be mostly backward compatible, but some options have moved. See https://tttapa.github.io/py-build-cmake/Config.html for details about the new config format.

Full Changelog: 0.1.8...0.3.0

0.3.0a3

25 Nov 01:01
Compare
Choose a tag to compare
0.3.0a3 Pre-release
Pre-release
  • Add cmake.install_config option
  • Improve FindPython hints

Full Changelog: 0.3.0a2...0.3.0a3