-
Notifications
You must be signed in to change notification settings - Fork 203
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
--include-easyblocks[-from-pr] fails for multiple easyblocks related by inheritance #3779
Comments
@Flamefire I think (or maybe hope) we can narrow this down a bit
My guess is that this bug is specific to the case where the included easyblocks are related by inheritance and possibly with the fact that we are still (even after #3544) messing with easybuild-framework/easybuild/tools/include.py Lines 134 to 141 in f8cc137
PythonPackage as a new object, but we deleted the PythonPackage object that was the super class of TensorFlow (?) )
|
Avoids errors on on Python2 when we delete a subclass after importing a module with a class depending on it. Fixes easybuilders#3779
Looks like you are absolutely correct. Same here, and fix created changing the mentioned code. Also added a reproducer test. It's a bit involved and only happens in Python 2 as far as I can tell |
Avoids errors on on Python2 when we delete a subclass after importing a module with a class depending on it. Fixes easybuilders#3779
I recently updated PythonPackage and TensorFlow easyblocks in one PR and tried to submit test reports but it failed:
It seems that PythonPackage turns out as
None
which I can't really explain. Splitting up the PR into 1 easyblock each seemingly works. See easybuilders/easybuild-easyblocks#2516The text was updated successfully, but these errors were encountered: