We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28f9c07 commit 76d01c8Copy full SHA for 76d01c8
relenv/runtime.py
@@ -21,7 +21,6 @@
21
import site
22
import subprocess
23
import sys
24
-import tempfile
25
import textwrap
26
import warnings
27
@@ -826,6 +825,11 @@ def install_cargo_config():
826
825
if sys.platform != "linux":
827
return
828
+ # We need this as a late import for python < 3.12 becuase importing it will
829
+ # load the ssl module. Causing out setup_openssl method to fail to load
830
+ # fips module.
831
+ import tempfile
832
+
833
install_cargo_config.tmpdir = tempfile.TemporaryDirectory(prefix="relenvcargo")
834
cargo_home = pathlib.Path(install_cargo_config.tmpdir.name)
835
0 commit comments