Skip to content

Commit

Permalink
Merge pull request easybuilders#21675 from Flamefire/20241016110046_n…
Browse files Browse the repository at this point in the history
…ew_pr_Austin320

Ignore user Python packages when running custom sanity check command `pip check`
  • Loading branch information
Micket authored Oct 17, 2024
2 parents 27f0a38 + 439e85f commit 4ed421e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ sanity_check_paths = {
sanity_check_commands = [
"austin --help",
"austin-tui --help",
"pip check",
"PIP_DISABLE_PIP_VERSION_CHECK=true python -s -m pip check",
]

modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}
Expand Down
4 changes: 2 additions & 2 deletions easybuild/easyconfigs/g/Gubbins/Gubbins-3.3.5-foss-2022b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ sanity_check_paths = {
sanity_check_commands = [
"gubbins --help",
"run_gubbins.py --version",
'python -c "import gubbins"',
'python -m pip check',
'python -s -c "import gubbins"',
'PIP_DISABLE_PIP_VERSION_CHECK=true python -s -m pip check',
]

moduleclass = 'bio'
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ sanity_check_paths = {
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

sanity_check_commands = ["pip check"]
sanity_check_commands = ["PIP_DISABLE_PIP_VERSION_CHECK=true python -s -m pip check"]

moduleclass = 'devel'
4 changes: 2 additions & 2 deletions easybuild/easyconfigs/o/OpenMEEG/OpenMEEG-2.5.7-foss-2023a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ sanity_check_paths = {

sanity_check_commands = [
"om_mesh_info --help",
"pip check",
"python -c 'import openmeeg'",
"PIP_DISABLE_PIP_VERSION_CHECK=true python -s -m pip check",
"python -s -c 'import openmeeg'",
]

modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}
Expand Down
4 changes: 2 additions & 2 deletions easybuild/easyconfigs/p/PyQt5/PyQt5-5.15.5-GCCcore-11.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ sanity_check_paths = {
}

sanity_check_commands = [
"python -c 'import PyQt5.QtCore'",
"python -s -c 'import PyQt5.QtCore'",
"sip5 --help",
"pyuic5 --help",
"pylupdate5 -version 2>&1 | grep 'pylupdate5 v%(version)s'",
"pyrcc5 -version 2>&1 | grep 'pyrcc5 v%(version)s'",
"pip check",
"PIP_DISABLE_PIP_VERSION_CHECK=true python -s -m pip check",
]

modextrapaths = {
Expand Down
4 changes: 2 additions & 2 deletions easybuild/easyconfigs/p/PyQt5/PyQt5-5.15.7-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ sanity_check_paths = {
}

sanity_check_commands = [
"python -c 'import PyQt5.QtCore'",
"python -s -c 'import PyQt5.QtCore'",
"sip5 --help",
"pyuic5 --help",
"pylupdate5 -version 2>&1 | grep 'pylupdate5 v%(version)s'",
"pyrcc5 -version 2>&1 | grep 'pyrcc5 v%(version)s'",
"pip check",
"PIP_DISABLE_PIP_VERSION_CHECK=true python -s -m pip check",
]

modextrapaths = {
Expand Down

0 comments on commit 4ed421e

Please sign in to comment.