public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python3.9] f43: Make the pip/setuptools version macros importpatches-compatible
Date: Thu, 02 Jul 2026 14:04:04 GMT [thread overview]
Message-ID: <178300104499.1.17159547850075020962.rpms-python3.9-aee14b5c6b9f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python3.9
Branch : f43
Commit : aee14b5c6b9f71b0eb831dfd0ff55cd875c3a6f9
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-07-02T11:06:29+02:00
Stats : +7/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python3.9/c/aee14b5c6b9f71b0eb831dfd0ff55cd875c3a6f9?branch=f43
Log:
Make the pip/setuptools version macros importpatches-compatible
---
diff --git a/python3.9.spec b/python3.9.spec
index 093f6e9..6416a4f 100644
--- a/python3.9.spec
+++ b/python3.9.spec
@@ -76,9 +76,7 @@ License: Python-2.0.1 AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC A
%endif
# If the rpmwheels condition is disabled, we use the bundled wheel packages
-# from Python with the versions below.
-%global pip_version 23.0.1
-%global setuptools_version 79.0.1
+# from Python with the versions defined near patch 189.
# All of those also include a list of indirect bundled libs:
# pip
# $ %%{_rpmconfigdir}/pythonbundles.py <(unzip -p Lib/ensurepip/_bundled/pip-*.whl pip/_vendor/vendor.txt)
@@ -433,6 +431,12 @@ Patch111: 00111-no-static-lib.patch
# Downstream only: upstream bundles
# We might eventually pursuit upstream support, but it's low prio
Patch189: 00189-use-rpm-wheels.patch
+# The following versions of setuptools/pip are bundled when this patch is not applied.
+# The versions are written in Lib/ensurepip/__init__.py, this patch removes them.
+# When the bundled setuptools/pip wheel is updated, the patch no longer applies cleanly.
+# In such cases, the patch needs to be amended and the versions updated here:
+%global pip_version 23.0.1
+%global setuptools_version 79.0.1
# 00251 # 1b1047c14ff98eae6d355b4aac4df3e388813f62
# Change user install location
reply other threads:[~2026-07-02 14:04 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=178300104499.1.17159547850075020962.rpms-python3.9-aee14b5c6b9f@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