Compare commits

2 Commits
1.1 ... main

5 changed files with 87 additions and 16 deletions

BIN
pip-24.2-gh.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pip-25.0.1-gh.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -3,10 +3,10 @@
tests/unit/test_options.py | 5 +
2 files changed, 13 insertions(+), 97 deletions(-)
Index: pip-24.1.1/src/pip/_vendor/certifi/core.py
Index: pip-24.3.1/src/pip/_vendor/certifi/core.py
===================================================================
--- pip-24.1.1.orig/src/pip/_vendor/certifi/core.py
+++ pip-24.1.1/src/pip/_vendor/certifi/core.py
--- pip-24.3.1.orig/src/pip/_vendor/certifi/core.py
+++ pip-24.3.1/src/pip/_vendor/certifi/core.py
@@ -3,112 +3,15 @@ certifi.py
~~~~~~~~~~
@@ -128,25 +128,25 @@ Index: pip-24.1.1/src/pip/_vendor/certifi/core.py
- return read_text("pip._vendor.certifi", "cacert.pem", encoding="ascii")
+def contents() -> str:
+ return read_text(encoding="ascii")
Index: pip-24.1.1/tests/unit/test_options.py
Index: pip-24.3.1/tests/unit/test_options.py
===================================================================
--- pip-24.1.1.orig/tests/unit/test_options.py
+++ pip-24.1.1/tests/unit/test_options.py
--- pip-24.3.1.orig/tests/unit/test_options.py
+++ pip-24.3.1/tests/unit/test_options.py
@@ -1,4 +1,5 @@
import os
+import os.path
from contextlib import contextmanager
from optparse import Values
from tempfile import NamedTemporaryFile
@@ -11,6 +12,7 @@ from pip._internal.cli.main import main
@@ -10,6 +11,7 @@ import pip._internal.configuration
from pip._internal.cli.main import main
from pip._internal.commands import create_command
from pip._internal.commands.configuration import ConfigurationCommand
from pip._internal.exceptions import PipError
+from pip._vendor.certifi import where
from pip._internal.exceptions import PipError
from tests.lib.options_helpers import AddFakeCommandMixin
@@ -617,6 +619,9 @@ class TestOptionsConfigFiles:
@@ -618,6 +620,9 @@ class TestOptionsConfigFiles:
else:
assert expect == cmd._determine_file(options, need_value=False)

View File

@@ -1,3 +1,74 @@
-------------------------------------------------------------------
Thu Apr 17 12:40:51 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
- update to 25.0.1
* Fix an unsupported type annotation on Python 3.10 and earlier.
(#13181)
* Fix a regression where truststore would never be used while
installing build dependencies. (#13186)
* Deprecate the no-python-version-warning flag as it has long done
nothing since Python 2 support was removed in pip 21.0. (#13154)
* Prefer to display PEP 639 License-Expression in pip show if
metadata version is at least 2.4. (#13112)
* Support PEP 639 License-Expression and License-File metadata
fields in JSON output. pip inspect and pip install --report now
emit license_expression and license_file fields in the metadata
object, if the corresponding fields are present in the installed
METADATA file. (#13134)
* Files in the network cache will inherit the read/write permissions
of pips cache directory (in addition to the current user retaining
read/write access). This enables a single cache to be shared among
multiple users. (#11012)
* Return the size, along with the number, of files cleared on pip
cache purge and pip cache remove (#12176)
* Cache python-requires checks while filtering potential installation
candidates. (#13128)
* Optimize package collection by avoiding unnecessary URL parsing and
other processing. (#13132)
* Reorder the encoding detection when decoding a requirements file,
relying on UTF-8 over the locale encoding by default, matching the
documented behaviour. (#12771)
* The pip version self check is disabled on EXTERNALLY-MANAGED
environments. (#11820)
* Fix a security bug allowing a specially crafted wheel to execute
code during installation. (#13079)
* The inclusion of packaging 24.2 changes how pre-release specifiers
with < and > behave. Including a pre-release version with these
specifiers now implies accepting pre-releases (e.g., <2.0dev can
include 1.0rc1). To avoid implying pre-releases, avoid specifying
them (e.g., use <2.0). The exception is !=, which never implies
pre-releases. (#13163)
* The --cert and --client-cert command-line options are now
respected while installing build dependencies. Consequently, the
private _PIP_STANDALONE_CERT environment variable is no longer
used. (#5502)
* The --proxy command-line option is now respected while installing
build dependencies. (#6018)
-------------------------------------------------------------------
Wed Oct 30 08:10:12 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 24.3.1:
* Allow multiple nested inclusions of the same requirements
file again.
* Deprecate wheel filenames that are not compliant with PEP
440.
* Detect recursively referencing requirements files and help
users identify the source.
* Support for PEP 730 iOS wheels.
* Display a better error message when an already installed
package has an invalid requirement.
* Ignore PIP_TARGET and pip.conf global.target when preparing a
build environment.
* Restore support for macOS 10.12 and older (via truststore).
* Allow installing pip in editable mode in a virtual
environment on Windows.
* Upgrade certifi to 2024.8.30
* Upgrade distlib to 0.3.9
* Upgrade truststore to 0.10.0
* Upgrade urllib3 to 1.26.20
-------------------------------------------------------------------
Mon Sep 23 11:21:24 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pip
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -33,7 +33,7 @@
%define mypython python
%{?sle15_python_module_pythons}
Name: python-pip%{psuffix}
Version: 24.2
Version: 25.0.1
Release: 0
Summary: A Python package management system
License: MIT