Path: csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Alexandre Detiste Newsgroups: linux.debian.maint.python Subject: Re: missing pkg_resources dependencies Date: Sun, 16 Feb 2025 19:40:02 +0100 Message-ID: References: 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: 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: archive/latest/22822 List-ID: List-URL: 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: X-Original-References: <20250216183504.3afee7e3@monsterix.mbehrle.de> Xref: csiph.com linux.debian.maint.python:16719 > > > 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=C3=A9vr. 2025 =C3=A0 19:22, Andrey Rakhmatullin a =C3=A9crit : > Yes, the solution is removing the module usage, but if that's not possibl= e > a dependency needs to be declared, as usual. Yes, that's the fastest/safest solution. Thanks