public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pip] f45: Allow flit-core 4 for building this package
@ 2026-08-27  9:46 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-27  9:46 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-pip
Branch : f45
Commit : c05c4a66bbcec89de43f9022868cc899f44900a8
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2026-08-20T20:16:00+02:00
Stats  : +42/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pip/c/c05c4a66bbcec89de43f9022868cc899f44900a8?branch=f45

Log:
Allow flit-core 4 for building this package

---
diff --git a/09a03f6cfa.patch b/09a03f6cfa.patch
new file mode 100644
index 0000000..b6369a6
--- /dev/null
+++ b/09a03f6cfa.patch
@@ -0,0 +1,38 @@
+From 09a03f6cfaeecae8bf5774ae371d37c4369e2da4 Mon Sep 17 00:00:00 2001
+From: Damian Shaw <damian.peter.shaw@gmail.com>
+Date: Sat, 15 Aug 2026 13:36:05 -0400
+Subject: [PATCH] Allow flit-core 4 to build pip
+
+---
+ pyproject.toml | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 48f64c8018..fe6b39913d 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -45,13 +45,13 @@ Source = "https://github.com/pypa/pip"
+ Changelog = "https://pip.pypa.io/en/stable/news/"
+ 
+ [build-system]
+-requires = ["flit-core >=3.11,<4"]
++requires = ["flit-core >=3.11,<5"]
+ build-backend = "flit_core.buildapi"
+ 
+ [dependency-groups]
+ test = [
+     "cryptography",
+-    "flit-core >= 3.11, < 4",
++    "flit-core >= 3.11, < 5",
+     "freezegun",
+     "installer",
+     # pytest-subket requires 7.0+
+@@ -69,7 +69,7 @@ test = [
+ ]
+ 
+ test-common-wheels = [
+-    "flit-core >= 3.11, < 4",
++    "flit-core >= 3.11, < 5",
+     # We pin setuptools<80 because our test suite currently
+     # depends on setup.py develop to generate egg-link files.
+     "setuptools >= 70.1.0, <80",

diff --git a/python-pip.spec b/python-pip.spec
index cf3940e..61fd6d1 100644
--- a/python-pip.spec
+++ b/python-pip.spec
@@ -107,6 +107,10 @@ Patch:          https://github.com/pypa/pip/commit/6099a54ddd.patch
 # wrong installation.
 Patch:          https://github.com/pypa/pip/commit/4c6d7471de.patch
 
+# Allow flit-core 4 to build pip
+# https://github.com/pypa/pip/commit/09a03f6cfa (non-existing files removed)
+Patch:          09a03f6cfa.patch
+
 # Remove -s from Python shebang - ensure that packages installed with pip
 # to user locations are seen by pip itself
 %undefine _py3_shebang_s

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-27  9:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-27  9:46 [rpms/python-pip] f45: Allow flit-core 4 for building this package 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox