Skip to content

Conversation

@boegel
Copy link
Member

@boegel boegel commented Nov 11, 2019

With this change included, a deprecation warning will be printed when EasyBuild is run on top of Python 2.6:

$ python -V
2.6.9
$ eb example.eb

WARNING: Deprecated functionality, will no longer work in v5.0:
Running EasyBuild with Python 2.6 is deprecated;
see http://easybuild.readthedocs.org/en/latest/Deprecated-functionality.html for more information

...

Currently the main motivation here is to (slightly) trim down on test configurations in Travis CI, but longer term some code cleanup can be done when we've dropped support for Python 2.6.

In addition to deprecating support for Python 2.6, we also check whether the Python version being used is actually supported via the added check_python_version function.
Up until now, we were only checking the Python version in the eb wrapper, so no Python version check was done at all when EasyBuild is being used as a library...

@boegel boegel added the change label Nov 11, 2019
@boegel boegel added this to the next release (4.0.2?) milestone Nov 11, 2019
@boegel boegel requested a review from wpoely86 November 12, 2019 19:59
@easybuilders easybuilders deleted a comment from boegelbot Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants