-
|
Since some time between beginning of September and now, for some reason the I have created a minimal reproducer at https://github.com/chrismile/PyTestModBootstrap, which contains a module How to reproduce:
If someone sees what might be going wrong, that would be very helpful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I found the solution: |
Beta Was this translation helpful? Give feedback.
I found the solution:
sys.modules[mod.__name__] = modneeds to be added beforespec.loader.exec_module(mod). But I am confused why the bootstrap code by setuptools ever worked in the past. I'd leave this open in case somebody knows.