14
0
forked from pool/python-pbr

12 Commits

Author SHA256 Message Date
99f4c63a58 Accepting request 1306371 from devel:languages:python
- update to 7.0.1:
  * util: Deprecate description\_file
  * util: Skip normalization of description if README opts
    present
  * util: Make handling of description\_file clearer
  * util: Fix deprecation warnings
  * Remove duplicate line in test\_generates\_c\_extensions
  * Update setup.cfg usage docs to explain pbr vs setuptools
    better
  * Silence Python warnings
  * Do not use the onerror parameter in shutil.rmtree()
  * docs: Remove deprecated options
  * tox: Stop calling 'setup.py'
  * Deprecate 'tests\_require' option
  * Deprecate various '[backwards\_compat]' options
  * Deprecate various '[metadata]' options
  * Deprecate '[files]' section
  * Deprecate '[entry\_points]' section
  * docs: Update usage guide and README
  * Move functional tests to their own directory
  * Move distutils commands to \_compat
  * Use sysconfig for sitedir path in test\_wsgi in py3
  * Remove support for custom compilers
  * Move fixtures to their own module
  * Remove 'test' distutils command override
  * Cleanup removal of 'build\_sphinx' command doc
  * Use packaging where possible
  * Use importlib.metadata where possible
  * Tweak loading distribution version
  * Centralise Python 2/3 compat code

OBS-URL: https://build.opensuse.org/request/show/1306371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbr?expand=0&rev=74
2025-09-23 14:05:42 +00:00
d5e1963021 - update to 7.0.1:
* util: Deprecate description\_file
  * util: Skip normalization of description if README opts
    present
  * util: Make handling of description\_file clearer
  * util: Fix deprecation warnings
  * Remove duplicate line in test\_generates\_c\_extensions
  * Update setup.cfg usage docs to explain pbr vs setuptools
    better
  * Silence Python warnings
  * Do not use the onerror parameter in shutil.rmtree()
  * docs: Remove deprecated options
  * tox: Stop calling 'setup.py'
  * Deprecate 'tests\_require' option
  * Deprecate various '[backwards\_compat]' options
  * Deprecate various '[metadata]' options
  * Deprecate '[files]' section
  * Deprecate '[entry\_points]' section
  * docs: Update usage guide and README
  * Move functional tests to their own directory
  * Move distutils commands to \_compat
  * Use sysconfig for sitedir path in test\_wsgi in py3
  * Remove support for custom compilers
  * Move fixtures to their own module
  * Remove 'test' distutils command override
  * Cleanup removal of 'build\_sphinx' command doc
  * Use packaging where possible
  * Use importlib.metadata where possible
  * Tweak loading distribution version
  * Centralise Python 2/3 compat code

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=172
2025-09-21 19:37:44 +00:00
647e266f01 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
a4297d1cab - 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
93446fb4f7 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
2d29b4dd01 - 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
b1ca1443e7 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
b1a472c5c5 - 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/package/show/devel:languages:python/python-pbr?expand=0&rev=166
2025-02-12 10:42:30 +00:00
def38db9e9 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
35aec60cfd - 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
556d8204eb 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
bafe828fd1 - 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 118 additions and 12 deletions

View File

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

3
pbr-7.0.1.tar.gz Normal file
View File

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

View File

@@ -1,7 +1,97 @@
-------------------------------------------------------------------
Sun Sep 21 19:37:25 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 7.0.1:
* util: Deprecate description\_file
* util: Skip normalization of description if README opts
present
* util: Make handling of description\_file clearer
* util: Fix deprecation warnings
* Remove duplicate line in test\_generates\_c\_extensions
* Update setup.cfg usage docs to explain pbr vs setuptools
better
* Silence Python warnings
* Do not use the onerror parameter in shutil.rmtree()
* docs: Remove deprecated options
* tox: Stop calling 'setup.py'
* Deprecate 'tests\_require' option
* Deprecate various '[backwards\_compat]' options
* Deprecate various '[metadata]' options
* Deprecate '[files]' section
* Deprecate '[entry\_points]' section
* docs: Update usage guide and README
* Move functional tests to their own directory
* Move distutils commands to \_compat
* Use sysconfig for sitedir path in test\_wsgi in py3
* Remove support for custom compilers
* Move fixtures to their own module
* Remove 'test' distutils command override
* Cleanup removal of 'build\_sphinx' command doc
* Use packaging where possible
* Use importlib.metadata where possible
* Tweak loading distribution version
* Centralise Python 2/3 compat code
* Add \_\_future\_\_ imports
* Resolve post-black issues
* Add black
* docs: Remove use of sphinxcontrib-apidoc
* Don't pin setuptools for all tests
* pre-commit: Bump versions
* tests: Skip tests that break on newer setuptools
* Add openstack-tox-py313 job
* tests: Set GNUPGHOME in tests
* tests: Add hint if running integration tests locally
* Modernize tests to use EXT\_SUFFIX, fix PyPy
-------------------------------------------------------------------
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 and contributors
#
# 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: 7.0.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