Re: Python enable dependency generator problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed Oct 11, 2023 at 09:31 -0300, Priscila Gutierres wrote:
> Thank you,
> It works removing -t from %pyproject_buildrequires, EXCEPT if I keep all
> the pytest tests running
> When running the test, it blames about the modules needed for the tests, as
> you can see here: https://paste.centos.org/view/5f0e107a

That's because you didn't add (automatic or otherwise) BuildRequires for
the test dependencies.

> Deleting line 61 here: https://paste.centos.org/view/c25fee49, everything
> works as expected +_+

That's very much the wrong solution. Unless the test suite is something
kooky, you ought to run it in %check during the RPM build.
If the test suite indeed cannot be run due to dependency on network
access or a system service or a similar reason,
you should use %py3_check_import / %pyproject_check_import.


-- 
Maxwell G (@gotmax23)
Pronouns: He/They
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux