On Tue, 2023-10-10 at 17:30 -0300, 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? Did you include the `-t` arg for the generator? `%pyproject_buildrequires -t`? If so, it'll be pulling these dependencies from tox.ini, which pulls them from https://github.com/pinterest/pymemcache/blob/master/test-requirements.txt , which pins very specific versions. If you *want* to auto-generate these requirements, your only options are to get upstream to loosen the version specifiers, or patch the requirements file in %prep before the build requirement generator runs (I think that ordering is possible). Alternatively of course you can omit `-t` so the dependency generator won't work out the requirements from tox.ini , but then you can't run the tests during %check unless you specify the requirements manually... -- Adam Williamson (he/him/his) Fedora QA Fedora Chat: @adamwill:fedora.im | Mastodon: @adamw@xxxxxxxxxxxxx https://www.happyassassin.net _______________________________________________ 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