Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #16519
| From | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Dependency on pkg-resources |
| Date | 2024-12-03 13:30 +0100 |
| Message-ID | <JPAcq-drX7-11@gated-at.bofh.it> (permalink) |
| References | <JuamB-h549-9@gated-at.bofh.it> <JuA7n-hkQA-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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''
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar
Dependency on pkg-resources Antonio Valentino <antonio.valentino@tiscali.it> - 2024-10-05 12:40 +0200
Re: Dependency on pkg-resources Stefano Rivera <stefanor@debian.org> - 2024-10-06 16:10 +0200
Re: Dependency on pkg-resources Antonio Valentino <antonio.valentino@tiscali.it> - 2024-10-07 19:50 +0200
Re: Dependency on pkg-resources Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> - 2024-12-03 13:30 +0100
Re: Dependency on pkg-resources Andrey Rakhmatullin <wrar@debian.org> - 2024-12-03 13:40 +0100
Re: Dependency on pkg-resources Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> - 2024-12-03 14:20 +0100
csiph-web