forked from pool/python-pbr
Compare commits
12 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 99f4c63a58 | |||
| d5e1963021 | |||
| 647e266f01 | |||
| a4297d1cab | |||
| 93446fb4f7 | |||
| 2d29b4dd01 | |||
| b1ca1443e7 | |||
| b1a472c5c5 | |||
| def38db9e9 | |||
| 35aec60cfd | |||
| 556d8204eb | |||
| bafe828fd1 |
@@ -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
3
pbr-7.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3ecbcb11d2b8551588ec816b3756b1eb4394186c3b689b17e04850dfc20f7e57
|
||||||
|
size 130086
|
||||||
@@ -1,3 +1,93 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Mon May 13 05:17:26 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pbr
|
# 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
|
# 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
|
||||||
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
@@ -25,8 +24,14 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pbr%{psuffix}
|
Name: python-pbr%{psuffix}
|
||||||
Version: 6.0.0
|
Version: 7.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python Build Reasonableness
|
Summary: Python Build Reasonableness
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@@ -38,11 +43,16 @@ BuildRequires: %{python_module wheel}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-setuptools >= 64.0.0
|
Requires: python-setuptools >= 64.0.0
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
Recommends: git-core
|
Recommends: git-core
|
||||||
Obsoletes: python-pbr-doc
|
Obsoletes: python-pbr-doc
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
# Package originates from OpenStack and depends on other OpenStack packages for testing.
|
# 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.
|
# 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 pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module six >= 1.12.0}
|
BuildRequires: %{python_module six >= 1.12.0}
|
||||||
BuildRequires: %{python_module stestr}
|
|
||||||
BuildRequires: %{python_module testresources >= 2.0.0}
|
BuildRequires: %{python_module testresources >= 2.0.0}
|
||||||
BuildRequires: %{python_module testscenarios >= 0.4}
|
BuildRequires: %{python_module testscenarios >= 0.4}
|
||||||
BuildRequires: %{python_module testtools >= 2.2.0}
|
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
|
export OS_TEST_TIMEOUT=60
|
||||||
exclude="parse_requirements|requirement_parsing|pep_517_support|"
|
exclude="parse_requirements|requirement_parsing|pep_517_support|"
|
||||||
exclude+="write_git_changelog|build_doc|cmd_builder_override|"
|
exclude+="write_git_changelog|build_doc|cmd_builder_override|"
|
||||||
exclude+="extras_parsing|project_url_parsing|keywords_parsing"
|
exclude+="extras_parsing|project_url_parsing|keywords_parsing|"
|
||||||
stestr run -E "($exclude)"
|
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
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
@@ -105,6 +118,9 @@ stestr run -E "($exclude)"
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative pbr
|
%python_uninstall_alternative pbr
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative pbr
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc AUTHORS ChangeLog CONTRIBUTING.rst README.rst
|
%doc AUTHORS ChangeLog CONTRIBUTING.rst README.rst
|
||||||
|
|||||||
Reference in New Issue
Block a user