Skip to content

Commit 14e939d

Browse files
authored
Merge pull request #3510 from boegel/container_pip_install_easybuild
update installation procedure for EasyBuild in generated Singularity container recipes
2 parents 7d8f251 + 9e4f49e commit 14e939d

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

easybuild/tools/containers/singularity.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -314,13 +314,6 @@ def resolve_template_data(self):
314314
"# install EasyBuild using pip",
315315
# upgrade pip
316316
"pip install -U pip",
317-
"pip install wheel",
318-
# EasyBuild 3.x requires setuptools as runtime dependency
319-
"pip install -U setuptools",
320-
# stick to previous version of vsc-install to avoid requiring mock (which causes installation problems)
321-
# stick to previous version of vsc-base to avoid requiring 'future' (irrelevant for EasyBuild)
322-
# this is just a temporary measure, since vsc-install & vsc-base have been ingested for EasyBuild 4.x
323-
"pip install 'vsc-install<0.11.4' 'vsc-base<2.9.0'",
324317
"pip install easybuild",
325318
])
326319

test/framework/containers.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ def test_end2end_singularity_recipe_config(self):
141141
self.assertTrue(regex.search(txt), "Pattern '%s' found in: %s" % (regex.pattern, txt))
142142

143143
pip_patterns = [
144-
# EasyBuild and dependencies are installed with pip by default
145-
"pip install -U setuptools",
146-
"pip install.*vsc-base",
144+
# EasyBuild is installed with pip by default
147145
"pip install easybuild",
148146
]
149147
post_commands_patterns = [

0 commit comments

Comments
 (0)