Sync from SUSE:SLFO:Main python-pbr revision fc4530c20b0a60b2f5dff377f72d7737

This commit is contained in:
Adrian Schröter 2024-12-13 11:54:42 +01:00
parent 0ccd816fc9
commit 734492f3e2
4 changed files with 69 additions and 31 deletions

BIN
pbr-5.11.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pbr-6.1.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,44 @@
-------------------------------------------------------------------
Mon Oct 28 12:13:48 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Use pytest to run tests to do not depend on python-stestr
-------------------------------------------------------------------
Sat Aug 31 11:49:48 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 6.1.0:
* Add openstack-tox-py312 as non-voting job
* Add SetupTools to our functional testing venvs
* Use SetupTools' vendored distutils in tests
* Also run coverage tests serially
* Omnibus PBR CI fixups
* Serialize tests
* Fix tempest-full job
* Use summary for the package summary
* Test on py310 and py311
-------------------------------------------------------------------
Mon May 13 05:17:26 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Use stestr rather than pytest to run the testsuite.
-------------------------------------------------------------------
Tue Jan 2 22:34:18 UTC 2024 - Dirk Müller <dmueller@suse.com>
- require setuptools
-------------------------------------------------------------------
Mon Nov 27 11:56:49 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 6.0.0:
* build: Use kwargs
* Add support for PEP-660
* Fix PBR integration testing
* Replace imp with importlib.machinery
* Add release note for build\_sphinx removal
* Use \_ instead of - in setup.cfg directives
* Remove sphinx doc building integration
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 4 07:09:44 UTC 2023 - Martin Liška <mliska@suse.cz> Thu May 4 07:09:44 UTC 2023 - Martin Liška <mliska@suse.cz>
@ -27,7 +68,7 @@ Thu Apr 13 22:42:57 UTC 2023 - Matej Cepl <mcepl@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 4 02:27:52 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> Tue Apr 4 02:27:52 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Remove unneeded BuildRequires on pep517. - Remove unneeded BuildRequires on pep517.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jan 21 09:57:57 UTC 2023 - Dirk Müller <dmueller@suse.com> Sat Jan 21 09:57:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -41,7 +82,7 @@ Sat Jan 21 09:57:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 28 19:46:28 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Fri Oct 28 19:46:28 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 5.11.0 - Update to 5.11.0
* Fix symbol identification in multiline message * Fix symbol identification in multiline message
* Replace deprecated readfp method with read_file * Replace deprecated readfp method with read_file
@ -72,7 +113,7 @@ Tue Feb 22 09:04:17 UTC 2022 - Dirk Müller <dmueller@suse.com>
* Don't test with setuptools local distutils * Don't test with setuptools local distutils
* Use context blocks for open() calls in packaging * Use context blocks for open() calls in packaging
- remove remove_mock.patch (upstream) - remove remove_mock.patch (upstream)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 6 10:23:57 UTC 2021 - Dirk Müller <dmueller@suse.com> Mon Dec 6 10:23:57 UTC 2021 - Dirk Müller <dmueller@suse.com>
@ -253,7 +294,7 @@ Tue Dec 4 12:51:21 UTC 2018 - Matej Cepl <mcepl@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 7 11:22:59 UTC 2018 - mmnelemane@suse.com Wed Nov 7 11:22:59 UTC 2018 - mmnelemane@suse.com
- Fix for error "invalid option --#" in SLE_12_SP4 build. - Fix for error "invalid option --#" in SLE_12_SP4 build.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 15 13:23:36 UTC 2018 - Matej Cepl <mcepl@suse.com> Mon Oct 15 13:23:36 UTC 2018 - Matej Cepl <mcepl@suse.com>
@ -286,7 +327,7 @@ Sun Oct 7 06:34:26 UTC 2018 - Matěj Cepl <mcepl@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 14 21:18:14 UTC 2018 - dmueller@suse.com Fri Sep 14 21:18:14 UTC 2018 - dmueller@suse.com
- add 0001-Skip-test-for-testr-hook-being-installed-when-testr-.patch - add 0001-Skip-test-for-testr-hook-being-installed-when-testr-.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 4 08:47:32 UTC 2018 - dmueller@suse.com Tue Sep 4 08:47:32 UTC 2018 - dmueller@suse.com
@ -747,7 +788,7 @@ Thu Apr 16 08:53:20 UTC 2015 - hpj@urpla.net
* Stop filtering out argparse * Stop filtering out argparse
* Remove mirror testing from the integration script * Remove mirror testing from the integration script
- Changes from 0.10.1 - Changes from 0.10.1
* Prefix git suffixes with + instead of * Prefix git suffixes with + instead of
- fix Sphinx config.init_values fallout - fix Sphinx config.init_values fallout
- add update-alternatives - add update-alternatives
- remove outdated patches - remove outdated patches
@ -924,7 +965,7 @@ Thu Jul 4 07:29:43 UTC 2013 - speilicke@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 2 16:06:42 UTC 2013 - dmueller@suse.com Tue Jul 2 16:06:42 UTC 2013 - dmueller@suse.com
- update description - update description
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 26 15:29:49 UTC 2013 - cdenicolo@suse.com Wed Jun 26 15:29:49 UTC 2013 - cdenicolo@suse.com
@ -935,7 +976,7 @@ Wed Jun 26 15:29:49 UTC 2013 - cdenicolo@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 26 09:47:22 UTC 2013 - dmueller@suse.com Wed Jun 26 09:47:22 UTC 2013 - dmueller@suse.com
- remove python-discover dependency for newer distros - remove python-discover dependency for newer distros
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 21 07:28:12 UTC 2013 - dmueller@suse.com Fri Jun 21 07:28:12 UTC 2013 - dmueller@suse.com
@ -949,7 +990,7 @@ Fri Jun 21 07:28:12 UTC 2013 - dmueller@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 10 13:35:54 UTC 2013 - dmueller@suse.com Mon Jun 10 13:35:54 UTC 2013 - dmueller@suse.com
- add 0001-Use-pip-instead-of-easy_install-for-installation.patch - add 0001-Use-pip-instead-of-easy_install-for-installation.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 10 12:01:19 UTC 2013 - dmueller@suse.com Mon Jun 10 12:01:19 UTC 2013 - dmueller@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file for package python-pbr
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -26,22 +26,21 @@
%bcond_with test %bcond_with test
%endif %endif
Name: python-pbr%{psuffix} Name: python-pbr%{psuffix}
Version: 5.11.1 Version: 6.1.0
Release: 0 Release: 0
Summary: Python Build Reasonableness Summary: Python Build Reasonableness
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/pbr/latest/ URL: https://docs.openstack.org/pbr/latest/
Source: https://files.pythonhosted.org/packages/source/p/pbr/pbr-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pbr/pbr-%{version}.tar.gz
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools Requires: python-setuptools >= 64.0.0
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
Recommends: git-core Recommends: git-core
Suggests: python-nose
Obsoletes: python-pbr-doc Obsoletes: python-pbr-doc
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
@ -53,7 +52,7 @@ BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module build} BuildRequires: %{python_module build}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module fixtures >= 3.0.0} BuildRequires: %{python_module fixtures >= 3.0.0}
BuildRequires: %{python_module pbr} BuildRequires: %{python_module pbr = %{version}}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six >= 1.12.0} BuildRequires: %{python_module six >= 1.12.0}
@ -85,16 +84,14 @@ sed -i '/coverage/d;/hacking/d' test-requirements.txt
%if %{with test} %if %{with test}
%check %check
export OS_TEST_TIMEOUT=60 export OS_TEST_TIMEOUT=60
dont_test="test_parse_requirements or test_requirement_parsing or test_pep_517_support " exclude="parse_requirements|requirement_parsing|pep_517_support|"
dont_test+="or test_write_git_changelog or test_build_doc or test_cmd_builder_override " exclude+="write_git_changelog|build_doc|cmd_builder_override|"
dont_test+="or test_cmd_builder_override_multiple_builders or test_extras_parsing " exclude+="extras_parsing|project_url_parsing|keywords_parsing|"
dont_test+="or test_project_url_parsing or test_keywords_parsing " exclude+="test_handling_of_whitespace_in_data_files"
dont_test+="or test_handling_of_whitespace_in_data_files " # Run tests with pytest to do not depend on python-stestr, that's no
# the following tests fail due to Sphinx 7.0 and removal of build_sphinx feature # available on SLFO:Main
# https://bugs.launchpad.net/pbr/+bug/2018453 # stestr run -E "($exclude)"
dont_test+="or test_setup_py_build_sphinx or test_builders_config " %pytest -k "not (${exclude//|/ or })"
dont_test+="or test_default_api_build_dir or test_different_api_build_dir"
%pytest -k "not ($dont_test)"
%endif %endif
%if !%{with test} %if !%{with test}
@ -116,7 +113,7 @@ dont_test+="or test_default_api_build_dir or test_different_api_build_dir"
%doc AUTHORS ChangeLog CONTRIBUTING.rst README.rst %doc AUTHORS ChangeLog CONTRIBUTING.rst README.rst
%python_alternative %{_bindir}/pbr %python_alternative %{_bindir}/pbr
%{python_sitelib}/pbr %{python_sitelib}/pbr
%{python_sitelib}/pbr-%{version}*-info %{python_sitelib}/pbr-%{version}.dist-info
%endif %endif
%changelog %changelog