public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/ansible-core] f44: Don't use the deprecated setuptools80 compatibility package
Date: Thu, 11 Jun 2026 21:30:14 GMT [thread overview]
Message-ID: <178121341436.1.7807275289662247625.rpms-ansible-core-7e7d8ef4d53d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ansible-core
Branch : f44
Commit : 7e7d8ef4d53df5e105eb5aa6c835fcfe47a3c5cc
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-05-21T11:34:52+02:00
Stats : +3/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ansible-core/c/7e7d8ef4d53df5e105eb5aa6c835fcfe47a3c5cc?branch=f44
Log:
Don't use the deprecated setuptools80 compatibility package
- Relax all setuptools version constraints
Note that %pyproject_patch_dependency is still *provisional*.
If that is undesired, I can replace it with a sed call.
However, using tomcli is not an option,
as we want to avoid the compat package even in ELN/future RHEL.
See also https://github.com/fedora-eln/eln/issues/529
---
diff --git a/ansible-core.spec b/ansible-core.spec
index 835a097..2d2c93a 100644
--- a/ansible-core.spec
+++ b/ansible-core.spec
@@ -55,12 +55,6 @@ Provides: bundled(python3dist(six)) = 1.17.0
Provides: bundled(python3dist(wrapt)) = 1.17.2
BuildRequires: python%{python3_pkgversion}-devel
-# This is only used in %%prep to relax the required setuptools version,
-# which is not necessary in RHEL 10+.
-# Not using it in RHEL avoids unwanted dependencies.
-%if %{undefined rhel}
-BuildRequires: tomcli >= 0.3.0
-%endif
# Needed to build manpages from source.
BuildRequires: python%{python3_pkgversion}-docutils
@@ -102,12 +96,9 @@ This package installs extensive documentation for ansible-core
%prep
%autosetup -p1 -n ansible-%{uversion} -a1
-# Relax setuptools constraint on Fedora
-# Future RHELs have new enough setuptools
-%if %{undefined rhel}
-tomcli-set pyproject.toml lists replace \
- 'build-system.requires' 'setuptools >=.*' 'setuptools'
-%endif
+# Drop setuptools constraints
+# (rawhide might have newer setuptools, older releases might have older)
+%pyproject_patch_dependency setuptools:drop_constraints
sed -i -s 's|/usr/bin/env python|%{python3}|' \
bin/ansible-test \
reply other threads:[~2026-06-11 21:30 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=178121341436.1.7807275289662247625.rpms-ansible-core-7e7d8ef4d53d@fedoraproject.org \
--to=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