Skip to content
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

can not generate build requires for python-* pkg #993

Open
yAn1hCDc opened this issue Apr 1, 2024 · 0 comments
Open

can not generate build requires for python-* pkg #993

yAn1hCDc opened this issue Apr 1, 2024 · 0 comments

Comments

@yAn1hCDc
Copy link

yAn1hCDc commented Apr 1, 2024

I am building the python-jupyter-client package from Fedora. Some build requires for this package are generated dynamically like this:
%generate_buildrequires
%pyproject_buildrequires -w %{?with_tests:-x test} %{?with_doc:-x docs}
And i got error message:
error: Failed build dependencies:
python3dist(pip) >= 19 is needed by python-jupyter-client-7.4.9
python3dist(toml) is needed by python-jupyter-client-7.4.9
I found that obs-build has code to solve this problem, but it is not called, probably because the value of RPMLIST is not empty.
if test "$BUILD_SUCCEEDED" = genbuildreqs -a "$DO_INIT" = true -a -z "$RPMLIST" -a -z "$RUNNING_IN_VM" -a -n "${GEN_BUILDREQS_PACKS[*]}" ; then
So I want to know how to get to this branch.
The obs-build version I used was 20240321.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant