add generic CargoPythonBundle easyblock#2964
Conversation
|
so i wanted to control the order, in my but somehow the order was still wrong. I added a stack printout to know how in hell my Cargo init was called before PythonBundle's init: eh, why does |
|
I was wrong, it's not called multiple times, it's just the MRO and use of super() here which gets very confusing. I have no choice but to end up with the following and since init methods always just start off calling the super-init method, this thus becomes the strange situation where I think we really want init methods to just be calling their superclass all the time directly, regardless of diamond inheritance on I wonder if |
This comment was marked as resolved.
This comment was marked as resolved.
CargoPythonBundle easyblock
…in Python 2+3 compatible way
|
Test report by @Micket Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
|
Uploaded test report of something using Bundle to ensure that it still works. New test report for CargoPythonBundle itself is in easybuilders/easybuild-easyconfigs#18332 |
(created using
eb --new-pr)I haven't tested it yet but i think it might be just this simple. I don't think each individual extension even needs to specify the cargopythonpackage easyblock, this.. should just work i think
Edit: I tested it with timm and it does work, except for one part: the Bundle easyblock hardcodes a check to ensure noone tries to include any sources...
Ugh.. commenting this out and it just works.
I tried to be clever and changed the init order in my constructor here, but since EB likes to re-initialize easyblocks even when just building stuff (just like the issues with the init step) this still fails on the second pass. Ugh again.