PyPI artifacts use invalid filenames
mgorny opened this issue · 7 comments
The PyPI artifacts for 4.0.0 violate the current version of sdist & wheel specifications by using dots in filenames:
github3.py-4.0.0.tar.gz
github3.py-4.0.0-py3-none-any.whl
However, the directory inside sdist seems to be named correctly:
$ tar -tf github3.py-4.0.0.tar.gz | head -n 1
github3_py-4.0.0/.pre-commit-config.yaml
FWIK hatchling does the correct thing so I guess the release pipeline is broken somewhere and renames the files to non-conformant filenames (but leaving the internal structure correct).
To be honest, I don't think there's a good solution right now, except for not using dot in project name. Good news is, to the best of my knowledge normalization treats .
, _
and -
as equivalent, so if you named the project e.g. github3-py
this shouldn't break anything depending on it (but please don't take my word on it).
To be honest, I don't think there's a good solution right now, except for not using dot in project name. Good news is, to the best of my knowledge normalization treats
.
,_
and-
as equivalent, so if you named the project e.g.github3-py
this shouldn't break anything depending on it (but please don't take my word on it).
I'll go back about 10 years in time and rename it right away
The nonconformant/"invalid" artifact names predate the latest release:
Thanks. I'll test it tomorrow early morning, if that's ok.
It works fine. Thanks again!