10 Commits

Author SHA256 Message Date
9169d89939 Accepting request 1300762 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbr?expand=0&rev=73
2025-08-22 15:47:06 +00:00
365d6d14e7 - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=170
2025-08-21 10:04:31 +00:00
6385356c0d Accepting request 1294154 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1294154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbr?expand=0&rev=72
2025-07-20 13:28:45 +00:00
37a66f0cf2 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=168
2025-07-17 12:12:31 +00:00
647de90515 Accepting request 1245349 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1245349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbr?expand=0&rev=71
2025-02-12 20:30:39 +00:00
058202bf90 Accepting request 1245343 from home:glaubitz:branches:devel:languages:python
- Update to 6.1.1
  * docs: Drop SetupTools from pyproject.toml example
  * Simplify PBR dependency on SetupTools
  * Update setup.cfg example in Usage document
  * Clarify PEP 517 implementation for users
- from version 6.1.1.0b1
  * Set up PBR with setuptools as a dependency
  * Use pyproject.toml
  * Test pip and setup.py install behavior in PBR testing
  * Remove the use of six from PBR
  * Fix integration testing of current change
  * Update PBR testing for Noble

OBS-URL: https://build.opensuse.org/request/show/1245343
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=166
2025-02-12 10:42:30 +00:00
acbde3bd85 Accepting request 1218811 from devel:languages:python
- Use pytest to run tests to do not depend on python-stestr

OBS-URL: https://build.opensuse.org/request/show/1218811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbr?expand=0&rev=70
2024-10-29 13:32:12 +00:00
70a4a8e428 - Use pytest to run tests to do not depend on python-stestr
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=164
2024-10-28 12:23:32 +00:00
96539ea417 Accepting request 1198044 from devel:languages:python
- 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

- Use stestr rather than pytest to run the testsuite.

OBS-URL: https://build.opensuse.org/request/show/1198044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbr?expand=0&rev=69
2024-09-03 11:37:03 +00:00
2f040926f6 - 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
- Use stestr rather than pytest to run the testsuite.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=162
2024-08-31 11:50:25 +00:00
4 changed files with 73 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d1377122a5a00e2f940ee482999518efe16d745d423a670c27773dfbc3c9a7d9
size 123150

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

Binary file not shown.

View File

@@ -1,7 +1,52 @@
-------------------------------------------------------------------
Thu Aug 21 10:03:57 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Thu Jul 17 12:12:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Wed Feb 12 10:34:46 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 6.1.1
* docs: Drop SetupTools from pyproject.toml example
* Simplify PBR dependency on SetupTools
* Update setup.cfg example in Usage document
* Clarify PEP 517 implementation for users
- from version 6.1.1.0b1
* Set up PBR with setuptools as a dependency
* Use pyproject.toml
* Test pip and setup.py install behavior in PBR testing
* Remove the use of six from PBR
* Fix integration testing of current change
* Update PBR testing for Noble
-------------------------------------------------------------------
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.
- Use stestr rather than pytest to run the testsuite.
-------------------------------------------------------------------
Tue Jan 2 22:34:18 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pbr
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%{?sle15_python_module_pythons}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -25,8 +24,14 @@
%define psuffix %{nil}
%bcond_with test
%endif
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-pbr%{psuffix}
Version: 6.0.0
Version: 6.1.1
Release: 0
Summary: Python Build Reasonableness
License: Apache-2.0
@@ -38,11 +43,16 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools >= 64.0.0
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: git-core
Obsoletes: python-pbr-doc
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%if %{with test}
# 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.
@@ -56,7 +66,6 @@ BuildRequires: %{python_module pbr = %{version}}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six >= 1.12.0}
BuildRequires: %{python_module stestr}
BuildRequires: %{python_module testresources >= 2.0.0}
BuildRequires: %{python_module testscenarios >= 0.4}
BuildRequires: %{python_module testtools >= 2.2.0}
@@ -87,8 +96,12 @@ sed -i '/coverage/d;/hacking/d' test-requirements.txt
export OS_TEST_TIMEOUT=60
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"
stestr run -E "($exclude)"
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}
@@ -105,6 +118,9 @@ stestr run -E "($exclude)"
%postun
%python_uninstall_alternative pbr
%pre
%python_libalternatives_reset_alternative pbr
%files %{python_files}
%license LICENSE
%doc AUTHORS ChangeLog CONTRIBUTING.rst README.rst