-
Notifications
You must be signed in to change notification settings - Fork 283
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
PythonBundle should perform 1 single pip check
instead of each python package repeating it
#3418
Comments
Yeah, this has been annoying me for a while too, but I never got around to looking into it...
|
-m pip check
instead of each python package repeating itpip check
instead of each python package repeating it
I don't agree here that it is doing the same: Python packages have dependencies and as we specifically tell pip to not look at any dependency it is on us to make sure the order of the packages we install is correct, i.e. dependencies are installed before the dependent package. At least that was the intention. However it looks like for PythonBundle the sanity check for each extension is run only at the end and one after an other, so the benefit of running it for each package vanishes. Same applies to the unversioned_packages check done afterwards. Only issue I see there is the Or better: Don't allow Similar issue with module existence checks: easybuilders/easybuild-framework#4618 |
Sanity checks has always only ever run at the end of everything (including bundles), after even generating the module file and will also run after a --module-only rebuild, or a --skip --rebuild, (so redesigning bundles to run sanity checks in during the installation steps would not be easy)
so checking these one at a time would presumably fail Yes the idea would be to disable these checks for pyhonpackage extensions and repeat it once and for all in the pythonbundle. |
I'm working on it |
I think I'm done: #3428 Tested with a more or less random collection of PythonPackage and PythonBundle ECs and counting the number of |
Currently a bundle build has repeated
due to each and every extension in the bundle doing this. But as far as i understand, this is checking the same thing every time. The bundle should do this instead, and only once (at the start)
The text was updated successfully, but these errors were encountered: