Path: csiph.com!tncsrv06.tnetconsulting.net!newsfeed.endofthelinebbs.com!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Alexandre Detiste Newsgroups: linux.debian.maint.python Subject: Re: URL mangling in https://pypi.debian.net/ Date: Wed, 18 Dec 2024 19:00:01 +0100 Message-ID: References: X-Original-To: Dmitry Shachnev X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Dec 18 17:53:21 2024 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: AOJu0YzVpUJNYeBVa25km1CQ4j7ByZAf4FqrY43WO5eKoLq16HWAuwL7 D5NpuO0gnS4ftxNvVPXrlfPV0py+VPcp1UNh8bUOdfkJObYlWGjItOY1ecMMRT11FhWdUx/VFt5 fl26kh7vYDoSM6IxDrigYMeX3/+cSIQSZ X-Gm-Gg: ASbGnctOUNriBzPY09/G/taH3KR7K8nF9Dfwb67FnhDti9VdCbdw5EzTFjnggXX3GjB hf9yGPavnfl+pA5QT+obh83osr2Yxrr5UD4Es X-Google-SMTP-Source: AGHT+IHeUTQdN+4UfyWELUcfJMDdFFyNDeVb+sbP6REzzhx/MEMZTK12DtYHbP6EKNrgQPxqeJNrWngIHuH4If85MoE= X-Received: by 2002:a05:690c:6188:b0:6ef:820c:a752 with SMTP id 00721157ae682-6f3d1e86752mr31893337b3.20.1734544383771; Wed, 18 Dec 2024 09:53:03 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/22681 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CADsTwj+USWpfJdK6rT4zXi3aU=83kD_V=_n3HXYHLT3N2bSBAw@mail.gmail.com Approved: robomod@news.nic.it Lines: 32 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Debian Python X-Original-Date: Wed, 18 Dec 2024 18:52:52 +0100 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.maint.python:16589 Thank you very much for the explanation. It's a quite general problem, but not so important; and it only can be detected after upstream has made at least one release with the new naming convention. I'll see how to follow this in the long run. Greetings Le mer. 18 d=C3=A9c. 2024 =C3=A0 10:19, Dmitry Shachnev a =C3=A9crit : > Hi Alexandre! > > On Tue, Dec 17, 2024 at 11:57:18PM +0100, Alexandre Detiste wrote: > > I've noticed a recent pattern with archives published on PyPi : > > the "-" we expect in the regexp specified in d/watch is now an undersco= re. > > I think pypi.debian.net does not mangle the file names in any way, it jus= t > takes them from upstream PyPI verbatim. Indeed > And the change from - to _ is caused by more build tools adopting this > specification [1], which says: > > [1]: https://packaging.python.org/en/latest/specifications/binary-distrib= ution-format/#escaping-and-unicode > [2]: https://packaging.python.org/en/latest/specifications/source-distrib= ution-format/#source-distribution-file-name