Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-build for openSUSE:Factory 
checked in at 2022-07-14 16:34:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-build (Old)
 and      /work/SRC/openSUSE:Factory/.python-build.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-build"

Thu Jul 14 16:34:17 2022 rev:4 rq:989018 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-build/python-build.changes        
2021-10-16 22:48:16.212723770 +0200
+++ /work/SRC/openSUSE:Factory/.python-build.new.1523/python-build.changes      
2022-07-14 16:34:44.232654965 +0200
@@ -1,0 +2,16 @@
+Wed Jul 13 11:24:00 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Update to v0.8.0
+  * Accept `os.PathLike[str]` in addition to `str` for paths in
+    public API (PR #392, Fixes #372)
+  * Add schema validation for `build-system` table to check
+    conformity with PEP 517 and PEP 518 (PR #365, Fixes #364)
+  * Better support for Python 3.11 (sysconfig schemes PR #434, PR
+    #463, tomllib PR #443, warnings PR #420)
+  * Improved error printouts (PR #442)
+  * Avoid importing packaging unless needed (PR #395, Fixes #393)
+  * Failure to create a virtual environment in the `build.env`
+    module now raises `build.FailedProcessError` (PR #442)
+- Rework test suite: provide wheels for testing
+
+-------------------------------------------------------------------

Old:
----
  build-0.7.0.tar.gz

New:
----
  build-0.8.0.tar.gz
  flit_core-2.3.0-py2.py3-none-any.whl
  pytoml-0.1.21-py2.py3-none-any.whl
  tomli-2.0.1-py3-none-any.whl
  wheel-0.37.1-py2.py3-none-any.whl

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-build.spec ++++++
--- /var/tmp/diff_new_pack.tLgxEc/_old  2022-07-14 16:34:44.804655528 +0200
+++ /var/tmp/diff_new_pack.tLgxEc/_new  2022-07-14 16:34:44.808655532 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,17 +27,22 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:           python-build%{psuffix}
-Version:        0.7.0
+Version:        0.8.0
 Release:        0
 Summary:        Simple PEP517 package builder
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/pypa/build
 Source0:        
https://github.com/pypa/build/archive/%{version}.tar.gz#/build-%{version}.tar.gz
+# Needs the wheels for wheel, flit-core (<3), pytoml, and tomli for testing
+Source10:       
https://files.pythonhosted.org/packages/py2.py3/w/wheel/wheel-0.37.1-py2.py3-none-any.whl
+Source11:       
https://files.pythonhosted.org/packages/py2.py3/f/flit-core/flit_core-2.3.0-py2.py3-none-any.whl
+Source12:       
https://files.pythonhosted.org/packages/py2.py3/p/pytoml/pytoml-0.1.21-py2.py3-none-any.whl
+Source13:       
https://files.pythonhosted.org/packages/py3/t/tomli/tomli-2.0.1-py3-none-any.whl
 BuildRequires:  %{python_module importlib-metadata >= 0.22 if %python-base < 
3.8}
 BuildRequires:  %{python_module packaging >= 19.0}
 BuildRequires:  %{python_module pep517 >= 0.9.1}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module setuptools >= 42}
 BuildRequires:  %{python_module tomli >= 1.0.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -52,12 +57,13 @@
 %if %{with test}
 BuildRequires:  %{python_module build = %{version}}
 BuildRequires:  %{python_module filelock >= 3}
+BuildRequires:  %{python_module pytest >= 6}
 BuildRequires:  %{python_module pytest-mock >= 2}
 BuildRequires:  %{python_module pytest-rerunfailures >= 9.1}
 BuildRequires:  %{python_module pytest-xdist >= 1.34}
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module toml >= 0.10.0}
 BuildRequires:  %{python_module wheel >= 0.36}
+BuildRequires:  python3-setuptools-wheel
 %endif
 %python_subpackages
 
@@ -68,10 +74,10 @@
 %prep
 %autosetup -p1 -n build-%{version}
 
+%if !%{with test}
 %build
 %python_build
 
-%if !%{with test}
 %install
 %python_install
 %python_clone -a %{buildroot}%{_bindir}/pyproject-build
@@ -80,13 +86,10 @@
 
 %if %{with test}
 %check
-# obs can't download packages into "isolated" envs
-donttest="test_build_package"
-donttest+=" or (test_wheel_metadata and True)"
-donttest+=" or test_with_get_requires"
-donttest+=" or test_wheel_metadata_isolation"
-donttest+=" or test_output and (via-sdist-isolation or wheel-direct-isolation)"
-%pytest tests -n auto -k "not ($donttest)"
+mkdir -p wheels
+cp %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} wheels/
+export PIP_FIND_LINKS="%{python3_sitelib}/../wheels $PWD/wheels"
+%pytest tests -n auto
 %endif
 
 %if !%{with test}

++++++ build-0.7.0.tar.gz -> build-0.8.0.tar.gz ++++++
++++ 2638 lines of diff (skipped)

Reply via email to