https://bugzilla.redhat.com/show_bug.cgi?id=2223011
--- Comment #2 from Michel Alexandre Salim michel@michel-slm.name --- Initial pass:
- could use %pyproject_buildrequires -r requirements-test.in (requirements-test.txt locks in the versions required). that way you don't have to manually specify test dependencies - patch requirements-test.in so it does not pull in python3-mock which is deprecated. And patch the callsites to do `from unittest import mock` rather than `import mock` and upstream that
potentially use try / except:
try: from unittest import mock except: import mock
Note that somehow it doesn't pick up `python3dist(inquirer)` even though I point fedora-review to the correct local repo
$ rpm -qp --provides ../../repo/python3-inquirer-3.1.3-1.fc38.noarch.rpm python-inquirer = 3.1.3-1.fc38 python3-inquirer = 3.1.3-1.fc38 python3.11-inquirer = 3.1.3-1.fc38 python3.11dist(inquirer) = 3.1.3 python3dist(inquirer) = 3.1.3