Dirk Mueller 2024-08-12 17:20:57 +00:00 committed by Git OBS Bridge
parent 6d4fd9323a
commit e9c5e7d690

View File

@ -7,7 +7,7 @@ Index: pip-24.2/src/pip/_vendor/requests/adapters.py
extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH) extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)
) )
-except ImportError: -except ImportError:
+except ImportError, FileNotFoundError: +except (ImportError, FileNotFoundError):
# Bypass default SSLContext creation when Python # Bypass default SSLContext creation when Python
# interpreter isn't built with the ssl module. # interpreter isn't built with the ssl module.
_preloaded_ssl_context = None _preloaded_ssl_context = None