Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation of older Mako easyconfigs broken because MarkupSafe 2.0.0a1 is picked up #10462

Closed
boegel opened this issue Apr 23, 2020 · 0 comments · Fixed by #10627
Closed

installation of older Mako easyconfigs broken because MarkupSafe 2.0.0a1 is picked up #10462

boegel opened this issue Apr 23, 2020 · 0 comments · Fixed by #10627
Milestone

Comments

@boegel
Copy link
Member

boegel commented Apr 23, 2020

For example, Mako-1.0.7-intel-2018a-Python-2.7.14.eb fails with:

== 2020-04-23 14:17:13,104 build_log.py:169 ERROR EasyBuild crashed with an error (at easybuild/base/exceptions.py:124 in __init__): cmd " /software/Python/2.7.14-intel-2018a/bin/python setup.py install --prefix=/software/Mako/1.0.7-intel-2018a-Python-2.7.14 " exited with exit code 1 and output:
...
Processing dependencies for Mako==1.0.7
Searching for MarkupSafe>=0.9.2
Reading https://pypi.python.org/simple/MarkupSafe/
Downloading https://files.pythonhosted.org/packages/e0/bf/acc45baeb2d7333ed724c30af188640d9cb0be4b28533edfc3e2ae5aad72/MarkupSafe-2.0.0a1.tar.gz#sha256=beac28ed60c8e838301226a7a85841d0af2068eba2dcb1a58c2d32d6c05e440e
Best match: MarkupSafe 2.0.0a1
Processing MarkupSafe-2.0.0a1.tar.gz
...
ImportError: No module named markupsafe

Can be fixed relatively easy by making the broken Mako easyconfigs use PythonBundle, and adding MarkupSafe 1.1.1 as an extension in them.

This doesn't affect recent Mako easyconfigs like Mako-1.0.8-GCCcore-8.2.0.eb & newer, because the underlying Python already includes MarkupSafe 1.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant