Accepting request 1083333 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1083333 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-scikit-build?expand=0&rev=16
This commit is contained in:
commit
fe4fe89a84
@ -1,3 +1,61 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 25 17:07:11 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.17.2
|
||||
## Bug fixes
|
||||
* Validate value before returning library path by @dlech in #942.
|
||||
* Only add Python_LIBRARY on Windows MSVC in #943 and #944.
|
||||
* Slightly nicer traceback for failed compiler in 947.
|
||||
## Testing
|
||||
* Hide a few warnings that are expected in #494.
|
||||
- Release 0.17.1
|
||||
* This is a small release fixing a few bugs; the primary one
|
||||
being a change that was triggering a bug in older FindPython.
|
||||
The unused variable messages have been deactivated to simplify
|
||||
output, as well.
|
||||
* Older (<3.24) CMake breaks when lib specified in #932
|
||||
* An error output was missing formatting in #931
|
||||
* Make empty CMAKE_OSX_DEPLOYMENT_TARGET a warning (bug in
|
||||
conda-forge's clang activation fixed upstream) in #934
|
||||
* Remove unused variable warnings by in #930
|
||||
- Release 0.17.0
|
||||
* A lot of bug fixes are present in this release, focusing on
|
||||
Windows, PyPy, and cross compiling. We've also improved the
|
||||
compatibility with default setuptools behaviors a little, and
|
||||
enabled some things that were previously unavailable, like
|
||||
overriding the build type via the cmake argument environment
|
||||
variables. We've expanded our CI matrix to include Windows and
|
||||
macOS PyPy and some Fortran tests on Linux. This release
|
||||
requires Python 3.7+.
|
||||
## Bug fixes
|
||||
* Match setuptools behavior for include_package_data default by
|
||||
@vyasr in #873.
|
||||
* Misc. fixes for F2PY and PythonExtensions modules by @benbovy
|
||||
in #495.
|
||||
* Provide more useful error if user provides CMAKE_INSTALL_PREFIX
|
||||
by @vyasr in #872.
|
||||
* Stop assuming that .pyx files are in the same directory as
|
||||
CMakeLists.txt by @vyasr in #871.
|
||||
* Allow build type overriding in #902.
|
||||
* Include library for FindPython for better Windows
|
||||
cross-compiles in #913. Thanks to @maxbachmann for testing.
|
||||
* Fix logic for default generator when cross-compiling for ARM on
|
||||
Windows by @dlech in #917.
|
||||
* Use f2py's get_include if present in #877.
|
||||
* Fix support for cross-compilation exception using
|
||||
targetLinkLibrariesWithDynamicLookup by @erykoff in #901.
|
||||
* Treat empty MACOSX_DEPLOYMENT_TARGET as if it was unset in
|
||||
#918.
|
||||
## Testing
|
||||
* Add hello fortran sample package + tests by @benbovy in #493.
|
||||
* Add sdist check & fix in #906.
|
||||
* Fix some setuptools types in #888.
|
||||
## Miscellaneous
|
||||
* Drop Python 3.6 in #862.
|
||||
* Move building backend to hatchling in #870.
|
||||
* Avoid mutating function input parameters in #899.
|
||||
* Use _compat/typing name in #869.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 3 18:09:24 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -26,24 +26,19 @@
|
||||
%endif
|
||||
|
||||
Name: python-scikit-build%{psuffix}
|
||||
Version: 0.16.7
|
||||
Version: 0.17.2
|
||||
Release: 0
|
||||
Summary: Improved build system generator for Python C/C++/Fortran/Cython extensions
|
||||
License: MIT
|
||||
URL: https://github.com/scikit-build/scikit-build
|
||||
Source: https://files.pythonhosted.org/packages/source/s/scikit-build/scikit-build-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/s/scikit-build/scikit_build-%{version}.tar.gz
|
||||
Source99: sample-setup.cfg
|
||||
BuildRequires: %{python_module devel >= 3.6}
|
||||
BuildRequires: %{python_module devel >= 3.7}
|
||||
BuildRequires: %{python_module hatch-fancy-pypi-readme}
|
||||
BuildRequires: %{python_module hatch-vcs}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 42.0.0}
|
||||
BuildRequires: %{python_module wheel}
|
||||
%if !%{with test}
|
||||
# https://github.com/scikit-build/scikit-build/issues/689
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
%if 0%{?suse_version} < 1550
|
||||
BuildRequires: %{python_module toml}
|
||||
%endif
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: cmake
|
||||
@ -51,13 +46,17 @@ Requires: python-distro
|
||||
Requires: python-packaging
|
||||
Requires: python-setuptools >= 42.0.0
|
||||
Requires: python-wheel >= 0.32.0
|
||||
%if %python_version_nodots < 38
|
||||
%if %{python_version_nodots} < 38
|
||||
Requires: python-typing-extensions >= 3.7
|
||||
%endif
|
||||
%if %{python_version_nodots} < 311
|
||||
Requires: python-tomli
|
||||
%endif
|
||||
%if %{with test}
|
||||
# Note: When tests fail try `osc build ---clean` in order to get rid of remnant numpy typing stubs in $HOME
|
||||
BuildRequires: %{python_module Cython >= 0.25.1}
|
||||
BuildRequires: %{python_module build >= 0.7}
|
||||
BuildRequires: %{python_module importlib-metadata if %python-base < 3.8}
|
||||
BuildRequires: %{python_module pytest >= 6.0.0}
|
||||
BuildRequires: %{python_module pytest-mock >= 1.10.4}
|
||||
BuildRequires: %{python_module pytest-virtualenv >= 1.2.5}
|
||||
@ -76,7 +75,7 @@ BuildArch: noarch
|
||||
Improved build system generator for Python C/C++/Fortran/Cython extensions
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n scikit-build-%{version}
|
||||
%autosetup -p1 -n scikit_build-%{version}
|
||||
%if %{with test}
|
||||
# some tests call setup.py develop|install|test, which by default write to /usr
|
||||
# This is not allowed in OBS
|
||||
@ -88,9 +87,6 @@ cp %{S:99} tests/samples/issue-274-support-default-package-dir/setup.cfg
|
||||
cp %{S:99} tests/samples/issue-274-support-one-package-without-package-dir/setup.cfg
|
||||
cp %{S:99} tests/samples/issue-334-configure-cmakelist-non-cp1252-encoding/setup.cfg
|
||||
%endif
|
||||
# remove toml entries not relevant for us and failing old py3.6 pip in 15.X
|
||||
sed -i '/tool.pylint/,/^$/ d' pyproject.toml
|
||||
sed -i '/tool.ruff/,/^$/ d' pyproject.toml
|
||||
|
||||
%if !%{with test}
|
||||
%build
|
||||
@ -105,12 +101,14 @@ sed -i '/tool.ruff/,/^$/ d' pyproject.toml
|
||||
%check
|
||||
# these tests need a wheelhouse with downloaded wheels including platform dependent cmake
|
||||
donttestmarker="isolated"
|
||||
# setuptools_scm is a dependency of hatch_vcs
|
||||
donttestmarker+=" or nosetuptoolsscm"
|
||||
%pytest -m "not ($donttestmarker)"
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%doc AUTHORS.rst README.rst CONTRIBUTING.rst HISTORY.rst docs/
|
||||
%doc AUTHORS.rst README.rst CONTRIBUTING.rst docs/
|
||||
%license LICENSE
|
||||
%{python_sitelib}/skbuild
|
||||
%{python_sitelib}/scikit_build-%{version}.dist-info
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a9b9cc7479b71e6c8d434596dfade025253aae23adb22a9a2d85850fd51cecfd
|
||||
size 274287
|
3
scikit_build-0.17.2.tar.gz
Normal file
3
scikit_build-0.17.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:348cfd2137c68cbf9fa589ed74fd07b0340a65a1888e2481cfc63356485188a6
|
||||
size 268269
|
Loading…
x
Reference in New Issue
Block a user