Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #16351
| From | Antonio Valentino <antonio.valentino@tiscali.it> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Dependency on pkg-resources |
| Date | 2024-10-07 19:50 +0200 |
| Message-ID | <Jv01P-hALa-3@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 |
Dear Stefano, Il 06/10/24 16:06, Stefano Rivera ha scritto: > Hi Antonio (2024.10.05_10:30:07_+0000) >> I started working on the ones for which I'm maintainer and I realized that >> for some of them (e.g. pyresample and cyarray) there is no direct dependency >> from "python3-pkg-resources" in the debian/control file. >> >> Apparently the dependency is injected by dh-python in the final package, as >> far as I can understand. > > It's coming from an upstream dependency on setuptools (requires). > > Most packages do not have any need for setuptools at runtime. So Debian > splits pkg-resources from setuptools. If a package declares a python > dependency on setuptools, we convert that into a Debian dependency on > python3-pkg-resources. If a package *really* needs setuptools at runtime, > it adds an explicit Debian dependency on it. understood, thanks I was not considering the upstream "requires" indeed. > 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. > >> What is the recommended way to proceed? > > Submit a patch to your upstream, removing the unnecessary requires. OK will do > > Stefano > cheers -- Antonio Valentino
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