-
Notifications
You must be signed in to change notification settings - Fork 306
Remove Python2 style super()-calls and fix ExtensionEasyBlock
#3681
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
Conversation
|
@Micket rebased after merge of the framework PR |
|
@Flamefire So with the framework PR merged, we now have a bug in some easyblocks (the ones that derive from |
After checking the framework PR (easybuilders/easybuild-framework#4834) again, it seems like the incorrect usage of just passing At first sight it seems this is only relevant to the |
It is actually the other way round
I'm not sure if there are others in e.g. custom easyblocks hence the deprecation only similar to other changes we did. I fixed the RPackage easyblock to avoid triggering our own deprecation warning. |
super()-calls and fix ExtensionEasyBlock
Flamefire
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lexming Thanks for the probably exhausting review.
I double checked the instances where there would be a change and reverted them or explained why it makes sense. Please see if you agree.
|
Thanks for the update @Flamefire. I agree with the changes/fixes you propose to those |
|
Test reports for those easyblock with changes beyond replacing
|
lexming
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Merging, thanks @Flamefire ! |
This removes a lot of "clutter" and avoids C&P mistakes when extending or adding new easyblocks based on existing ones
The test suite then failed due to a bug in our usage:
ExtensionEasyBlockoverridesmake_module_extrafromEasyBlocksuperit fails with a TypeError.Will be fixed and hence requires