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 c0be225 commit c2b852dCopy full SHA for c2b852d
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
@@ -837,6 +836,11 @@ def install_cargo_config():
837
836
if sys.platform != "linux":
838
return
839
+ # We need this as a late import for python < 3.12 becuase importing it will
840
+ # load the ssl module. Causing out setup_openssl method to fail to load
841
+ # fips module.
842
+ import tempfile
843
+
844
install_cargo_config.tmpdir = tempfile.TemporaryDirectory(prefix="relenvcargo")
845
cargo_home = pathlib.Path(install_cargo_config.tmpdir.name)
846
0 commit comments