https://bugzilla.redhat.com/show_bug.cgi?id=2561241
--- Comment #3 from Ben Beasley <[email protected]> --- Consider patching out filterwarnings = ["error"] from the [tool.pytest.ini_options] section of pyproject.toml, with the justification that treating warnings as errors is too strict for downstream packaging, where interpreter and dependency versions may vary from upstream CI and warnings may arise from anywhere. https://github.com/hashberg-io/typing-validation/blob/6cbd640573d10281947f9bdbc47627778db7b04f/pyproject.toml#L36 You could do this with an actual patch file, or programmatically with something like: BuildRequires: tomcli %prep -a # Warnings-as-errors makes sense for upstream CI, but is too brittle for packaging tomcli set pyproject.toml lists delitem tool.pytest.ini_options.filterwarnings error […] This would keep the tests from being painfully brittle in the future as more deprecation warnings pop up. It looks like you would still need to skip a couple of tests: TestStaticInference.test_every_form_is_accepted_and_inferred because it requires mypy, and test_typing_dot_typeform_has_not_landed_yet because it is explicitly designed to fail on Python 3.15. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component https://bugzilla.redhat.com/show_bug.cgi?id=2561241 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202561241%23c3 -- _______________________________________________ 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
