public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/python-magnumclient] rawhide: Update to v4.11.0
Date: Mon, 10 Aug 2026 09:49:18 GMT [thread overview]
Message-ID: <178635535864.1.815750568329145390.rpms-python-magnumclient-8dee36d6bc5f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-magnumclient
Branch : rawhide
Commit : 8dee36d6bc5ff377a23c6a7d3c564b49174cc4d0
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2026-08-10T10:44:19+02:00
Stats : +82/-134 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-magnumclient/c/8dee36d6bc5ff377a23c6a7d3c564b49174cc4d0?branch=rawhide
Log:
Update to v4.11.0
- Resolves: rhbz#2511009
- Package unretired in Fedora
---
diff --git a/.gitignore b/.gitignore
index a38d8fd..ff67e66 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,31 +1,3 @@
-/python-magnumclient-1.1.0.tar.gz
-/python-magnumclient-2.0.0.tar.gz
-/python-magnumclient-2.3.0.tar.gz
-/python-magnumclient-2.9.1.tar.gz
-/python-magnumclient-2.12.0.tar.gz
-/python-magnumclient-2.15.0.tar.gz
-/python-magnumclient-3.0.0.tar.gz
-/python-magnumclient-3.2.1.tar.gz
-/0x2426b928085a020d8a90d0d879ab7008d0896c8a.txt
-/python-magnumclient-3.2.1.tar.gz.asc
-/python-magnumclient-3.4.0.tar.gz
-/0x5d2d1e4fb8d38e6af76c50d53d4fec30cf5ce3da.txt
-/python-magnumclient-3.4.0.tar.gz.asc
-/python-magnumclient-3.6.0.tar.gz
-/0x01527a34f0d0080f8a5db8d6eb6c5df21b4b6363.txt
-/python-magnumclient-3.6.0.tar.gz.asc
-/python-magnumclient-4.0.0.tar.gz
-/0xa63ea142678138d1bb15f2e303bdfd64dd164087.txt
-/python-magnumclient-4.0.0.tar.gz.asc
-/python-magnumclient-4.1.0.tar.gz
-/0xa7475c5f2122fec3f90343223fe3bf5aad1080e4.txt
-/python-magnumclient-4.1.0.tar.gz.asc
-/python-magnumclient-4.2.0.tar.gz
-/0x815afec729392386480e076dcc0dfe2d21c023c9.txt
-/python-magnumclient-4.2.0.tar.gz.asc
-/python-magnumclient-4.4.0.tar.gz
-/0x2ef3fe0ec2b075ab7458b5f8b702b20b13df2318.txt
-/python-magnumclient-4.4.0.tar.gz.asc
-/python-magnumclient-4.7.0.tar.gz
-/0xf8675126e2411e7748dd46662fc2093e4682645f.txt
-/python-magnumclient-4.7.0.tar.gz.asc
+/0x*.txt
+/python_magnumclient-*.tar.gz
+/python_magnumclient-*.tar.gz.asc
diff --git a/python-magnumclient.rpmlintrc b/python-magnumclient.rpmlintrc
new file mode 100644
index 0000000..01b280e
--- /dev/null
+++ b/python-magnumclient.rpmlintrc
@@ -0,0 +1,14 @@
+
+
+addFilter("python-magnumclient.src: E: spelling-error \('mangumclient'")
+addFilter("python-magnumclient-doc.noarch: E: spelling-error \('mangumclient'")
+addFilter("python3-magnumclient.noarch: E: spelling-error \('mangumclient'")
+
+
+addFilter("python3-magnumclient.noarch: W: no-manual-page-for-binary magnum")
+
+# https://github.com/sphinx-doc/sphinx/issues/13734
+addFilter("python-magnumclient-doc.noarch: W: files-duplicate /usr/share/doc/python-magnumclient-doc/html/_static/images/openstack-logo-full.png /usr/share/doc/python-magnumclient-doc/html/_static/images/logo-full.png")
+addFilter("python-magnumclient-doc.noarch: W: files-duplicate /usr/share/doc/python-magnumclient-doc/html/_static/images/openstack-logo-full.svg /usr/share/doc/python-magnumclient-doc/html/_static/images/logo-full.svg")
+addFilter("python-magnumclient-doc.noarch: W: files-duplicate /usr/share/doc/python-magnumclient-doc/html/_static/images/openstack-logo-vert.png /usr/share/doc/python-magnumclient-doc/html/_static/images/logo-vert.png")
+addFilter("python-magnumclient-doc.noarch: W: files-duplicate /usr/share/doc/python-magnumclient-doc/html/_static/images/openstack-logo-vert.svg /usr/share/doc/python-magnumclient-doc/html/_static/images/logo-vert.svg")
diff --git a/python-magnumclient.spec b/python-magnumclient.spec
index 04ab9bb..0fcf6db 100644
--- a/python-magnumclient.spec
+++ b/python-magnumclient.spec
@@ -1,156 +1,118 @@
-%{!?sources_gpg: %{!?dlrn:%global sources_gpg 1} }
-%global sources_gpg_sign 0xf8675126e2411e7748dd46662fc2093e4682645f
-%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
-# we are excluding some BRs from automatic generator
-%global excluded_brs doc8 bandit pre-commit hacking flake8-import-order
-%global sname python-magnumclient
-%global pname magnumclient
-%global with_doc 1
-# Exclude sphinx from BRs if docs are disabled
-%if ! 0%{?with_doc}
-%global excluded_brs %{excluded_brs} sphinx openstackdocstheme
-%endif
-
-%if ! 0%{?rhel}
-%global excluded_brs %{excluded_brs} osprofiler
-%endif
+%global sources_gpg 1
+%global sources_gpg_sign 0x30566c450e41d7c91e442dfb231f942f608ddeff
-%global common_desc \
-This is a client library for Magnum built on the Magnum API. \
-It provides a Python API (the magnumclient module) and a \
-command-line tool (magnum).
+%global sname magnumclient
+%global with_doc 1
-%global common_desc_tests Python-magnumclient test subpackage
+%global _description %{expand:
+This is the client library for Magnum built on the Magnum API.
+It provides a Python API ( the mangumclient module ) and a
+command line tool (magnum).}
-Name: python-%{pname}
-Version: 4.7.0
-Release: %autorelease
-Summary: Client library for Magnum API
-License: Apache-2.0
-URL: https://launchpad.net/python-magnumclient
-Source0: https://tarballs.openstack.org/%{sname}/%{sname}-%{upstream_version}.tar.gz
+Name: python-%{sname}
+Version: 4.11.0
+Release: %autorelease
+Summary: Python API and CLI for the Magnum Client
+License: Apache-2.0
+URL: https://launchpad.net/%{name}
+Source0: https://tarballs.openstack.org/%{name}/python_%{sname}-%{version}.tar.gz
# Required for tarball sources verification
%if 0%{?sources_gpg} == 1
-Source101: https://tarballs.openstack.org/%{sname}/%{sname}-%{upstream_version}.tar.gz.asc
+Source101: https://tarballs.openstack.org/%{name}/python_%{sname}-%{version}.tar.gz.asc
Source102: https://releases.openstack.org/_static/%{sources_gpg_sign}.txt
%endif
-BuildArch: noarch
+
+BuildArch: noarch
# Required for tarball sources verification
%if 0%{?sources_gpg} == 1
-BuildRequires: /usr/bin/gpgv2
+BuildRequires: /usr/bin/gpgv2
%endif
-%description
-%{common_desc}
+BuildRequires: git-core
+BuildRequires: python3-devel
+
+
+%description %{_description}
-%package -n python3-%{pname}
-Summary: Client library for Magnum API
-BuildRequires: python3-devel
-BuildRequires: pyproject-rpm-macros
-BuildRequires: git-core
+%package -n python3-%{sname}
+Summary: %{summary}
+
+
+%description -n python3-%{sname} %{_description}
-%description -n python3-%{pname}
-%{common_desc}
%if 0%{?with_doc}
-%package -n python-%{pname}-doc
-Summary: python-magnumclient documentation
+%package doc
+Summary: Documentation for OpenStack Magnum API Client
-%description -n python-%{pname}-doc
-Documentation for python-magnumclient
-%endif
-%package -n python3-%{pname}-tests
-Summary: Python-magnumclient test subpackage
-
-Requires: python3-%{pname} = %{version}-%{release}
-Requires: python3-oslo-utils
-Requires: python3-stevedore
-Requires: python3-requests
-Requires: python3-oslo-i18n
-Requires: python3-fixtures
-Requires: python3-mock
-Requires: python3-testtools
-Requires: python3-keystoneauth1
-Requires: python3-prettytable
-Requires: python3-stestr
-%if 0%{?rhel}
-Requires: python3-osprofiler
+%description doc
+%{_description}
+
+This package contains auto-generated documentation.
%endif
-%description -n python3-%{pname}-tests
-%{common_desc_tests}
%prep
-# Required for tarball sources verification
%if 0%{?sources_gpg} == 1
%{gpgverify} --keyring=%{SOURCE102} --signature=%{SOURCE101} --data=%{SOURCE0}
%endif
-%autosetup -n %{name}-%{upstream_version} -S git
-
+%autosetup -n python_%{sname}-%{version} -S git
+# Ignore global online constraints file
sed -i /^[[:space:]]*-c{env:.*_CONSTRAINTS_FILE.*/d tox.ini
-sed -i "s/^deps = -c{env:.*_CONSTRAINTS_FILE.*/deps =/" tox.ini
-sed -i /^minversion.*/d tox.ini
-sed -i /^requires.*virtualenv.*/d tox.ini
-
-# Exclude some bad-known BRs
-for pkg in %{excluded_brs}; do
- for reqfile in doc/requirements.txt test-requirements.txt; do
- if [ -f $reqfile ]; then
- sed -i /^${pkg}.*/d $reqfile
- fi
- done
-done
-
-# Automatic BR generation
+
+# Drop dependencies for lint, coverage, ...
+%pyproject_patch_dependency reno:ignore
+%pyproject_patch_dependency hacking:ignore
+%pyproject_patch_dependency coverage:ignore
+%pyproject_patch_dependency bandit:ignore
+%pyproject_patch_dependency osprofiler:ignore
+
+
%generate_buildrequires
%if 0%{?with_doc}
- %pyproject_buildrequires -t -e %{default_toxenv},docs
+%pyproject_buildrequires -t -e %{default_toxenv},docs
%else
- %pyproject_buildrequires -t -e %{default_toxenv}
+%pyproject_buildrequires -t -e %{default_toxenv}
%endif
+
%build
%pyproject_wheel
+
+%install
+%pyproject_install
+
+%pyproject_save_files -l %{sname}
+
+
%if 0%{?with_doc}
-# generate html docs
%tox -e docs
# Fix hidden-file-or-dir warnings
-rm -rf doc/build/html/.{doctrees,buildinfo}
+rm -fr doc/build/html/.doctrees doc/build/html/.buildinfo doc/build/html/.htaccess
%endif
-%install
-%pyproject_install
%check
-%if 0%{?rhel}
%tox -e %{default_toxenv}
-%else
-%tox -e %{default_toxenv} || true
-%endif
-%files -n python3-%{pname}
-%doc README.rst
-%license LICENSE
-%{python3_sitelib}/%{pname}
+%files -n python3-%{sname} -f %{pyproject_files}
+%doc ChangeLog README.rst
%{_bindir}/magnum
-%{python3_sitelib}/*.dist-info
-%exclude %{python3_sitelib}/%{pname}/tests
+
%if 0%{?with_doc}
-%files -n python-%{pname}-doc
-%license LICENSE
+%files doc
%doc doc/build/html
+%license LICENSE
%endif
-%files -n python3-%{pname}-tests
-%{python3_sitelib}/%{pname}/tests
%changelog
%autochangelog
diff --git a/sources b/sources
index 7cf183c..36cc39c 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (python-magnumclient-4.7.0.tar.gz) = 2ad3fbfcdd0e8deae6b4741f201ff6930abd77774107d28246307b6b86023441036bd12a542e60a82a6323f4615b0532fb6d8a298b8858b14067cf9c77f4d24d
-SHA512 (0xf8675126e2411e7748dd46662fc2093e4682645f.txt) = 1e9471d80d44bb3570b8054e845583b4c06f7177dc4fa8a5907e6185806ce794a594bf42d5c336ee20004a58e53748f275b749816e75f4cc3b9fecb8075ccbdf
-SHA512 (python-magnumclient-4.7.0.tar.gz.asc) = fe877e405b3382c50d3496f3213bfbd3d8719b506384120ac0fe50896fd13ed4e2178c14735459b73a6f9ba862fdcc8429b54aac83cd635cbfea91f331c0627d
+SHA512 (0x30566c450e41d7c91e442dfb231f942f608ddeff.txt) = 8a8ec343aa8a03aef957efde28c50454ddb911382c912189783ba0f49cd1b6f15fbe2506d30a167468f944ea970fdefe8eec4d2be2c5683c37be000babfb802d
+SHA512 (python_magnumclient-4.11.0.tar.gz) = b92132a02ee9a15919d34360769a25a4ad4a373eedd271ffd9129dc86baa454e129b3f677ff71d887d402c562211a5a509fac05eb35649e7f9443c33f2634548
+SHA512 (python_magnumclient-4.11.0.tar.gz.asc) = d346204062df8d273cab1e97e6b2f623aae699d2e67ceb0d8624db3a40e7d9a5b25caa2397bdc7a5c351643d09d9d1190930d0279489d2fb35dedb0c4b8e5e14
reply other threads:[~2026-08-10 9:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178635535864.1.815750568329145390.rpms-python-magnumclient-8dee36d6bc5f@fedoraproject.org \
--to=steve.traylen@cern.ch \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox