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 2022-10-29 20:17:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-scikit-build (Old) and /work/SRC/openSUSE:Factory/.python-scikit-build.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scikit-build" Sat Oct 29 20:17:52 2022 rev:11 rq:1032215 version:0.16.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-scikit-build/python-scikit-build.changes 2022-08-24 15:12:05.900558662 +0200 +++ /work/SRC/openSUSE:Factory/.python-scikit-build.new.2275/python-scikit-build.changes 2022-10-29 20:19:02.870831187 +0200 @@ -1,0 +2,67 @@ +Sat Oct 29 15:32:48 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.16.1 + * Patch release that fixes a missing Python requires setting and + some missing files #790, and addresses a warning from + setuptools in the tests. +- Drop skbuild-pr785-ignoredeprecation.patch fixed upstream + +------------------------------------------------------------------- +Sat Oct 29 12:54:06 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.16.0 + * This release adds support for Python 3.11 and removes support + for Python 2.7 and 3.5 (#688). Testing and static checking + improved, including being fully statically typed internally + (though setuptools is not fully typed, so it is of limited + use). + * All deprecated setuptools/distutils features are also + deprecated in scikit-build, like the test command, + easy_install, etc. Editable mode is still unsupported. Python + 3.6 support is deprecated. Older versions of CMake (<3.15) are + not recommended; a future version will remove support for older + CMake's (along with providing a better mechanism for ensuring a + proper CMake is available). If you need any of these features, + please open or find an issue explaining what and why you need + something. + * Cython module now supports FindPython mode. #743 + * PyPy is discovered without extra settings in FindPython mode + #744 + * FindPython mode uses a new path specification, should help make + it usable. #774 + * Better flushing and output streams for more consistent output + ordering. #781 +- Add skbuild-pr785-ignoredeprecation.patch + * gh#scikit-build/scikit-build#785 + +------------------------------------------------------------------- +Wed Aug 24 09:44:45 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.15.0 + * Add support for FindPython (including 2 and 3). Thanks + @hameerabbasi for the contribution. See #712. + * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos + for the help! See #485. + * Fixed issue with distutils usage in Python 3.10. Thanks to + @SuperSandro2000 for the contribution in #700. +- Release 0.14.1 + * Fix issue with SKBUILD_CONFIGURE_OPTIONS not being read. + * Reverted manifest install changes. +- Release 0.14.0 + * Add support for --install-target scikit-build command line + option. And cmake_install_target in setup.py. Allows providing + an install target different than the default install. Thanks + @phcerdan for the contribution. See #477. + * The manifest install location computation was fixed. Thanks + @kratsg for the contribution in #682. + * Byte-compilation was skipped due to a missing return. Thanks + @pekkarr in #678. + * Packages can now be computed from the same shared collections, + before this could confuse Scikit-build. Thanks @vyasr in #675. + * Fixed library detection for PyPy 3.9. Thanks @rkaminsk in #673. + * Scikit-build now uses pyproject.toml and setuptools_scm to + build. If you are packaging scikit-build itself, you might need + to update your requirements. See #634. + * The codebase is now formatted with Black. #665 + +------------------------------------------------------------------- Old: ---- scikit-build-0.13.1.tar.gz New: ---- _multibuild scikit-build-0.16.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-scikit-build.spec ++++++ --- /var/tmp/diff_new_pack.AVp1Jt/_old 2022-10-29 20:19:03.330833638 +0200 +++ /var/tmp/diff_new_pack.AVp1Jt/_new 2022-10-29 20:19:03.338833680 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-scikit-build +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -16,84 +16,102 @@ # -%{?!python_module:%define python_module() python3-%{**}} +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%bcond_without test +%define psuffix -test +%else +%bcond_with test +%define psuffix %{nil} +%endif + %define skip_python2 1 -Name: python-scikit-build -Version: 0.13.1 +Name: python-scikit-build%{psuffix} +Version: 0.16.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 -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools >= 28.0.0} +BuildRequires: %{python_module devel >= 3.6} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 42.0.0} +BuildRequires: %{python_module wheel} +%if !%{with test} +# https://github.com/scikit-build/scikit-build/issues/689 +BuildRequires: %{python_module setuptools_scm} +%endif BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: cmake Requires: python-distro Requires: python-packaging -Requires: python-setuptools >= 28.0.0 -Requires: python-wheel >= 0.29.0 -# SECTION test requirements +Requires: python-setuptools >= 42.0.0 +Requires: python-wheel >= 0.32.0 +%if %python_version_nodots < 38 +Requires: python-typing-extensions >= 3.7 +%endif +%if %{with test} BuildRequires: %{python_module Cython >= 0.25.1} -BuildRequires: %{python_module build} -BuildRequires: %{python_module distro} +BuildRequires: %{python_module build >= 0.7} BuildRequires: %{python_module flake8 >= 3.0.4} BuildRequires: %{python_module path.py >= 11.5.0} -BuildRequires: %{python_module pytest >= 4.5.0} +BuildRequires: %{python_module pytest >= 6.0.0 with %python-pytest < 7.2} BuildRequires: %{python_module pytest-mock >= 1.10.4} BuildRequires: %{python_module pytest-virtualenv >= 1.2.5} BuildRequires: %{python_module requests} -BuildRequires: %{python_module six >= 1.10.0} +BuildRequires: %{python_module scikit-build = %{version}} BuildRequires: %{python_module virtualenv} -BuildRequires: %{python_module wheel >= 0.29.0} -BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: gcc-fortran BuildRequires: git-core BuildRequires: ninja -# /SECTION +%endif +BuildArch: noarch %python_subpackages %description Improved build system generator for Python C/C++/Fortran/Cython extensions %prep -%setup -q -n scikit-build-%{version} +%autosetup -p1 -n scikit-build-%{version} +%if %{with test} # some tests call setup.py develop|install|test, which by default write to /usr # This is not allowed in OBS # gh#scikit-build/scikit-build#469 %python_expand mkdir -p /tmp/fakepythonroot%{$python_sitelib} cp %{S:99} tests/samples/hello-cpp/setup.cfg -sed -i "/hello-1.2.3\/setup.py/ a \ 'hello-1.2.3/setup.cfg'," tests/test_hello_cpp.py cp %{S:99} tests/samples/cython-flags/setup.cfg cp %{S:99} tests/samples/issue-274-support-default-package-dir/setup.cfg cp %{S:99} tests/samples/issue-274-support-one-package-without-package-dir/setup.cfg cp %{S:99} tests/samples/issue-334-configure-cmakelist-non-cp1252-encoding/setup.cfg -sed -i 's/from mock import/from unittest.mock import/' tests/*.py -# remove coverage flags -sed -i '/addopts/ d' setup.cfg +%endif +%if !%{with test} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif +%if %{with test} %check -export PYTHONPATH=/tmp/fakepythonroot%{$python_sitelib} # test_pep518 needs a wheelhouse with downloaded wheels including platform dependent cmake donttest="test_pep518" -# setuptools 62+ discovery fails here -donttest="$donttest or (test_script_keyword and pure)" +# https://github.com/scikit-build/scikit-build/issues/784 +donttest="$donttest or (test_hide_listing and True and bdist_wheel)" %pytest -k "not ($donttest)" +%endif +%if !%{with test} %files %{python_files} %doc AUTHORS.rst README.rst CONTRIBUTING.rst HISTORY.rst docs/ %license LICENSE %{python_sitelib}/skbuild %{python_sitelib}/scikit_build-%{version}*-info +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild> ++++++ scikit-build-0.13.1.tar.gz -> scikit-build-0.16.1.tar.gz ++++++ ++++ 13234 lines of diff (skipped)