Skip to content

Conversation

@boegel
Copy link

@boegel boegel commented Apr 12, 2023

@branfosj for easybuilders#4229

This yields a better warning message, which will automatically turn into an error message with EasyBuild >= 6.0:

$ eb Perl.eb -D
WARNING: Deprecated functionality, will no longer work in v6.0: Using py2vs3 is deprecated, since EasyBuild no longer runs on Python 2.; see http://easybuild.readthedocs.org/en/latest/Deprecated-functionality.html for more information
$ eb Perl.eb --deprecated 6.0
ERROR: Failed to process easyconfig /Users/kehoste/work/easybuild-easyconfigs/easybuild/easyconfigs/p/Perl/Perl-5.36.0-GCCcore-12.2.0.eb: DEPRECATED (since v6.0) functionality used: Using py2vs3 is deprecated, since EasyBuild no longer runs on Python 2.; see http://easybuild.readthedocs.org/en/latest/Deprecated-functionality.html for more information

I'll open a separate framework PR to fix the outdated link to the docs (although the current link still works, it gets auto-redirected to https://docs.easybuild.io/deprecated-functionality)

@branfosj branfosj merged commit 1d61bc0 into branfosj:py2 Apr 12, 2023
@boegel boegel deleted the py2 branch April 12, 2023 12:54
branfosj pushed a commit that referenced this pull request Oct 3, 2024
enhance test for `cmd.sh` script produced by run_shell_cmd to verify that `module` function is available
branfosj pushed a commit that referenced this pull request Feb 6, 2025
minor changes w.r.t. ModuleLoadEnvironment and ModEnvVarType
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants