diff --git a/python-scikit-build-core.changes b/python-scikit-build-core.changes index e455510..0944204 100644 --- a/python-scikit-build-core.changes +++ b/python-scikit-build-core.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Jun 30 18:52:43 UTC 2023 - Atri Bhattacharya + +- Update to version 0.4.7: + * remove SKBUILD_STATE unused message when building + [gh#scikit-build/scikit-build-core#401]. + * logging environment should use reprs + [gh#scikit-build/scikit-build-core#409]. +- Add %{name}.rpmlintrc file to suppress false positives about + missing required or left-over python modules. +- Disable an additional sdist test that requires access to the + network. +- Rebase scikit-build-core-offline-wheelhouse.patch so that it + applies cleanly against updated sources. + ------------------------------------------------------------------- Thu Apr 6 07:20:09 UTC 2023 - Steve Kowalik diff --git a/python-scikit-build-core.rpmlintrc b/python-scikit-build-core.rpmlintrc new file mode 100644 index 0000000..7c28013 --- /dev/null +++ b/python-scikit-build-core.rpmlintrc @@ -0,0 +1,6 @@ +# False positives due to rpmlint's inability to read python versioned requires +addFilter("W: python-missing-require exceptiongroup") +addFilter("W: python-missing-require importlib-metadata") +addFilter("W: python-missing-require importlib-resources") +addFilter("W: python-missing-require typing-extensions") +addFilter("W: python-missing-require tomli") diff --git a/python-scikit-build-core.spec b/python-scikit-build-core.spec index 8f418d2..970f311 100644 --- a/python-scikit-build-core.spec +++ b/python-scikit-build-core.spec @@ -17,12 +17,13 @@ Name: python-scikit-build-core -Version: 0.2.2 +Version: 0.4.7 Release: 0 Summary: Build backend for CMake based projects License: Apache-2.0 URL: https://github.com/scikit-build/scikit-build-core -Source: https://files.pythonhosted.org/packages/source/s/scikit_build_core/scikit_build_core-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/s/scikit_build_core/scikit_build_core-%{version}.tar.gz +Source1: %{name}.rpmlintrc # PATCH-FEATURE-OPENSUSE scikit-build-core-offline-wheelhouse.patch provide the testing wheels without runtime download code@bnavigator.de Patch1: scikit-build-core-offline-wheelhouse.patch BuildRequires: %{python_module base >= 3.7} @@ -105,10 +106,13 @@ Python CMake adaptor and Python API for plugins: The extra requirement to build %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# A writable temp dir is required for some tests +mkdir ./tmp +export PYTEST_DEBUG_TEMPROOT=./tmp # no wheel dependencies for isolated build provided donttestmark="isolated" # different hash due to different build environment: -donttest="test_pep517_sdist_hash" +donttest="test_pep517_sdist_hash or test_pep518_sdist" %pytest -m "not ($donttestmark)" -k "not ($donttest)" %files %{python_files} diff --git a/scikit-build-core-offline-wheelhouse.patch b/scikit-build-core-offline-wheelhouse.patch index 77f8742..5128027 100644 --- a/scikit-build-core-offline-wheelhouse.patch +++ b/scikit-build-core-offline-wheelhouse.patch @@ -1,7 +1,8 @@ -diff -ur scikit_build_core-0.1.5.orig/tests/conftest.py scikit_build_core-0.1.5/tests/conftest.py ---- scikit_build_core-0.1.5.orig/tests/conftest.py 2023-01-27 19:49:07.842530605 +0100 -+++ scikit_build_core-0.1.5/tests/conftest.py 2023-01-27 19:56:01.269327907 +0100 -@@ -27,49 +27,7 @@ +Index: scikit_build_core-0.4.7/tests/conftest.py +=================================================================== +--- scikit_build_core-0.4.7.orig/tests/conftest.py ++++ scikit_build_core-0.4.7/tests/conftest.py +@@ -36,50 +36,7 @@ BASE = DIR.parent @pytest.fixture(scope="session") def pep518_wheelhouse(tmp_path_factory: pytest.TempPathFactory) -> Path: @@ -21,8 +22,9 @@ diff -ur scikit_build_core-0.1.5.orig/tests/conftest.py scikit_build_core-0.1.5/ - ) - packages = [ - "build", +- "hatchling", +- "pip>=23", - "pybind11", -- "rich", - "setuptools", - "virtualenv", - "wheel", diff --git a/scikit_build_core-0.2.2.tar.gz b/scikit_build_core-0.2.2.tar.gz deleted file mode 100644 index ad4f600..0000000 --- a/scikit_build_core-0.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4dca91c0c6a00a63bd287925f661f275c720c840dfebb71eea4ba551b456e2aa -size 119458 diff --git a/scikit_build_core-0.4.7.tar.gz b/scikit_build_core-0.4.7.tar.gz new file mode 100644 index 0000000..bec802c --- /dev/null +++ b/scikit_build_core-0.4.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa53b045c0869005a21af6aa5f6c2bd70d0a1af93e8a098ea6ee1b47e3dea183 +size 161024