https://bugzilla.redhat.com/show_bug.cgi?id=2283064 --- Comment #10 from Dominik 'Rathann' Mierzejewski <dominik@xxxxxxxxxxxxxx> --- (In reply to wojnilowicz from comment #8) > (In reply to Dominik 'Rathann' Mierzejewski from comment #7) > > > The following ones should be justified (tests fail?) > > > BuildRequires: python3dist(responses) > > > BuildRequires: python3dist(unidiff) > > > > Yes. > > tests/conftest.py:6: in <module> > > import responses > > E ModuleNotFoundError: No module named 'responses' > > and > > E NotImplementedError: SecretsCollection.scan_diff requires > > `unidiff` to work. Try pip installing that package, and try again. > Ok, then please add a comment to the SPEC file so that they'll be justified. It's actually the %pyproject_buildrequires -t that tries to install pytest7 (and fails), because pytest=7 is listed in requirements-dev.txt referenced in tox.ini. So, I fixed tox.ini to use requirements-dev-minimal.txt and dropped a few unnecessary ones from there, as well. > > > ===== SHOULD items ===== > > [...] > > > [!]: %check is present and all tests pass. > > > https://github.com/Yelp/detect-secrets/issues/875 justifies exclusion of > > > only 9 failing test. You exclude 33 of them. What's the justification for > > > the remaining tests? > > > > Some require an unpackaged dependency (gibberish-detector). > > Others require git and upstream git repo clone as part of the tarball, but > > GitHub-generated tarball doesn't include git metadata. The standard way > > is to use a tarball, so I disabled the git tests and did not include git-core > > as a build dependency. What do you suggest instead? > > I just tried to run test_modifies_baseline (it was not listed on github) and > it fails due to git as well. It seems that you did the right thing. > > Please update your SPEC file, and I'll approve it. Done. Spec URL: https://rathann.fedorapeople.org/review/python-detect-secrets/python-detect-secrets.spec SRPM URL: https://rathann.fedorapeople.org/review/python-detect-secrets/python-detect-secrets-1.5.0-2.fc42.src.rpm * Mon Sep 23 2024 Dominik Mierzejewski <dominik@xxxxxxxxxxxxxx> 1.5.0-2 - use automated dependency generator for test deps, too - drop unnecessary explicit BuildRequires - drop incomplete support for building with alternative pythons - generate a manpage with help2man -- 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=2283064 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202283064%23c10 -- _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-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/package-review@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue