Re: Python enable dependency generator problem

2023-10-11 Thread Adam Williamson
On Wed, 2023-10-11 at 09:31 -0300, Priscila Gutierres wrote: > Thank you, > It works removing -t from %pyproject_buildrequires, EXCEPT if I keep all > the pytest tests running > When running the test, it blames about the modules needed for the tests, as > you can see here:

Re: Python enable dependency generator problem

2023-10-11 Thread Maxwell G
On Wed Oct 11, 2023 at 09:31 -0300, Priscila Gutierres wrote: > Thank you, > It works removing -t from %pyproject_buildrequires, EXCEPT if I keep all > the pytest tests running > When running the test, it blames about the modules needed for the tests, as > you can see here:

Re: Python enable dependency generator problem

2023-10-11 Thread Priscila Gutierres
Thank you, It works removing -t from %pyproject_buildrequires, EXCEPT if I keep all the pytest tests running When running the test, it blames about the modules needed for the tests, as you can see here: https://paste.centos.org/view/5f0e107a Deleting line 61 here:

Re: Python enable dependency generator problem

2023-10-10 Thread Miro Hrončok
On 10. 10. 23 23:14, Adam Williamson wrote: 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). Not

Re: Python enable dependency generator problem

2023-10-10 Thread Adam Williamson
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

Re: Python enable dependency generator problem

2023-10-10 Thread Ben Beasley
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

Python enable dependency generator problem

2023-10-10 Thread Priscila Gutierres
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