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


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

Re: Proposed Mass Bug: removal of Python standard libraries in Python 3.13

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Louis-Philippe Véronneau <pollo@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Proposed Mass Bug: removal of Python standard libraries in Python 3.13
Date Sun, 06 Oct 2024 22:20:02 +0200
Message-ID <JuFTs-hoii-1@gated-at.bofh.it> (permalink)
References <JuBPP-hlGz-1@gated-at.bofh.it> <JuEaZ-hnep-13@gated-at.bofh.it> <JuEaZ-hnep-15@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Oct 6 20:15:31 2024
Old-Return-Path <pollo@debian.org>
X-Amavis-Spam-Status No, score=-113.01 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no
MIME-Version 1.0
User-Agent Mozilla Thunderbird
Content-Language en-US
Autocrypt addr=pollo@debian.org; keydata= xjMEYEPdjBYJKwYBBAHaRw8BAQdA5yh8SOHhcvKeX/A4rv0/JTCL8Kgnnwy4/okKh1Htbs3N LExvdWlzLVBoaWxpcHBlIFbDqXJvbm5lYXUgPHBvbGxvQGRlYmlhbi5vcmc+wpYEExYKAD4C GwMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AWIQT2TWHTIfPLSJFWdT3h5UV8i61BEwUCZb/f iAUJDuIDfAAKCRDh5UV8i61BEzdaAP0cGJp8CpkywzefhdaJjfK5/uAQLRg5Bk6yCWnyR8B4 wQEAxA4C39PJPsosgOVBMdfkzCPhGVynYBnujOyEcksX1w/OOARgQ+DlEgorBgEEAZdVAQUB AQdAgRLbDfS/6GLXd15qI9zHso9UwJQgDbme7pvL1Z9rkG4DAQgHwn4EGBYKACYCGwwWIQT2 TWHTIfPLSJFWdT3h5UV8i61BEwUCZb/fsAUJDuIASgAKCRDh5UV8i61BEwYaAQDhvbQQqmTD F/fdodzfiY45IWYckb9rCvKaVnfP6DOY9QEA/eeaEWmOq2NpOYpBesVjBZCLe8jKv1WPMfLL YOfDIAc=
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------J5fZDPaEgCx3x0CVGa4WRYHw"
X-Debian-User pollo
X-Mailing-List <debian-python@lists.debian.org> archive/latest/22405
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/f275be67-9d10-4eee-a0e3-f92115409d19@debian.org
Approved robomod@news.nic.it
Lines 149
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 6 Oct 2024 16:15:16 -0400
X-Original-Message-ID <f275be67-9d10-4eee-a0e3-f92115409d19@debian.org>
X-Original-References <cb7ff24c-755c-47a9-9530-373b487e0df3@debian.org> <ZwLU50mNLldz0a02@hermes.hilbert.loc> <ZwLV2ZurqIPkGivI@hermes.hilbert.loc>
Xref csiph.com linux.debian.maint.python:16341

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2024-10-06 2 h 24 p.m., Karsten Hilbert wrote:
> Am Sun, Oct 06, 2024 at 08:20:23PM +0200 schrieb Karsten Hilbert:
> 
>> Am Sun, Oct 06, 2024 at 11:51:39AM -0400 schrieb Louis-Philippe Véronneau:
>>
>>> The `uses-deprecated-python-stdlib` lintian tag finally seems to be ready. \0/
> ...
>>>     gnumed-client (U)
>>>     gnumed-server (U)
>>
>> That's a false positive. It uses mailcap, which is removed
>> in 3.13, but when it fails to import mailcap from stdlib it
>> uses its own copy.
> 
> I would, however, still be interested in what lintian says.
> 
> I may have missed a dependency ;-)

There's bound to be _some_ false positives... Considering that Lintian 
doesn't actually run any Python code and only statically analyses source 
code, weeding out packages that try to import removed libraries and do 
something else when that fails would be pretty hard to do.

In those cases, I'm sure maintainers will know better and just close the 
bugs.

-- 
   ⢀⣴⠾⠻⢶⣦⠀
   ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
   ⢿⡄⠘⠷⠚⠋   pollo@debian.org / veronneau.org
   ⠈⠳⣄

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


Thread

Proposed Mass Bug: removal of Python standard libraries in Python  3.13 Louis-Philippe Véronneau <pollo@debian.org> - 2024-10-06 18:00 +0200
  Re: Proposed Mass Bug: removal of Python standard libraries in  Python 3.13 Stefano Rivera <stefanor@debian.org> - 2024-10-06 18:10 +0200
  Re: Proposed Mass Bug: removal of Python standard libraries in Python 3.13 Scott Kitterman <debian@kitterman.com> - 2024-10-06 19:20 +0200
    Re: Proposed Mass Bug: removal of Python standard libraries in Python 3.13 weepingclown <weepingclown@disroot.org> - 2024-10-06 19:50 +0200
      Re: Proposed Mass Bug: removal of Python standard libraries in Python 3.13 Scott Kitterman <sklist@kitterman.com> - 2024-10-06 20:10 +0200
        Re: Proposed Mass Bug: removal of Python standard libraries in Python  3.13 Louis-Philippe Véronneau <pollo@debian.org> - 2024-10-06 22:20 +0200
  Re: Proposed Mass Bug: removal of Python standard libraries in  Python 3.13 Karsten Hilbert <Karsten.Hilbert@gmx.net> - 2024-10-06 20:30 +0200
    Re: Proposed Mass Bug: removal of Python standard libraries in  Python 3.13 Karsten Hilbert <Karsten.Hilbert@gmx.net> - 2024-10-06 20:30 +0200
      Re: Proposed Mass Bug: removal of Python standard libraries in Python  3.13 Louis-Philippe Véronneau <pollo@debian.org> - 2024-10-06 22:20 +0200
      Re: Proposed Mass Bug: removal of Python standard libraries in  Python 3.13 Étienne Mollier <emollier@debian.org> - 2024-10-09 16:00 +0200
        Re: Proposed Mass Bug: removal of Python standard libraries in  Python 3.13 Karsten Hilbert <Karsten.Hilbert@gmx.net> - 2024-10-09 20:10 +0200
  Re: Proposed Mass Bug: removal of Python standard libraries in Python  3.13 Carsten Schoenert <c.schoenert@t-online.de> - 2024-10-06 21:10 +0200
    Re: Proposed Mass Bug: removal of Python standard libraries in  Python 3.13 Stefano Rivera <stefanor@debian.org> - 2024-10-06 21:20 +0200
      Re: Proposed Mass Bug: removal of Python standard libraries in Python  3.13 Matthias Klose <doko@debian.org> - 2024-10-07 01:40 +0200
  Re: Proposed Mass Bug: removal of Python standard libraries in Python  3.13 Matthias Klose <doko@debian.org> - 2024-10-07 01:30 +0200
  Re: Proposed Mass Bug: removal of Python standard libraries in Python 3.13 Scott Kitterman <debian@kitterman.com> - 2024-10-07 07:00 +0200
    Re: Proposed Mass Bug: removal of Python standard libraries in  Python 3.13 Stefano Rivera <stefanor@debian.org> - 2024-10-07 16:50 +0200
      Re: Proposed Mass Bug: removal of Python standard libraries in Python 3.13 Scott Kitterman <debian@kitterman.com> - 2024-10-07 17:20 +0200
  Re: Proposed Mass Bug: removal of Python standard libraries in Python  3.13 Louis-Philippe Véronneau <pollo@debian.org> - 2024-10-07 19:10 +0200

csiph-web