Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
@ -7,7 +7,7 @@ Index: pip-24.2/src/pip/_vendor/requests/adapters.py
|
||||
extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)
|
||||
)
|
||||
-except ImportError:
|
||||
+except (ImportError, FileNotFoundError, ssl.SSLError):
|
||||
+except (ImportError, FileNotFoundError):
|
||||
# Bypass default SSLContext creation when Python
|
||||
# interpreter isn't built with the ssl module.
|
||||
_preloaded_ssl_context = None
|
||||
@ -22,7 +22,7 @@ Index: pip-24.2/src/pip/_internal/cli/index_command.py
|
||||
- ctx.load_verify_locations(certifi.where())
|
||||
+ try:
|
||||
+ ctx.load_verify_locations(certifi.where())
|
||||
+ except (FileNotFoundError, ssl.SSLError):
|
||||
+ except FileNotFoundError:
|
||||
+ logger.warning("Disabling truststore because of missing certificates")
|
||||
+ return None
|
||||
return ctx
|
||||
|
BIN
pip-24.2-gh.tar.gz
(Stored with Git LFS)
Normal file
BIN
pip-24.2-gh.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1349240eff5fd44f4b9d834d503d87505a6cd0a8ab022f3f1665181d6a719a73
|
||||
size 9198711
|
@ -3,10 +3,10 @@
|
||||
tests/unit/test_options.py | 5 +
|
||||
2 files changed, 13 insertions(+), 97 deletions(-)
|
||||
|
||||
Index: pip-24.3.1/src/pip/_vendor/certifi/core.py
|
||||
Index: 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
|
||||
--- pip-24.1.1.orig/src/pip/_vendor/certifi/core.py
|
||||
+++ pip-24.1.1/src/pip/_vendor/certifi/core.py
|
||||
@@ -3,112 +3,15 @@ certifi.py
|
||||
~~~~~~~~~~
|
||||
|
||||
@ -128,25 +128,25 @@ Index: pip-24.3.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.3.1/tests/unit/test_options.py
|
||||
Index: 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
|
||||
--- pip-24.1.1.orig/tests/unit/test_options.py
|
||||
+++ pip-24.1.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
|
||||
@@ -10,6 +11,7 @@ import pip._internal.configuration
|
||||
from pip._internal.cli.main import main
|
||||
@@ -11,6 +12,7 @@ from pip._internal.cli.main import main
|
||||
from pip._internal.commands import create_command
|
||||
from pip._internal.commands.configuration import ConfigurationCommand
|
||||
+from pip._vendor.certifi import where
|
||||
from pip._internal.exceptions import PipError
|
||||
|
||||
+from pip._vendor.certifi import where
|
||||
from tests.lib.options_helpers import AddFakeCommandMixin
|
||||
@@ -618,6 +620,9 @@ class TestOptionsConfigFiles:
|
||||
|
||||
|
||||
@@ -617,6 +619,9 @@ class TestOptionsConfigFiles:
|
||||
else:
|
||||
assert expect == cmd._determine_file(options, need_value=False)
|
||||
|
||||
|
@ -1,32 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Adapt disable-ssl-context-in-buildenv.patch to make it compatible
|
||||
with leap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 12 16:49:06 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
%define mypython python
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pip%{psuffix}
|
||||
Version: 24.3.1
|
||||
Version: 24.2
|
||||
Release: 0
|
||||
Summary: A Python package management system
|
||||
License: MIT
|
||||
|
Loading…
Reference in New Issue
Block a user