Spec URL: https://dcavalca.fedorapeople.org/review/python-tatsu/python-tatsu.spec SRPM URL: https://dcavalca.fedorapeople.org/review/python-tatsu/python-tatsu-5.13.1-1.fc43.src.rpm Description: TatSu is a tool that takes grammars in a variation of EBNF as input, and outputs memoizing (Packrat) PEG parsers in Python. Fedora Account System Username: dcavalca
This package built on koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=130072086
Copr build: https://copr.fedorainfracloud.org/coprs/build/8746843 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2351032-python-tatsu/fedora-rawhide-x86_64/08746843-python-tatsu/fedora-review/review.txt Please take a look if any issues were found. --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string.
This fails to build with: + /usr/bin/python3 -m tox --current-env --assert-config -q --recreate -e py313 tatsu/bootstrap.py:12:1: RUF100 [*] Unused `noqa` directive (unused: `C405`) | 10 | # the file is generated. 11 | 12 | # ruff: noqa: C405, COM812, I001, F401, PLR1702, PLC2801, SIM117 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RUF100 13 | 14 | import sys | = help: Remove unused `noqa` directive tatsu/tool.py:5:1: RUF100 [*] Unused `noqa` directive (unused: `PLR0912`) | 3 | the described language. 4 | """ 5 | # ruff: noqa: PLR0912 | ^^^^^^^^^^^^^^^^^^^^^ RUF100 6 | from __future__ import annotations | = help: Remove unused `noqa` directive test/grammar/semantics_test.py:1:1: RUF100 [*] Unused `noqa` directive (non-enabled: `S102`) | 1 | # ruff: noqa: S102 | ^^^^^^^^^^^^^^^^^^ RUF100 2 | import unittest | = help: Remove unused `noqa` directive test/parser_equivalence_test.py:1:1: RUF100 [*] Unused `noqa` directive (non-enabled: `S102`) | 1 | # ruff: noqa: S102 | ^^^^^^^^^^^^^^^^^^ RUF100 2 | import types | = help: Remove unused `noqa` directive Found 4 errors. [*] 4 fixable with the `--fix` option. py313: exit 1 (0.04 seconds) /builddir/build/BUILD/python-tatsu-5.13.1-build/TatSu-5.13.1> ruff check --preview tatsu test examples pid=817 You should patch out the ruff and mypy invocations from tox.ini as prescribed by https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters, or (easier) bypass tox, drop -t from %pyproject_requires, add a manual BuildRequires on pytest and just run the test suite with %pytest.