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
RFE: %generate_buildrequires should re-run until all dependencies are satisfied #276
Comments
Well, we discussed this in original feature request |
My real use case is Python's two phased dependency resolution in PEP 517.
It could look like this:
Surely, without flit, we cannot get the information about cython. in order to make this work, we need to run the dependency check twice. |
TBH I'm not familiar with that PEP; though it sounds like you don't need to iterate -- but (at most) two steps. Can flit be added to static build requires? |
Yes, we need just two. yes, flit can be added to static BRs to workaround this problem. It is not always flit, there are multiple backends (setuptools, flit, poetry...). |
My main point is that I do not want to have - even potential - infinite loop. And detecting that installSrpmDeps do nothing is hard. |
constant? => config option :-) |
will it do 10 loops by default or only if some packages are missing? |
only if some packages are missing. The constant is the upper limit. |
Awesome! |
with af02efc this is not true - not only it loops even when no new buildrequires are added, but it also does not stop after 10 runs. |
Nice catch - thank you. |
rpm-software-management/rpm#755
%generate_buildrequires currently only runs once. it should loop until no new depndencies are needed.
To reproduce:
Actual result:
Expected results:
The text was updated successfully, but these errors were encountered: