diff --git a/disable-ssl-context-in-buildenv.patch b/disable-ssl-context-in-buildenv.patch index 918c0bc..71942c7 100644 --- a/disable-ssl-context-in-buildenv.patch +++ b/disable-ssl-context-in-buildenv.patch @@ -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): ++except (ImportError, FileNotFoundError, ssl.SSLError): # 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: ++ except (FileNotFoundError, ssl.SSLError): + logger.warning("Disabling truststore because of missing certificates") + return None return ctx diff --git a/python-pip.changes b/python-pip.changes index 596c62f..dc3187f 100644 --- a/python-pip.changes +++ b/python-pip.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 23 11:21:24 UTC 2024 - Daniel Garcia + +- Adapt disable-ssl-context-in-buildenv.patch to make it compatible + with leap + ------------------------------------------------------------------- Mon Aug 12 16:49:06 UTC 2024 - Dirk Müller