forked from pool/python-scikit-build-core
Accepting request 1096199 from home:badshah400
* Update to version 0.4.7.
* 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.
OBS-URL: https://build.opensuse.org/request/show/1096199
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build-core?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 30 18:52:43 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- 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 <steven.kowalik@suse.com>
|
Thu Apr 6 07:20:09 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
|||||||
6
python-scikit-build-core.rpmlintrc
Normal file
6
python-scikit-build-core.rpmlintrc
Normal file
@@ -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")
|
||||||
@@ -17,12 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-scikit-build-core
|
Name: python-scikit-build-core
|
||||||
Version: 0.2.2
|
Version: 0.4.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Build backend for CMake based projects
|
Summary: Build backend for CMake based projects
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/scikit-build/scikit-build-core
|
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
|
# 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
|
Patch1: scikit-build-core-offline-wheelhouse.patch
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
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}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
# A writable temp dir is required for some tests
|
||||||
|
mkdir ./tmp
|
||||||
|
export PYTEST_DEBUG_TEMPROOT=./tmp
|
||||||
# no wheel dependencies for isolated build provided
|
# no wheel dependencies for isolated build provided
|
||||||
donttestmark="isolated"
|
donttestmark="isolated"
|
||||||
# different hash due to different build environment:
|
# 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)"
|
%pytest -m "not ($donttestmark)" -k "not ($donttest)"
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
|||||||
@@ -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
|
Index: scikit_build_core-0.4.7/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
|
--- scikit_build_core-0.4.7.orig/tests/conftest.py
|
||||||
@@ -27,49 +27,7 @@
|
+++ scikit_build_core-0.4.7/tests/conftest.py
|
||||||
|
@@ -36,50 +36,7 @@ BASE = DIR.parent
|
||||||
|
|
||||||
@pytest.fixture(scope="session")
|
@pytest.fixture(scope="session")
|
||||||
def pep518_wheelhouse(tmp_path_factory: pytest.TempPathFactory) -> Path:
|
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 = [
|
- packages = [
|
||||||
- "build",
|
- "build",
|
||||||
|
- "hatchling",
|
||||||
|
- "pip>=23",
|
||||||
- "pybind11",
|
- "pybind11",
|
||||||
- "rich",
|
|
||||||
- "setuptools",
|
- "setuptools",
|
||||||
- "virtualenv",
|
- "virtualenv",
|
||||||
- "wheel",
|
- "wheel",
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4dca91c0c6a00a63bd287925f661f275c720c840dfebb71eea4ba551b456e2aa
|
|
||||||
size 119458
|
|
||||||
3
scikit_build_core-0.4.7.tar.gz
Normal file
3
scikit_build_core-0.4.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fa53b045c0869005a21af6aa5f6c2bd70d0a1af93e8a098ea6ee1b47e3dea183
|
||||||
|
size 161024
|
||||||
Reference in New Issue
Block a user