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


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

Re: missing pkg_resources dependencies

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Alexandre Detiste <alexandre.detiste@gmail.com>
Newsgroups linux.debian.maint.python
Subject Re: missing pkg_resources dependencies
Date Sun, 16 Feb 2025 19:40:02 +0100
Message-ID <KgRIC-hi7X-7@gated-at.bofh.it> (permalink)
References <KgARr-h6KG-1@gated-at.bofh.it> <KgR5T-hhCG-15@gated-at.bofh.it> <KgRyV-hi4o-11@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Feb 16 18:31:34 2025
Old-Return-Path <alexandre.detiste@gmail.com>
X-Amavis-Spam-Status No, score=-7.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Gm-Message-State AOJu0Yz9ly9ws1pAdvr/kphR0HMp4yWEe0L0sJRNFnUfQ72jwBfoJ3MX t27a/44OoEq/Da8+U2pB4Fxvf6AN/BI/keRllJMtyP7E/MIar3uTdMbyPh3VAUeAH9+ZTv9YfpR RV6hD3gEDZ4qzZ2qggMM7cSoT/Tey/W0p
X-Gm-Gg ASbGnctMpS5u/Yb2fpjM61VQnDyVkO6i1TbWA2BQAr2k2b9qTgZL/MtBpVRC/jMLiRE uCYm02JFAFaYnsDmxDCBppz4aOb1ISPGXZJNYTn6qU9709wRhaxlKZQU4AlUbGj4296HcO8k=
X-Google-SMTP-Source AGHT+IHzYFMFJKPW08LXV/zuKvlHOuF7wh9KUN9zVTFk8joadsdp4wephwKEZEJnM9zbhf/dae23V7tpO+HrLcBpeoE=
X-Received by 2002:a05:6902:26c4:b0:e5d:afc9:4c11 with SMTP id 3f1490d57ef6-e5dc9082a73mr5616618276.24.1739730677055; Sun, 16 Feb 2025 10:31:17 -0800 (PST)
MIME-Version 1.0
X-Gm-Features AWEUYZl2hZqxFwpCcuM4F-_qyWt9mmVRoHenWiu9SbA7H7MMpamirprgM2vfkNo
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-python@lists.debian.org> archive/latest/22822
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CADsTwjK7-kXHmW0ARxW-xUxSa6a3Ux2t_Uvp=Wt+zZccsp-8qA@mail.gmail.com
Approved robomod@news.nic.it
Lines 17
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 16 Feb 2025 19:31:06 +0100
X-Original-Message-ID <CADsTwjK7-kXHmW0ARxW-xUxSa6a3Ux2t_Uvp=Wt+zZccsp-8qA@mail.gmail.com>
X-Original-References <CADsTwjKY1Uamxjb_nSEo1yWx6SiRMeOggn=HYBy3H2-+kKrQ-A@mail.gmail.com> <20250216183504.3afee7e3@monsterix.mbehrle.de> <Z7IsyT7JKgUWObIY@belkar.wrar.name>
Xref csiph.com linux.debian.maint.python:16719

Show key headers only | View raw


> > > I'm worried that a lot of ___undeclared___ dependencies on
"undeclared" is the important word here.
The code does "import pkg_resources" but the library is gone :-(

The lintian check that was used to detect the dead batteries
& later lead to a MBF could be extended to pkg_resources too;
then we could cross-check the delta from the existing MBF.

It's not a perfect fit for %DEPRECATED_STDLIBS though.

Le dim. 16 févr. 2025 à 19:22, Andrey Rakhmatullin <wrar@debian.org> a écrit :
> Yes, the solution is removing the module usage, but if that's not possible
> a dependency needs to be declared, as usual.
Yes, that's the fastest/safest solution.
Thanks

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar


Thread

missing pkg_resources dependencies Alexandre Detiste <alexandre.detiste@gmail.com> - 2025-02-16 01:40 +0100
  Re: missing pkg_resources dependencies Alexandre Detiste <alexandre.detiste@gmail.com> - 2025-02-16 02:00 +0100
  Re: missing pkg_resources dependencies Mathias Behrle <mbehrle@debian.org> - 2025-02-16 19:00 +0100
    Re: missing pkg_resources dependencies Andrey Rakhmatullin <wrar@debian.org> - 2025-02-16 19:30 +0100
      Re: missing pkg_resources dependencies Alexandre Detiste <alexandre.detiste@gmail.com> - 2025-02-16 19:40 +0100

csiph-web