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


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

Re: URL mangling in https://pypi.debian.net/

Path csiph.com!tncsrv06.tnetconsulting.net!newsfeed.endofthelinebbs.com!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Alexandre Detiste <alexandre.detiste@gmail.com>
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 <JV6uZ-yph-13@gated-at.bofh.it> (permalink)
References <JUOHM-jAq-7@gated-at.bofh.it> <JUYnM-sha-11@gated-at.bofh.it>
X-Original-To Dmitry Shachnev <mitya57@debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Dec 18 17:53:21 2024
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 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 <debian-python@lists.debian.org> archive/latest/22681
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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 <debian-python@lists.debian.org>
X-Original-Date Wed, 18 Dec 2024 18:52:52 +0100
X-Original-Message-ID <CADsTwj+USWpfJdK6rT4zXi3aU=83kD_V=_n3HXYHLT3N2bSBAw@mail.gmail.com>
X-Original-References <CADsTwj+SAGSUtggMXfPEybJsfpZ9MXabsPqNH+oQUc0ewtdP-Q@mail.gmail.com> <Z2KTtHnBVM9oxTQN@mitya57.me>
Xref csiph.com linux.debian.maint.python:16589

Show key headers only | View raw


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éc. 2024 à 10:19, Dmitry Shachnev <mitya57@debian.org> a écrit :
> 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 underscore.
>
> I think pypi.debian.net does not mangle the file names in any way, it just
> 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-distribution-format/#escaping-and-unicode
> [2]: https://packaging.python.org/en/latest/specifications/source-distribution-format/#source-distribution-file-name

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


Thread

URL mangling in https://pypi.debian.net/ Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-12-18 00:00 +0100
  Re: URL mangling in https://pypi.debian.net/ Dmitry Shachnev <mitya57@debian.org> - 2024-12-18 10:20 +0100
    Re: URL mangling in https://pypi.debian.net/ Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-12-18 19:00 +0100

csiph-web