- Update to 0.2.2:

* zipinfo should report regular files
  * Support running in environments with SOURCE_DATE_EPOCH set
  * Report self version too
  * refactor: use from_pyproject
  * Add {wheel_tag} for build-dir
  * Support for conda's CMAKE_SYSTEM_PROCESSOR
  * Print out paths
  * docs: update readme for 3.26 backport
  * tests: support running tests with system cmake3 visible
  * tests: nicer exit, minor refactors
  * refactor: minor changes & nicer environment logging printout
  * Local build directory setting & build reuse
  * Add prepare_metadata_for_build_wheel
  * Native wheel writer implementation
  * Use 3.26 dev version port of FindPython
  * tests: allow pytest 7.0+ instead of 7.2+
  * tests: include cmake and ninja if missing in nox
  * tests: simpler pytest-subprocess
  * chore: Python 3.11 Self usage
  * chore: fix Ruff configuration
  * chore: minor adjustments to wheel returns
  * chore: remove duplicate Ruff code
  * fix: handle local cmake dir for search
  * fix: avoid resolving cmake/ninja paths
  * tests: add isolated marker to test_pep518_sdist

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build-core?expand=0&rev=3
This commit is contained in:
2023-04-06 07:27:02 +00:00
committed by Git OBS Bridge
parent 3d8f0c2a2a
commit c4dff1f0a8
4 changed files with 40 additions and 12 deletions

View File

@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Thu Apr 6 07:20:09 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.2.2:
* zipinfo should report regular files
* Support running in environments with SOURCE_DATE_EPOCH set
* Report self version too
* refactor: use from_pyproject
* Add {wheel_tag} for build-dir
* Support for conda's CMAKE_SYSTEM_PROCESSOR
* Print out paths
* docs: update readme for 3.26 backport
* tests: support running tests with system cmake3 visible
* tests: nicer exit, minor refactors
* refactor: minor changes & nicer environment logging printout
* Local build directory setting & build reuse
* Add prepare_metadata_for_build_wheel
* Native wheel writer implementation
* Use 3.26 dev version port of FindPython
* tests: allow pytest 7.0+ instead of 7.2+
* tests: include cmake and ninja if missing in nox
* tests: simpler pytest-subprocess
* chore: Python 3.11 Self usage
* chore: fix Ruff configuration
* chore: minor adjustments to wheel returns
* chore: remove duplicate Ruff code
* fix: handle local cmake dir for search
* fix: avoid resolving cmake/ninja paths
* tests: add isolated marker to test_pep518_sdist
-------------------------------------------------------------------
Fri Jan 27 17:59:12 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@@ -17,12 +17,12 @@
Name: python-scikit-build-core
Version: 0.1.5
Version: 0.2.2
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-0.1.5.tar.gz
Source: https://files.pythonhosted.org/packages/source/s/scikit_build_core/scikit_build_core-%{version}.tar.gz
# 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}
@@ -32,12 +32,12 @@ BuildRequires: %{python_module packaging >= 20.9}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: cmake >= 3.15
Requires: python-packaging >= 20.9
Requires: (python-exceptiongroup if python-base < 3.11)
Requires: (python-importlib-resources >= 1.3 if python-base < 3.9)
Requires: (python-tomli >= 1.1 if python-base < 3.11)
Requires: (python-typing-extensions >= 3.10.0 if python-base < 3.8)
Requires: cmake >= 3.15
Requires: python-packaging >= 20.9
Recommends: ninja
Recommends: python-rich
Provides: python-scikit_build_core = %{version}-%{release}
@@ -59,7 +59,7 @@ BuildRequires: %{python_module pathspec >= 0.10.1}
BuildRequires: %{python_module pybind11-devel}
BuildRequires: %{python_module pyproject-metadata >= 0.5}
BuildRequires: %{python_module pytest >= 7.2}
BuildRequires: %{python_module pytest-subprocess}
BuildRequires: %{python_module pytest-subprocess >= 1.5.0}
BuildRequires: %{python_module rich}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -85,10 +85,10 @@ Features over classic Scikit-build:
%package pyproject
Summary: The scikit_build_core[pyproject] extra
Requires: python-scikit-build-core = %{version}
Requires: python-distlib >= 0.3.5
Requires: python-pathspec >= 0.10.1
Requires: python-pyproject-metadata >= 0.5
Requires: python-scikit-build-core = %{version}
Provides: python-scikit_build_core-pyproject = %{version}-%{release}
%description pyproject
@@ -107,10 +107,8 @@ Python CMake adaptor and Python API for plugins: The extra requirement to build
%check
# no wheel dependencies for isolated build provided
donttestmark="isolated"
# missing isolated marker: no rich wheel -- gh#scikit-build/scikit-build-core#182
donttest="test_pep518_sdist"
# different hash due to different build environment:
donttest="$donttest or test_pep517_sdist_hash"
donttest="test_pep517_sdist_hash"
%pytest -m "not ($donttestmark)" -k "not ($donttest)"
%files %{python_files}

View File

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

View File

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