Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pbr for openSUSE:Factory checked in at 2023-04-23 22:43:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pbr (Old) and /work/SRC/openSUSE:Factory/.python-pbr.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pbr" Sun Apr 23 22:43:43 2023 rev:64 rq:1082128 version:5.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pbr/python-pbr.changes 2023-04-06 15:55:40.068202973 +0200 +++ /work/SRC/openSUSE:Factory/.python-pbr.new.1533/python-pbr.changes 2023-04-23 22:44:32.297719748 +0200 @@ -1,0 +2,20 @@ +Fri Apr 21 12:29:09 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Tue Apr 18 21:30:25 UTC 2023 - Matej Cepl <mc...@suse.com> + +- Switch to single spec version build for PSP + +------------------------------------------------------------------- +Fri Apr 14 22:00:14 UTC 2023 - Matej Cepl <mc...@suse.com> + +- Switch to single spec version build for PSP + +------------------------------------------------------------------- +Thu Apr 13 22:42:57 UTC 2023 - Matej Cepl <mc...@suse.com> + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pbr.spec ++++++ --- /var/tmp/diff_new_pack.OZHhiO/_old 2023-04-23 22:44:32.781722482 +0200 +++ /var/tmp/diff_new_pack.OZHhiO/_new 2023-04-23 22:44:32.789722527 +0200 @@ -16,7 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -33,34 +33,37 @@ Group: Development/Languages/Python URL: https://docs.openstack.org/pbr/latest/ Source: https://files.pythonhosted.org/packages/source/p/pbr/pbr-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools -Recommends: git-core -Suggests: python-nose Requires(post): update-alternatives Requires(postun):update-alternatives +Recommends: git-core +Suggests: python-nose Obsoletes: python-pbr-doc BuildArch: noarch %if %{with test} -BuildRequires: git-core -BuildRequires: gpg2 # Package originates from OpenStack and depends on other OpenStack packages for testing. # These are only available for the primary python3 interpreter in TW, but optional. # --> Only test in default python3 flavor. gh#openSUSE/python-rpm-macros#66 # Python 2 packages on Leap are too outdated to test, either (stestr, subunit). -BuildRequires: python3-Sphinx -BuildRequires: python3-devel -BuildRequires: python3-fixtures >= 3.0.0 -BuildRequires: python3-pip -BuildRequires: python3-six >= 1.12.0 -BuildRequires: python3-stestr >= 2.1.0 -BuildRequires: python3-testresources >= 2.0.0 -BuildRequires: python3-testscenarios >= 0.4 -BuildRequires: python3-testtools >= 2.2.0 -BuildRequires: python3-virtualenv >= 20.0.3 -BuildRequires: python3-wheel >= 0.32.0 +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module build} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module fixtures >= 3.0.0} +BuildRequires: %{python_module pbr} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module six >= 1.12.0} +BuildRequires: %{python_module testresources >= 2.0.0} +BuildRequires: %{python_module testscenarios >= 0.4} +BuildRequires: %{python_module testtools >= 2.2.0} +BuildRequires: %{python_module virtualenv >= 20.0.3} +BuildRequires: %{python_module wheel >= 0.32.0} +BuildRequires: git-core +BuildRequires: gpg2 %endif %python_subpackages @@ -77,17 +80,22 @@ sed -i '/coverage/d;/hacking/d' test-requirements.txt %build -%python_build +%pyproject_wheel %if %{with test} %check export OS_TEST_TIMEOUT=60 -python3 -m stestr run --suppress-attachments --exclude-regex '(pbr.tests.test_packaging.TestPEP517Support|pbr.tests.test_packaging.TestRequirementParsing.test_requirement_parsing)' +dont_test="test_parse_requirements or test_requirement_parsing or test_pep_517_support " +dont_test+="or test_write_git_changelog or test_build_doc or test_cmd_builder_override " +dont_test+="or test_cmd_builder_override_multiple_builders or test_extras_parsing " +dont_test+="or test_project_url_parsing or test_keywords_parsing " +dont_test+="or test_handling_of_whitespace_in_data_files" +%pytest -k "not ($dont_test)" %endif %if !%{with test} %install -%python_install +%pyproject_install %python_expand rm -r %{buildroot}%{$python_sitelib}/pbr/tests %python_clone -a %{buildroot}%{_bindir}/pbr @@ -104,7 +112,7 @@ %doc AUTHORS ChangeLog CONTRIBUTING.rst README.rst %python_alternative %{_bindir}/pbr %{python_sitelib}/pbr -%{python_sitelib}/pbr-%{version}-py%{python_version}.egg-info +%{python_sitelib}/pbr-%{version}*-info %endif %changelog