Skip to content

Commit

Permalink
add a workaround for SSLKEYLOGFILE
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Aug 8, 2024
1 parent ea40331 commit d88ceb6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/entry_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d88ceb6

Please sign in to comment.