add CI workflow to run unit tests with Python 2 (again)#4333
Merged
branfosj merged 13 commits intoeasybuilders:developfrom Sep 14, 2023
Merged
add CI workflow to run unit tests with Python 2 (again)#4333branfosj merged 13 commits intoeasybuilders:developfrom
branfosj merged 13 commits intoeasybuilders:developfrom
Conversation
…ges when testing with Python 2
…udo -u easybuild bash -l -c ...`
…ompatible with both (old versions of) Python 2.7 & 3.x
…ts with Python 2.7 in CentOS 7.9 container
Member
Author
|
Down to 4 failing tests, probably due to side-effects caused by running the test suite via
Details
Details
Details
Details |
Member
Author
|
As suggested by @branfosj, I've skipped the 4 tests that are broken when running on top of Python 2 for now in c3fc220, so we can get this merged rather than spending more time to figure out why the tests are only broken with Python 2. Very likely the problem with those tests is specific to using Python 2 in a niche feature of EasyBuild (like |
branfosj
approved these changes
Sep 14, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We stopped testing with Python 2 in #4267 because official support for using Python 2 was dropped in both GitHub Actions and
actions/setup-python.That has led to silently introducing bugs that make EasyBuild crash hard when running on top of Python 2 however, see for example #4328.
While support for running EasyBuild on top of Python 2 is deprecated (since EasyBuild 4.7.0 - Jan'23, cfr. #4136), we should do what we can to maintain compatibility with Python 2 until EasyBuild 5.0 is released.