https://bugzilla.redhat.com/show_bug.cgi?id=2531861
--- Comment #2 from Artur Frenszek-Iwicki <[email protected]> --- > I noticed you use: %pyproject_buildrequires -t but then don't use %tox in > %check. Is there a reason? Good catch. The reason is that I probably copy-pasted this from another spec that does use tox. > Also, does %pytest work over PYTHONPATH=%{buildroot}%{python3_sitelib} > pytest-%{python3_version}? Uhh, I don't think I understand your question. Yes, this invocation works and the tests pass. Dropping the PYTHONPATH bit makes 'em all fail with ModuleNotFoundError. Unless you're asking about the "pytest-%{python3_version}" bit? To be honest, this is also copy-pasted from another spec. Looking through my Python packages, I see others using "%python3 -m pytest tests/" instead. Would that be preferable? -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2531861 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202531861%23c2 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
