1
0

Accepting request 1096282 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/1096282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-scikit-build-core?expand=0&rev=3
This commit is contained in:
2023-07-01 21:18:28 +00:00
committed by Git OBS Bridge
6 changed files with 38 additions and 11 deletions

View File

@@ -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>

View 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")

View File

@@ -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}

View File

@@ -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",

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4dca91c0c6a00a63bd287925f661f275c720c840dfebb71eea4ba551b456e2aa
size 119458

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa53b045c0869005a21af6aa5f6c2bd70d0a1af93e8a098ea6ee1b47e3dea183
size 161024