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/

From Alexandre Detiste <alexandre.detiste@gmail.com>
Newsgroups linux.debian.maint.python
Subject Re: URL mangling in https://pypi.debian.net/
Date 2024-12-18 19:00 +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>
Organization linux.* mail to news gateway

Show all headers | 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