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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to