Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #16519

Re: Dependency on pkg-resources

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Elena ``of Valhalla'' Grandi <valhalla@trueelena.org>
Newsgroups linux.debian.maint.python
Subject Re: Dependency on pkg-resources
Date Tue, 03 Dec 2024 13:30:02 +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>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Dec 3 12:29:16 2024
Old-Return-Path <valhalla@trueelena.org>
X-Amavis-Spam-Status No, score=-7.698 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .trueelena. - helo: .mslow1.mail.gandi. - helo-domain: .gandi.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
Mail-Followup-To debian-python@lists.debian.org
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mJttShGhnqKQDBui"
Content-Disposition inline
X-Gnd-Sasl valhalla@trueelena.org
X-Mailing-List <debian-python@lists.debian.org> archive/latest/22604
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/Z072zSG7RQfVcQ57@virginsteele.home.trueelena.org
Approved robomod@news.nic.it
Lines 48
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 3 Dec 2024 13:17:17 +0100
X-Original-Message-ID <Z072zSG7RQfVcQ57@virginsteele.home.trueelena.org>
X-Original-References <f0fd11e6-0bc5-444b-8bb2-bdded39159e2@tiscali.it> <20241006140644.evsxpbdlso4dnvvz@satie.tumbleweed.org.za>
Xref csiph.com linux.debian.maint.python:16519

Show key headers only | View raw


[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 | NextPrevious in thread | Next in thread | Find similar


Thread

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