Skip to content

Commit

Permalink
Merge pull request #3107 from branfosj/20240129144444_new_pr_cryptogr…
Browse files Browse the repository at this point in the history
…aphy

replace `run_cmd` with `run_shell_cmd` in custom easyblock for cryptography (`cryptography.py`)
  • Loading branch information
boegel authored Jan 30, 2024
2 parents 663cba3 + 545e127 commit 15ac0d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/easyblocks/c/cryptography.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from easybuild.tools import LooseVersion

from easybuild.easyblocks.generic.pythonpackage import PythonPackage
from easybuild.tools.run import run_cmd
from easybuild.tools.run import run_shell_cmd


class EB_cryptography(PythonPackage):
Expand All @@ -57,5 +57,5 @@ def sanity_check_step(self, *args, **kwargs):
if success:
# Check module added in v0.7 leading to issue #9446 (see above)
if LooseVersion(self.version) >= LooseVersion("0.7"):
run_cmd("python -c 'from cryptography.hazmat.bindings.openssl import binding'")
run_shell_cmd("python -c 'from cryptography.hazmat.bindings.openssl import binding'")
return success, fail_msg

0 comments on commit 15ac0d5

Please sign in to comment.