Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-scikit-build for
openSUSE:Factory checked in at 2024-08-30 13:25:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scikit-build (Old)
and /work/SRC/openSUSE:Factory/.python-scikit-build.new.2698 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scikit-build"
Fri Aug 30 13:25:39 2024 rev:24 rq:1197467 version:0.18.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-scikit-build/python-scikit-build.changes
2024-08-01 22:03:54.083160000 +0200
+++
/work/SRC/openSUSE:Factory/.python-scikit-build.new.2698/python-scikit-build.changes
2024-08-30 13:25:41.433669266 +0200
@@ -1,0 +2,12 @@
+Thu Aug 29 13:35:59 UTC 2024 - Ben Greiner <[email protected]>
+
+- Update to 0.18.1
+ * Support for setuptools 74 in #1116
+ * iOS and Android support by @FeodorFitsner in #1101
+ * Fix for distutils change in #1103
+ * Remove test directives by @s-t-e-v-e-n-k in #1108
+- Drop patches
+ * support-setuptools-72-distutils.patch
+ * support-setuptools-72-test-directives.patch
+
+-------------------------------------------------------------------
Old:
----
scikit_build-0.18.0.tar.gz
support-setuptools-72-distutils.patch
support-setuptools-72-test-directives.patch
New:
----
scikit_build-0.18.1.tar.gz
BETA DEBUG BEGIN:
Old:- Drop patches
* support-setuptools-72-distutils.patch
* support-setuptools-72-test-directives.patch
Old: * support-setuptools-72-distutils.patch
* support-setuptools-72-test-directives.patch
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-scikit-build.spec ++++++
--- /var/tmp/diff_new_pack.qXtolP/_old 2024-08-30 13:25:43.553757269 +0200
+++ /var/tmp/diff_new_pack.qXtolP/_new 2024-08-30 13:25:43.557757435 +0200
@@ -27,17 +27,13 @@
%{?sle15_python_module_pythons}
Name: python-scikit-build%{psuffix}
-Version: 0.18.0
+Version: 0.18.1
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
Source99: sample-setup.cfg
-# PATCH-FIX-UPSTREAM gh#scikit-build/scikit-build#1103
-Patch0: support-setuptools-72-distutils.patch
-# PATCH-FIX-UPSTREAM gh#scikit-build/scikit-build#1108
-Patch1: support-setuptools-72-test-directives.patch
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module hatch-fancy-pypi-readme}
BuildRequires: %{python_module hatch-vcs}
++++++ scikit_build-0.18.0.tar.gz -> scikit_build-0.18.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/scikit_build-0.18.0/.github/workflows/ci.yml
new/scikit_build-0.18.1/.github/workflows/ci.yml
--- old/scikit_build-0.18.0/.github/workflows/ci.yml 2020-02-02
01:00:00.000000000 +0100
+++ new/scikit_build-0.18.1/.github/workflows/ci.yml 2020-02-02
01:00:00.000000000 +0100
@@ -58,7 +58,9 @@
- name: Set environment for Fortran compiler on MacOS
if: runner.os == 'macOS'
- run: echo "FC=gfortran-11" >> $GITHUB_ENV
+ run: |
+ brew reinstall gfortran
+ echo "FC=gfortran" >> $GITHUB_ENV
- name: Setup nox
uses: wntrblm/[email protected]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/scikit_build-0.18.0/.pre-commit-config.yaml
new/scikit_build-0.18.1/.pre-commit-config.yaml
--- old/scikit_build-0.18.0/.pre-commit-config.yaml 2020-02-02
01:00:00.000000000 +0100
+++ new/scikit_build-0.18.1/.pre-commit-config.yaml 2020-02-02
01:00:00.000000000 +0100
@@ -21,15 +21,15 @@
- id: fix-ligatures
- id: fix-smartquotes
-- repo: https://github.com/asottile/blacken-docs
- rev: 1.16.0
+- repo: https://github.com/adamchainz/blacken-docs
+ rev: 1.18.0
hooks:
- id: "blacken-docs"
additional_dependencies:
- - black==23.*
+ - black==24.*
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.4.9
+ rev: v0.5.0
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
@@ -61,7 +61,7 @@
- hatchling
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: "v1.10.0"
+ rev: "v1.10.1"
hooks:
- id: mypy
files: ^(skbuild|tests)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/scikit_build-0.18.0/CHANGES.rst
new/scikit_build-0.18.1/CHANGES.rst
--- old/scikit_build-0.18.0/CHANGES.rst 2020-02-02 01:00:00.000000000 +0100
+++ new/scikit_build-0.18.1/CHANGES.rst 2020-02-02 01:00:00.000000000 +0100
@@ -15,6 +15,27 @@
.. START-BRIEF-CHANGELOG
+Scikit-build 0.18.1
+===================
+
+This release fixes issues with setuptools 74, and avoids a warning from recent
+versions of wheel. Android and iOS are now included in known platforms.
+
+Bug fixes
+---------
+
+* Support for setuptools 74 in :pr:`1116`
+* iOS and Android support by :user:`FeodorFitsner` in :pr:`1101`
+
+
+Testing
+-------
+
+* Fix for distutils change in :pr:`1103`
+* Remove test directives by :user:`s-t-e-v-e-n-k` in :pr:`1108`
+
+
+
Scikit-build 0.18.0
===================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/scikit_build-0.18.0/PKG-INFO
new/scikit_build-0.18.1/PKG-INFO
--- old/scikit_build-0.18.0/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/scikit_build-0.18.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.3
Name: scikit-build
-Version: 0.18.0
+Version: 0.18.1
Summary: Improved build system generator for Python C/C++/Fortran/Cython
extensions
Project-URL: Bug Tracker, https://github.com/scikit-build/scikit-build/issues
Project-URL: Changelog,
https://scikit-build.readthedocs.io/en/latest/history.html
@@ -75,6 +75,27 @@
+Scikit-build 0.18.1
+===================
+
+This release fixes issues with setuptools 74, and avoids a warning from recent
+versions of wheel. Android and iOS are now included in known platforms.
+
+Bug fixes
+---------
+
+* Support for setuptools 74 in `#1116
<https://github.com/scikit-build/scikit-build/pull/1116>`_
+* iOS and Android support by `@FeodorFitsner
<https://github.com/FeodorFitsner>`_ in `#1101
<https://github.com/scikit-build/scikit-build/pull/1101>`_
+
+
+Testing
+-------
+
+* Fix for distutils change in `#1103
<https://github.com/scikit-build/scikit-build/pull/1103>`_
+* Remove test directives by `@s-t-e-v-e-n-k
<https://github.com/s-t-e-v-e-n-k>`_ in `#1108
<https://github.com/scikit-build/scikit-build/pull/1108>`_
+
+
+
Scikit-build 0.18.0
===================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/scikit_build-0.18.0/skbuild/_version.py
new/scikit_build-0.18.1/skbuild/_version.py
--- old/scikit_build-0.18.0/skbuild/_version.py 2020-02-02 01:00:00.000000000
+0100
+++ new/scikit_build-0.18.1/skbuild/_version.py 2020-02-02 01:00:00.000000000
+0100
@@ -12,5 +12,5 @@
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE
-__version__ = version = '0.18.0'
-__version_tuple__ = version_tuple = (0, 18, 0)
+__version__ = version = '0.18.1'
+__version_tuple__ = version_tuple = (0, 18, 1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/scikit_build-0.18.0/skbuild/command/bdist_wheel.py
new/scikit_build-0.18.1/skbuild/command/bdist_wheel.py
--- old/scikit_build-0.18.0/skbuild/command/bdist_wheel.py 2020-02-02
01:00:00.000000000 +0100
+++ new/scikit_build-0.18.1/skbuild/command/bdist_wheel.py 2020-02-02
01:00:00.000000000 +0100
@@ -3,8 +3,18 @@
from __future__ import annotations
-from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
-from wheel.wheelfile import WheelFile
+from typing import TYPE_CHECKING
+
+if TYPE_CHECKING:
+ from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
+ from wheel.wheelfile import WheelFile
+else:
+ try:
+ from setuptools.command.bdist_wheel import WheelFile # type:
ignore[attr-defined]
+ from setuptools.command.bdist_wheel import bdist_wheel as _bdist_wheel
+ except ImportError:
+ from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
+ from wheel.wheelfile import WheelFile
from .._version import version as skbuild_version
from ..utils import distribution_hide_listing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/scikit_build-0.18.0/skbuild/platform_specifics/platform_factory.py
new/scikit_build-0.18.1/skbuild/platform_specifics/platform_factory.py
--- old/scikit_build-0.18.0/skbuild/platform_specifics/platform_factory.py
2020-02-02 01:00:00.000000000 +0100
+++ new/scikit_build-0.18.1/skbuild/platform_specifics/platform_factory.py
2020-02-02 01:00:00.000000000 +0100
@@ -20,7 +20,7 @@
return windows.WindowsPlatform()
# Some flexibility based on what emcripten distros decide to call
themselves
- if this_platform.startswith(("linux", "emscripten", "pyodide")):
+ if this_platform.startswith(("linux", "emscripten", "pyodide", "android")):
from . import linux
return linux.LinuxPlatform()
@@ -30,7 +30,7 @@
return cygwin.CygwinPlatform()
- if this_platform == "darwin":
+ if this_platform in ["darwin", "ios"]:
from . import osx
return osx.OSXPlatform()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/scikit_build-0.18.0/skbuild/platform_specifics/windows.py
new/scikit_build-0.18.1/skbuild/platform_specifics/windows.py
--- old/scikit_build-0.18.0/skbuild/platform_specifics/windows.py
2020-02-02 01:00:00.000000000 +0100
+++ new/scikit_build-0.18.1/skbuild/platform_specifics/windows.py
2020-02-02 01:00:00.000000000 +0100
@@ -214,7 +214,8 @@
if cache_key in __get_msvc_compiler_env_cache:
return __get_msvc_compiler_env_cache[cache_key]
- monkey.patch_for_msvc_specialized_compiler() # type:
ignore[no-untyped-call]
+ if hasattr(monkey, "patch_for_msvc_specialized_compiler"):
+ monkey.patch_for_msvc_specialized_compiler() # type:
ignore[no-untyped-call]
vc_dir = find_visual_studio(vs_version)
vcvarsall = os.path.join(vc_dir, "vcvarsall.bat")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/scikit_build-0.18.0/skbuild/setuptools_wrap.py
new/scikit_build-0.18.1/skbuild/setuptools_wrap.py
--- old/scikit_build-0.18.0/skbuild/setuptools_wrap.py 2020-02-02
01:00:00.000000000 +0100
+++ new/scikit_build-0.18.1/skbuild/setuptools_wrap.py 2020-02-02
01:00:00.000000000 +0100
@@ -319,9 +319,7 @@
# and the entry in package_data would look like this:
#
# {'foo.bar' : ['module.py']}
- if strip_package(package.split("."), module_file) in package_data[package]:
- return True
- return False
+ return strip_package(package.split("."), module_file) in
package_data[package]
def _should_run_cmake(commands: Sequence[str], cmake_with_sdist: bool) -> bool:
@@ -344,9 +342,7 @@
if expected_commands & given_commands:
return True
- if "sdist" in given_commands and cmake_with_sdist:
- return True
- return False
+ return bool("sdist" in given_commands and cmake_with_sdist)
def _save_cmake_spec(args: Mapping[str, Any]) -> None:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/scikit_build-0.18.0/tests/__init__.py
new/scikit_build-0.18.1/tests/__init__.py
--- old/scikit_build-0.18.0/tests/__init__.py 2020-02-02 01:00:00.000000000
+0100
+++ new/scikit_build-0.18.1/tests/__init__.py 2020-02-02 01:00:00.000000000
+0100
@@ -215,7 +215,7 @@
"""
# See
https://stackoverflow.com/questions/9160227/dir-util-copy-tree-fails-after-shutil-rmtree
- distutils.dir_util._path_created = {} # type: ignore[attr-defined]
+ distutils.dir_util._path_created.clear() # type: ignore[attr-defined]
# Clear _PYTHON_HOST_PLATFORM to ensure value sets in
skbuild.setuptools_wrap.setup() does not
# influence other tests.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/scikit_build-0.18.0/tests/samples/issue-274-support-default-package-dir/setup.py
new/scikit_build-0.18.1/tests/samples/issue-274-support-default-package-dir/setup.py
---
old/scikit_build-0.18.0/tests/samples/issue-274-support-default-package-dir/setup.py
2020-02-02 01:00:00.000000000 +0100
+++
new/scikit_build-0.18.1/tests/samples/issue-274-support-default-package-dir/setup.py
2020-02-02 01:00:00.000000000 +0100
@@ -10,5 +10,4 @@
license="MIT",
packages=["hello"],
package_dir={"": "src"},
- test_suite="hello_tests",
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/scikit_build-0.18.0/tests/samples/issue-274-support-one-package-without-package-dir/setup.py
new/scikit_build-0.18.1/tests/samples/issue-274-support-one-package-without-package-dir/setup.py
---
old/scikit_build-0.18.0/tests/samples/issue-274-support-one-package-without-package-dir/setup.py
2020-02-02 01:00:00.000000000 +0100
+++
new/scikit_build-0.18.1/tests/samples/issue-274-support-one-package-without-package-dir/setup.py
2020-02-02 01:00:00.000000000 +0100
@@ -9,5 +9,4 @@
author="The scikit-build team",
license="MIT",
packages=["hello"],
- test_suite="hello_tests",
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/scikit_build-0.18.0/tests/samples/issue-335-support-cmake-source-dir/wrapping/python/setup.py
new/scikit_build-0.18.1/tests/samples/issue-335-support-cmake-source-dir/wrapping/python/setup.py
---
old/scikit_build-0.18.0/tests/samples/issue-335-support-cmake-source-dir/wrapping/python/setup.py
2020-02-02 01:00:00.000000000 +0100
+++
new/scikit_build-0.18.1/tests/samples/issue-335-support-cmake-source-dir/wrapping/python/setup.py
2020-02-02 01:00:00.000000000 +0100
@@ -9,7 +9,6 @@
author="The scikit-build team",
license="MIT",
packages=["hello"],
- tests_require=[],
setup_requires=[],
cmake_source_dir="../../",
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/scikit_build-0.18.0/tests/samples/test-filter-manifest/wrapping/python/setup.py
new/scikit_build-0.18.1/tests/samples/test-filter-manifest/wrapping/python/setup.py
---
old/scikit_build-0.18.0/tests/samples/test-filter-manifest/wrapping/python/setup.py
2020-02-02 01:00:00.000000000 +0100
+++
new/scikit_build-0.18.1/tests/samples/test-filter-manifest/wrapping/python/setup.py
2020-02-02 01:00:00.000000000 +0100
@@ -14,7 +14,6 @@
author="The scikit-build team",
license="MIT",
packages=["hello"],
- tests_require=[],
setup_requires=[],
cmake_source_dir="../../",
cmake_process_manifest_hook=exclude_dev_files,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/scikit_build-0.18.0/tests/test_issue284_build_ext_inplace.py
new/scikit_build-0.18.1/tests/test_issue284_build_ext_inplace.py
--- old/scikit_build-0.18.0/tests/test_issue284_build_ext_inplace.py
2020-02-02 01:00:00.000000000 +0100
+++ new/scikit_build-0.18.1/tests/test_issue284_build_ext_inplace.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,10 +1,16 @@
from __future__ import annotations
import os
+import platform
+
+import pytest
from . import get_ext_suffix, project_setup_py_test
[email protected](
+ platform.python_implementation() == "PyPy", reason="PyPy is reporting an
empty linker, doesn't seem to be our fault"
+)
@project_setup_py_test("issue-284-build-ext-inplace", ["build_ext",
"--inplace"], disable_languages_test=True)
def test_build_ext_inplace_command():
assert os.path.exists(f"hello/_hello_sk{get_ext_suffix()}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/scikit_build-0.18.0/tests/test_setup.py
new/scikit_build-0.18.1/tests/test_setup.py
--- old/scikit_build-0.18.0/tests/test_setup.py 2020-02-02 01:00:00.000000000
+0100
+++ new/scikit_build-0.18.1/tests/test_setup.py 2020-02-02 01:00:00.000000000
+0100
@@ -221,7 +221,7 @@
assert failed == expected_failed
if failed:
- if error_code_type == str:
+ if error_code_type is str:
assert message == "error: package directory '{}' does not
exist".format(
os.path.join(CMAKE_INSTALL_DIR(), "banana")
)