Scikit-build

Latest version: v0.18.0

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 13

0.14.1

===================

This release fixes a regression, and reverts a fix in 0.14.0. Some changes made
to CI to fix recent removals.

Bug fixes
---------

* Fix issue with ``SKBUILD_CONFIGURE_OPTIONS`` not being read.
* Reverted manifest install changes.

0.14.0

===================

This is the final release for Python < 3.6 and MSVC<2017.

New Features
------------
* Add support for ``--install-target`` scikit-build command line option.
And ``cmake_install_target`` in ``setup.py``. Allows
providing an install target different than the default ``install``.
Thanks :user:`phcerdan` for the contribution. See :pr:`477`.

Bug fixes
---------

* The manifest install location computation was fixed. Thanks :user:`kratsg`
for the contribution in :pr:`682`. (Reverted in 0.14.1)
* Byte-compilation was skipped due to a missing return. Thanks :user:`pekkarr`
in :pr:`678`.
* Packages can now be computed from the same shared collections, before this
could confuse Scikit-build. Thanks :user:`vyasr` in :pr:`675`.
* Fixed library detection for PyPy 3.9. Thanks :user:`rkaminsk` in :pr:`673`.

Internal
--------

* Scikit-build now uses ``pyproject.toml`` and ``setuptools_scm`` to build. If
you are packaging scikit-build itself, you might need to update your
requirements. See :pr:`634`.
* The codebase is now formatted with Black. :pr:`665`

0.13.1

===================

This release fixes two bugs affecting Windows. Users should use ``"ninja;
platform_system!='Windows"``, at least for now, since MSVC ships with Ninja,
and that Ninja is better at finding the matching MSVC than the Python package
is. Including it may slow down the search and force the IDE generator instead,
but will at least no longer discover GCC instead.

Bug fixes
---------

* On Windows, don't let Ninja find something other than what it's supposed to
look for. Ensure the Ninja package is used for the search, just like normal
runs, if installed. :pr:`652`.
* Do not throw an error when printing info and a logger is disconnected. :pr:`652`

0.13.0

===================

This is likely one of the final releases to support Python 2.7 and 3.5; future
releases will likely target at least Python 3.6+ and MSCV 2017+.

If you are using scikit-build via ``pyproject.toml``, please remember to
include ``setuptools`` and ``wheel``. A future version of scikit-build may
remove the setuptools install-time hard requirement.

New Features
------------

* CMake module :doc:`/cmake-modules/Cython` now uses Cython default arguments.
This no longer adds ``--no-docstrings`` in Release and MinSizeRel builds, so
Cython docstrings are now retained by default. Additionally,
``--embed-positions`` is no longer added to Debug and RelWithDebInfo builds.
Users can enable these and other Cython arguments via the option
``CYTHON_FLAGS``. See :issue:`518` and :pr:`519`, thanks to :user:`bdice` for
the improvement.

* Experimental support for ARM64 on Windows. Thanks to :user:`gaborkertesz-linaro` in :pr:`612`.

* Support for MSVC 2022. Thanks to :user:`tttapa` for the contribution in :pr:`627`.

* Support the modern form of ``target_link_libraries``, via
``SKBUILD_LINK_LIBRARIES_KEYWORD`` (somewhat experimental). Thanks to
:user:`maxbachmann` in :pr:`611`.


Bug fixes
---------

* Update the Ninja path if using the ``ninja`` package. This fixes repeated
isolated builds. Further path inspection and updates for isolated
builds may be considered in the future. :pr:`631`, thanks to
:user:`RUrlus` and :user:`segevfiner` for help in tracking this down.

* Allow OpenBSD to pass the platform check (untested). See :pr:`586`.

* Avoid forcing the min macOS version. Behaviour is now inline with setuptools.
Users should set ``MACOSX_DEPLOYMENT_TARGET`` when building (automatic with
cibuildwheel), otherwise you will get the same value Python was compiled
with. Note: This may seem like a regression for PyPy until the next release
(7.3.8), since it was compiled with 10.7, which is too old to build with on
modern macOS - manually set ``MACOSX_DEPLOYMENT_TARGET`` (including setting
it if unset in your ``setup.py``) for PyPy until 7.3.8. :pr:`607`

* Fix logging issue when using Setuptools 60.2+. :pr:`623`

* MacOS cross compiling support fix (for conda-forge) for built-in modules.
Thanks to :user:`isuruf` for the contribution in :pr:`622`.

* Better detection of the library path, fixes some issues with PyPy. Thanks
to :user:`rkaminsk` for the contribution in :pr:`620` and :pr:`630`. PyPy
is now part of our testing matrix as of :pr:`624`. Also :user:`robtaylor`
in :pr:`632`.

* Fixed issue when cross-compiling on conda-forge (probably upstream bug, but
easy to avoid). :pr:`646`.

0.12.0

===================

The scikit-build GitHub organization welcomes :user:`henryiii` and :user:`mayeut` as core contributors
and maintainers. Both are also maintainers of `cibuildwheel <https://cibuildwheel.readthedocs.io>`_.

:user:`henryiii` is a `pybind11 <https://pybind11.readthedocs.io>`_ and `pypa/build <https://pypa-build.readthedocs.io>`_ maintainer, has been instrumental in adding Apple Silicon support, adding support for Visual Studio 2019, updating
the Continuous Integration infrastructure, as well as helping review & integrate contributions, and addressing
miscellaneous issues. Additionally, :user:`henryiii` has worked on an `example project <https://github.com/pybind/scikit_build_example>`_ to build with ``pybind11`` and ``scikit-build``.

:user:`mayeut` is a `manylinux <https://github.com/pypa/manylinux>`_ maintainer and
focused his effort on updating the ``cmake-python-distributions`` and ``ninja-python-distributions`` so
that the corresponding wheels are available on all supported platforms including Apple Silicon and all flavors
of manylinux.

New Features
------------

* Support Apple Silicon, including producing Universal2 wheels (:pr:`530`) and
respecting standard setuptools cross-compile variables (:pr:`555`). Thanks to
:user:`YannickJadoul` for the contributions.

* Support MSVC 2019 without having to run it with the MSVC activation
variables, just like 2017 and earlier versions. Thanks to :user:`YannickJadoul` for the contribution in :pr:`526`.

Bug fixes
---------

* Support ``-A`` and ``-T`` internally when setting up MSVC generators.
Architecture now always passed through ``-A`` to MSVC generators. Thanks
:user:`YannickJadoul` for the contribution. See
:pr:`557` and :pr:`536`.

* Fixed a regression that caused setuptools to complain about unknown setup option
(`cmake_process_manifest_hook`). Thanks :user:`Jmennius` for the contribution. See :pr:`498`.

* If it applies, ensure generator toolset is used to configure the project.
Thanks :user:`YannickJadoul` for the contributions. See :pr:`526`.

* Read ``CYTHON_FLAGS`` where needed, instead of once, allowing the user to
define multiple modules with different flags. Thanks :user:`oiffrig` for the
contributions in :pr:`536`.

* Avoid an IndexError if prefix was empty. Thanks :user:`dfaure` for the contributions
in :pr:`522`.

Documentation
-------------

* Update ``Conda: Step-by-step`` release guide available in :doc:`/make_a_release` section.

* Update links to CMake documentation pages in :doc:`/generators`. Thanks :user:`Eothred` for the contributions in :pr:`508`.

Tests
-----

* Improve and simplify Continuous Integration infrastructure.

* Support ``nox`` for running the tests locally. See :pr:`540`.

* Use GitHub Actions for Continuous Integration and remove use of scikit-ci, tox, TravisCI, AppVeyor and CircleCI. See :pr:`549`, :pr:`551` and :pr:`552`.

* Add support for testing against Python 3.10. See :pr:`565`.

* Style checking handled by pre-commit. See :pr:`541`.

* Check for misspellings adding GitHub Actions workflow using codespell. See :pr:`541`.

* Fix linting error `F522 <https://flake8.pycqa.org/en/latest/user/error-codes.html>`_ reported with flake8 >= 3.8.x. Thanks :user:`benbovy` for the contributions. See :issue:`494`.

* Fix regex in tests to support Python 3.10. Thanks :user:`mgorny` for the contributions in :pr:`544`.

0.11.1

===================

Bug fixes
---------

* Support using scikit-build with conan where ``distro<1.2.0`` is required.
Thanks :user:`AntoinePrv` and :user:`Chrismarsh` for reporting issues :issue:`472`
and :issue:`488`.

Documentation
-------------

* Fix link in ``Conda: Step-by-step`` release guide available in :doc:`/make_a_release` section.

Page 4 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.