It looks like you are using “%pyproject_buildrequires -t”, and upstream’s tox.ini gets its dependencies from the file test-requirements.txt, which pins exact versions of everything (==). Obviously, it’s very rare that this will line up with the versions packaged in Fedora. If you’re going to use that file, you’ll need to patch it in %prep to remove the version pins, or at least convert them to lower bounds (s/==/>=) if that seems appropriate. You should also patch out the dependency on pytest-cov (https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters). If that all gets too messy, a less satisfying but more straightforward alternative would be to eschew tox, maintain the list of BR’s for the tests manually in the spec file the old-fashioned way, and run the tests with %pytest instead of %tox. On Tue, Oct 10, 2023, at 4:30 PM, Priscila Gutierres wrote: > Hello, > > I'm trying to add python enable dependency generator on > python-pymemcache, but when adding it to the specfile, it asks for some > old version of some needed packages: > https://paste.centos.org/view/33623ed7 > > Fedora repos have a more updated version, but this dependency generator > is asking for an older version of those packages: > > https://src.fedoraproject.org/rpms/python-faker > https://src.fedoraproject.org/rpms/python-gevent > https://src.fedoraproject.org/rpms/python-pylibmc > > > How to fix this? > > > Priscila. > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue