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>

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
# remain the property of their copyright owners, unless otherwise agreed
@ -26,22 +26,21 @@
%bcond_with test
%endif
Name: python-pbr%{psuffix}
Version: 5.11.1
Version: 6.1.0
Release: 0
Summary: Python Build Reasonableness
License: Apache-2.0
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 pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires: python-setuptools >= 64.0.0
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
Recommends: git-core
Suggests: python-nose
Obsoletes: python-pbr-doc
BuildArch: noarch
%if %{with test}
@ -53,7 +52,7 @@ 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 pbr = %{version}}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six >= 1.12.0}
@ -85,16 +84,14 @@ sed -i '/coverage/d;/hacking/d' test-requirements.txt
%if %{with test}
%check
export OS_TEST_TIMEOUT=60
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 "
# the following tests fail due to Sphinx 7.0 and removal of build_sphinx feature
# https://bugs.launchpad.net/pbr/+bug/2018453
dont_test+="or test_setup_py_build_sphinx or test_builders_config "
dont_test+="or test_default_api_build_dir or test_different_api_build_dir"
%pytest -k "not ($dont_test)"
exclude="parse_requirements|requirement_parsing|pep_517_support|"
exclude+="write_git_changelog|build_doc|cmd_builder_override|"
exclude+="extras_parsing|project_url_parsing|keywords_parsing|"
exclude+="test_handling_of_whitespace_in_data_files"
# Run tests with pytest to do not depend on python-stestr, that's no
# available on SLFO:Main
# stestr run -E "($exclude)"
%pytest -k "not (${exclude//|/ or })"
%endif
%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
%python_alternative %{_bindir}/pbr
%{python_sitelib}/pbr
%{python_sitelib}/pbr-%{version}*-info
%{python_sitelib}/pbr-%{version}.dist-info
%endif
%changelog