Accepting request 951777 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 0.13.0 * 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. * CMake module /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 #518 and #519, thanks to @bdice for the improvement. * Experimental support for ARM64 on Windows. Thanks to @gaborkertesz-linaro in #612. * Support for MSVC 2022. Thanks to @tttapa for the contribution in #627. * Support the modern form of target_link_libraries, via SKBUILD_LINK_LIBRARIES_KEYWORD (somewhat experimental). Thanks to @maxbachmann in #611. * 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. #631, thanks to @RUrlus and @segevfiner for help in tracking this down. * Allow OpenBSD to pass the platform check (untested). See #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), OBS-URL: https://build.opensuse.org/request/show/951777 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=13
This commit is contained in:
parent
1493d56957
commit
3f17518b9a
@ -1,3 +1,51 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 5 17:40:26 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.13.0
|
||||
* 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.
|
||||
* CMake module /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 #518
|
||||
and #519, thanks to @bdice for the improvement.
|
||||
* Experimental support for ARM64 on Windows. Thanks to
|
||||
@gaborkertesz-linaro in #612.
|
||||
* Support for MSVC 2022. Thanks to @tttapa for the contribution
|
||||
in #627.
|
||||
* Support the modern form of target_link_libraries, via
|
||||
SKBUILD_LINK_LIBRARIES_KEYWORD (somewhat experimental). Thanks
|
||||
to @maxbachmann in #611.
|
||||
* 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. #631,
|
||||
thanks to @RUrlus and @segevfiner for help in tracking this
|
||||
down.
|
||||
* Allow OpenBSD to pass the platform check (untested). See #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. #607
|
||||
* Fix logging issue when using Setuptools 60.2+. #623
|
||||
* MacOS cross compiling support fix (for conda-forge) for
|
||||
built-in modules. Thanks to @isuruf for the contribution in
|
||||
#622.
|
||||
* Better detection of the library path, fixes some issues with
|
||||
PyPy. Thanks to @rkaminsk for the contribution in #620 and
|
||||
#630. PyPy is now part of our testing matrix as of #624. Also
|
||||
@robtaylor in #632.
|
||||
* Fixed issue when cross-compiling on conda-forge (probably
|
||||
upstream bug, but easy to avoid). #646.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 10 10:24:26 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-scikit-build
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-scikit-build
|
||||
Version: 0.12.0
|
||||
Version: 0.13.0
|
||||
Release: 0
|
||||
Summary: Improved build system generator for Python C/C++/Fortran/Cython extensions
|
||||
License: MIT
|
||||
@ -37,6 +37,7 @@ Requires: python-setuptools >= 28.0.0
|
||||
Requires: python-wheel >= 0.29.0
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Cython >= 0.25.1}
|
||||
BuildRequires: %{python_module build}
|
||||
BuildRequires: %{python_module distro}
|
||||
BuildRequires: %{python_module flake8 >= 3.0.4}
|
||||
BuildRequires: %{python_module path.py >= 11.5.0}
|
||||
@ -81,10 +82,9 @@ sed -i '/addopts/ d' setup.cfg
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%{python_expand export PYTHONDONTWRITEBYTECODE=1
|
||||
export PYTHONPATH=/tmp/fakepythonroot%{$python_sitelib}:%{buildroot}%{$python_sitelib}
|
||||
pytest-%{$python_bin_suffix} -v
|
||||
}
|
||||
export PYTHONPATH=/tmp/fakepythonroot%{$python_sitelib}
|
||||
# test_pep518 needs a wheelhouse with downloaded wheels including platform dependent cmake
|
||||
%pytest -k "not test_pep518"
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS.rst README.rst CONTRIBUTING.rst HISTORY.rst docs/
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f851382c469bcd9a8c98b1878bcfdd13b68556279d2fd9a329be41956ae5a7fe
|
||||
size 138053
|
3
scikit-build-0.13.0.tar.gz
Normal file
3
scikit-build-0.13.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a6ca1b7f1cc8a718564c19f535014f3a71f34508f72e750d4221f987eed0f06d
|
||||
size 153612
|
Loading…
Reference in New Issue
Block a user