Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2024 20:55:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279338] PYPI MASTERSITE broken for tools that conform to pep 625 filename normalization
Message-ID:  <bug-279338-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279338

            Bug ID: 279338
           Summary: PYPI MASTERSITE broken for tools that conform to pep
                    625 filename normalization
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://peps.python.org/pep-0625/
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dereks@lifeofadishwasher.com

As seen with https://pypi.org/project/python-gitlab/4.5.0/ [1] the filename
found on https://files.pythonhosted.org/packages/source filenames that cont=
ain
a hyphenated project name replacing will now be a normalized replacing the -
with _ making the URL before:

https://files.pythonhosted.org/packages/source/p/python-gitlab/python-gitla=
b-4.5.0.tar.gz

to=20

https://files.pythonhosted.org/packages/source/p/python-gitlab/python_gitla=
b-4.5.0.tar.gz

The sdist filename [2] is being normalized to support pip625 [3].

It appearas that maybe some tools/utilities are following this.  Should por=
ts
support both x-y-ver.tar.gz and x_y-var.tar.gz?

[1]
https://github.com/python-gitlab/python-gitlab/actions/runs/9070561059/job/=
24922596892#step:6:798
[2] https://github.com/pypa/setuptools/issues/3593
[3] https://peps.python.org/pep-0625/

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279338-7788>