From d88ceb6a8e82f2bd15f5fb64725274d44fce769d Mon Sep 17 00:00:00 2001 From: jaimergp Date: Fri, 9 Aug 2024 00:22:55 +0200 Subject: [PATCH] add a workaround for SSLKEYLOGFILE --- src/entry_point.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/entry_point.py b/src/entry_point.py index a48332c..fd5005f 100755 --- a/src/entry_point.py +++ b/src/entry_point.py @@ -12,6 +12,11 @@ from multiprocessing import freeze_support from pathlib import Path +if "SSLKEYLOGFILE" in os.environ: + # This causes a crash with requests 2.32+ + # See https://github.com/conda/conda-standalone/issues/86 + del os.environ["SSLKEYLOGFILE"] + def _create_dummy_executor(*args, **kwargs): "use this for debugging, because ProcessPoolExecutor isn't pdb/ipdb friendly"