Hello
On 2024-10-06 at 14:06:44 +0000, Stefano Rivera wrote:
[A dependency on pkg-resources is] coming from an upstream dependency
on setuptools (requires).
[...]
So, in your case, the upstream probably has a completely unnecessary
requires for setuptools. Probably should use install_requires instead,
or even better pyproject's build-system requires.
I have a package (python-ghostscript) that is in a similar case, with a dependency on pkg-resources picked up from a dependency on setuptools,
but I can't understand why it's happening:
* setuptools is mentioned in requirements.txt, but the other packages in
that file aren't picked up as dependencies (which is good);
* setuptools is mentioned in tox.ini, which should be totally irrelevant;
* python3-setuptools is in Build-Depends, again probably not relevant;
* setuptools is mentioned in setup.py *and* setup.cfg, but in both cases
it is listed as an install_requires, not a requires.
Anybody has any hint on what could be happening here?
--
Elena ``of Valhalla''
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEY8n6rGg5PpTPkl4ZcL0i0xEjtDEFAmdO9soACgkQcL0i0xEj tDGq4Af/S7urr/931IkYU0a5HBHimH1SWyVR/SANO4XO9KMRC/pqnHl4gHfly50n m3Yub+JnTaT/65fWzMFiBTyzEC0FC0aSAPPzPIpFGkIlD9rRgH6IdCsz8W4dOx8d i1zv1bP8tfYIFduIpTv3XKjIjcZ0bN9O4ctQ0A5jb/PPR7IBtr1LlZsA6UDN10rT tkLA9Ec4aC9ULjJ3Qx14VPZsvCm2GAWooB4iQO8XlSouFJdSrVB4ATwL2mTK2PIx WfDcN83bHqt2l2+etGMaO4+bW43/uBRlkLDFyYQbOuzooBfRPRiZHcHmvpQvhO7v CBAV+HrSjsQd97XFUriuj8hnW8xjdQ==
=lBBc
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)