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 2023-09-22 21:47:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-build (Old) and /work/SRC/openSUSE:Factory/.python-build.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-build" Fri Sep 22 21:47:07 2023 rev:10 rq:1112478 version:1.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-build/python-build.changes 2023-05-19 11:55:29.779254558 +0200 +++ /work/SRC/openSUSE:Factory/.python-build.new.1770/python-build.changes 2023-09-22 21:47:50.385787484 +0200 @@ -1,0 +2,30 @@ +Wed Sep 20 07:50:56 UTC 2023 - Steve Kowalik <[email protected]> + +- Update to 1.0.3: + * Avoid CPython 3.8.17, 3.9.17, 3.10.12, and 3.11.4 tarfile symlink bug + triggered by adding data_filter in 1.0.0. + * Removed the toml library fallback; toml can no longer be used as a + substitute for tomli + * Added runner parameter to util.project_wheel_metadata + * Modified ProjectBuilder constructor signature, added alternative + ProjectBuilder.from_env constructor, redefined env.IsolatedEnv interface, + and exposed env.DefaultIsolatedEnv, replacing env.IsolatedEnvBuilder. + * virtualenv is no longer imported when using -n, for faster builds + * The SDist now contains the repository contents, including tests. + Flit-core 3.8+ required. + * The minimum version of importlib-metadata has been increased to 4.6 and + Python 3.10 due to a bug in the standard library version with URL + requirements in extras. + * Tests now contain a network marker + * Config-settings are now passed to get_requires* hooks, fixing a long + standing bug. + * Test on Python 3.12 betas/RCs + * Filter out malicious files when extracting tar archives when Python + supports it + * Specify encoding, fixing issues when PYTHONWARNDEFAULTENCODING is set. +- Drop patches 589-colorized-pip23.patch, 609-filter-out-malicious.patch: + * Included upstream. +- Add runtests.py which chdirs before running tests, but after the macros + have polluted the current working directory, avoiding test failures. + +------------------------------------------------------------------- Old: ---- 589-colorized-pip23.patch 609-filter-out-malicious.patch build-0.10.0.tar.gz New: ---- build-1.0.3.tar.gz runtests.py ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-build.spec ++++++ --- /var/tmp/diff_new_pack.0QoYnt/_old 2023-09-22 21:47:51.777838019 +0200 +++ /var/tmp/diff_new_pack.0QoYnt/_new 2023-09-22 21:47:51.777838019 +0200 @@ -29,24 +29,19 @@ %{?sle15_python_module_pythons} Name: python-build%{psuffix} -Version: 0.10.0 +Version: 1.0.3 Release: 0 Summary: Simple PEP517 package builder License: MIT 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, pytoml, and tomli for testing +# Needs the wheels for wheel, flit-core, 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/py3/f/flit-core/flit_core-3.8.0-py3-none-any.whl Source12: https://files.pythonhosted.org/packages/py3/t/tomli/tomli-2.0.1-py3-none-any.whl -# PATCH-FIX-UPSTREAM 589-colorized-pip23.patch gh#pypa/build#587 [email protected] -# Different style of colouring in pip 23 (actually I see it even with pip 22) -Patch0: 589-colorized-pip23.patch -# PATCH-FIX-UPSTREAM 609-filter-out-malicious.patch gh#pypa/build!609 [email protected] -# With new tarfile filters, there is now new warning -Patch1: 609-filter-out-malicious.patch +Source14: runtests.py BuildRequires: %{python_module base >= 3.7} -BuildRequires: %{python_module flit-core >= 3.4} +BuildRequires: %{python_module flit-core >= 3.8} BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -67,7 +62,6 @@ BuildRequires: %{python_module pytest-xdist >= 1.34} BuildRequires: %{python_module setuptools >= 42 if %python-base < 3.10} BuildRequires: %{python_module setuptools >= 56 if %python-base >= 3.11} -BuildRequires: %{python_module toml >= 0.10.0} BuildRequires: %{python_module wheel >= 0.36} BuildRequires: python3-setuptools-wheel %endif @@ -79,8 +73,6 @@ %prep %autosetup -p1 -n build-%{version} -# until we have gh#pypa/build#609 -sed -i '/"error",/ a \ "ignore::DeprecationWarning:tarfile",' pyproject.toml %if !%{with test} %build @@ -94,12 +86,11 @@ %if %{with test} %check +cp %{SOURCE14} . mkdir -p wheels cp %{SOURCE10} %{SOURCE11} %{SOURCE12} wheels/ export PIP_FIND_LINKS="%{python3_sitelib}/../wheels $PWD/wheels" -pushd tests -%pytest -n auto -popd +%python_exec runtests.py %endif %if !%{with test} ++++++ build-0.10.0.tar.gz -> build-1.0.3.tar.gz ++++++ ++++ 3368 lines of diff (skipped) ++++++ runtests.py ++++++ #!/usr/bin/python3 import os import pathlib import pytest os.chdir(pathlib.Path.cwd() / "tests") pytest.main(["-v", "-n", "auto"])
