public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pip] rawhide: Update to 26.3
@ 2026-11-11 13:28
0 siblings, 0 replies; only message in thread
From: @ 2026-11-11 13:28 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pip
Branch : rawhide
Commit : 0a744b31f8d369556dc1ded86edf4b05f5e31fa6
Author : Tomáš Hrnčiar <thrnciar@redhat.com>
Date : 2026-11-11T13:25:28+00:00
Stats : +16/-126 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-pip/c/0a744b31f8d369556dc1ded86edf4b05f5e31fa6?branch=rawhide
Log:
Update to 26.3
- Fixes: rhbz#2556339
---
diff --git a/09a03f6cfa.patch b/09a03f6cfa.patch
deleted file mode 100644
index b6369a6..0000000
--- a/09a03f6cfa.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-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/14301.patch b/14301.patch
deleted file mode 100644
index ab0607d..0000000
--- a/14301.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From 9f88eb8a9bf2f3e76c552178f3d58203d4296810 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
-Date: Mon, 7 Sep 2026 12:23:09 +0200
-Subject: [PATCH] Explicitly set the level of captured logging in
- test_keyring_cli_outdated_version
-
-When updating pip from 26.1.2 to 26.2.1 in Fedora,
-we realized that the test_keyring_cli_outdated_version test is flaky.
-This is not necessarily new in 26.2.1, we just noticed it now.
-
-Often 1 or more of the parametrized runs fail with:
-
- AssertionError: assert 7 == 1
-
-This is caused by VERBOSE and DEBUG log messages:
-
- ------------------------------ Captured log call -------------------------------
- DEBUG pip._internal.network.auth:auth.py:381 Found index url http://example.com/path2/
- VERBOSE pip._internal.network.auth:_log.py:23 Keyring provider requested: subprocess
- VERBOSE pip._internal.network.auth:_log.py:23 Keyring provider set: subprocess with executable keyring
- DEBUG pip._internal.network.auth:auth.py:294 Keyring is skipped due to an exception
- Traceback (most recent call last):
- File ".../usr/lib/python3.15/site-packages/pip/_internal/network/auth.py", line 290, in _get_keyring_auth
- return self.keyring_provider.get_auth_info(url, username)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
- File ".../usr/lib/python3.15/site-packages/pip/_internal/network/auth.py", line 122, in get_auth_info
- return self._get_creds(url, username)
- ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
- File ".../usr/lib/python3.15/site-packages/pip/_internal/network/auth.py", line 154, in _get_creds
- raise RuntimeError(
- ...<2 lines>...
- )
- RuntimeError: Keyring util is outdated; must be at least version 25.2.1, please upgrade it
- WARNING pip._internal.network.auth:auth.py:296 Keyring is skipped due to an exception: Keyring util is outdated; must be at least version 25.2.1, please upgrade it
- VERBOSE pip._internal.network.auth:_log.py:23 Keyring provider requested: subprocess
- VERBOSE pip._internal.network.auth:_log.py:23 Keyring provider set: disabled
-
-We run the test suite with pytest-xdist and it seems to me that other tests
-are manipulating the log level,
-and the flakiness depends on which worker runs which tests.
-
-Set the log level explicitly to make the assumptions of the test more sane.
----
- tests/unit/test_network_auth.py | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/tests/unit/test_network_auth.py b/tests/unit/test_network_auth.py
-index d10130510e..216b9e03e5 100644
---- a/tests/unit/test_network_auth.py
-+++ b/tests/unit/test_network_auth.py
-@@ -4,6 +4,7 @@
- import contextlib
- import functools
- import json
-+import logging
- import os
- import subprocess
- import sys
-@@ -713,6 +714,8 @@ def test_keyring_cli_outdated_version(
- url: str,
- expect: tuple[str | None, str | None],
- ) -> None:
-+ caplog.set_level(logging.INFO)
-+
- keyring_subprocess = KeyringSubprocessResult()
- keyring_subprocess.old_version = True
-
diff --git a/python-pip.spec b/python-pip.spec
index 12dcfdd..a7acc7c 100644
--- a/python-pip.spec
+++ b/python-pip.spec
@@ -6,7 +6,7 @@
%bcond man 1
%global srcname pip
-%global base_version 26.2.1
+%global base_version 26.3
%global upstream_version %{base_version}%{?prerel}
%global python_wheel_name %{srcname}-%{upstream_version}-py3-none-any.whl
@@ -95,13 +95,6 @@ Patch: dummy-certifi.patch
# We don't need a layer to check that, as we're by default in an offline environment
Patch: downstream-remove-pytest-subket.patch
-# Allow flit-core 4 to build pip
-# https://github.com/pypa/pip/commit/09a03f6cfa (non-existing files removed)
-Patch: 09a03f6cfa.patch
-
-# Fix for flaky test_keyring_cli_outdated_version, proposed upstream.
-Patch: https://github.com/pypa/pip/pull/14301.patch
-
# Remove -s from Python shebang - ensure that packages installed with pip
# to user locations are seen by pip itself
%undefine _py3_shebang_s
@@ -119,23 +112,23 @@ Packages" or "Pip Installs Python".
# %%{_rpmconfigdir}/pythonbundles.py --namespace 'python%%{1}dist' src/pip/_vendor/vendor.txt
%global bundled() %{expand:
Provides: bundled(python%{1}dist(cachecontrol)) = 0.14.4
-Provides: bundled(python%{1}dist(certifi)) = 2026.6.17
-Provides: bundled(python%{1}dist(distlib)) = 0.4.2
+Provides: bundled(python%{1}dist(certifi)) = 2026.10.23
+Provides: bundled(python%{1}dist(distlib)) = 0.4.4
Provides: bundled(python%{1}dist(distro)) = 1.9
-Provides: bundled(python%{1}dist(idna)) = 3.18
-Provides: bundled(python%{1}dist(msgpack)) = 1.1.2
-Provides: bundled(python%{1}dist(packaging)) = 26.2
-Provides: bundled(python%{1}dist(platformdirs)) = 4.10
-Provides: bundled(python%{1}dist(pygments)) = 2.20
-Provides: bundled(python%{1}dist(pyproject-hooks)) = 1.2
+Provides: bundled(python%{1}dist(idna)) = 3.20
+Provides: bundled(python%{1}dist(msgpack)) = 1.2.4
+Provides: bundled(python%{1}dist(packaging)) = 26.3
+Provides: bundled(python%{1}dist(platformdirs)) = 4.12.4
+Provides: bundled(python%{1}dist(pygments)) = 2.21
+Provides: bundled(python%{1}dist(pyproject-hooks)) = 1.3.3
Provides: bundled(python%{1}dist(requests)) = 2.34.2
Provides: bundled(python%{1}dist(resolvelib)) = 1.2.1
-Provides: bundled(python%{1}dist(rich)) = 14.2
+Provides: bundled(python%{1}dist(rich)) = 15
Provides: bundled(python%{1}dist(setuptools)) = 70.3
-Provides: bundled(python%{1}dist(tomli)) = 2.4.1
+Provides: bundled(python%{1}dist(tomli)) = 2.3.2
Provides: bundled(python%{1}dist(tomli-w)) = 1.2
-Provides: bundled(python%{1}dist(truststore)) = 0.10.4
-Provides: bundled(python%{1}dist(urllib3)) = 2.7
+Provides: bundled(python%{1}dist(truststore)) = 0.10.5
+Provides: bundled(python%{1}dist(urllib3)) = 2.8
}
# Some manylinux1 wheels need libcrypt.so.1.
@@ -328,6 +321,8 @@ pytest_k="$pytest_k and not test_check_unsupported"
# these require cmake/keyring wheels not available locally
pytest_k="$pytest_k and not test_build_env_can_still_access_python_tools_on_system_path"
pytest_k="$pytest_k and not test_build_dependency_install_uses_same_keyring_as_root"
+# this requires the rich wheel (added to test-common-wheels in 26.3) not available locally
+pytest_k="$pytest_k and not debundled"
%pytest -n auto -m 'not network' -k "$(echo $pytest_k)" \
--ignore tests/functional/test_proxy.py # no proxy.py in Fedora
diff --git a/sources b/sources
index 1c36098..ddae058 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
+SHA512 (pip-26.3.tar.gz) = d0b1d34f0e94e90914d1a407015dcab373537f54177579a1e311335f9ff00bd0efca3825075ada0b983e3bc70812bc70050f803e8d5c682f03ea0b3bf51b01ac
SHA512 (setuptools-79.0.1-py3-none-any.whl) = fef6cfc6f95a5bb7320f1680e1c665cb8d9a4e4227cde4d8aab8a50bed4bcf04320085b9d7d5343359f887008db5c5a861e57f3d08b7b0b2311a28adaeee6b4a
SHA512 (flit_core-3.12.0-py3-none-any.whl) = 790c12b1f43201e365fb3f8f2f0a54e1a578876799dfdf8bfeea679a25ea096bf62946d006618c1458ae6e37ce6d00998f37e9aba426d5ab80d32ef2d75da4e0
SHA512 (coverage-0-py3-none-any.whl) = e734192565347010efe68f8ba600254259c9b647f3c553fd4e5d87b1d7f955cb15d6f7d807716f4a6415d239beed945fbec7210feaf502e9cc849c332845926e
-SHA512 (pip-26.2.1.tar.gz) = 03a00bdc4387a4e7e4e54672e9198893500d279912ece4cd144f015c568c974ecc2c3c7bd6abf108df852302ddd49468ef0bc514ca4323ee037d754e2fbfaee0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-11 13:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11 13:28 [rpms/python-pip] rawhide: Update to 26.3
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox