Skip to content

PyPi deprecation notice #126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
FoamyGuy opened this issue Feb 13, 2025 · 2 comments
Closed

PyPi deprecation notice #126

FoamyGuy opened this issue Feb 13, 2025 · 2 comments

Comments

@FoamyGuy
Copy link
Contributor

This email is notifying you of an upcoming deprecation that we have determined may affect you as a result of your recent upload to 'circuitpython-build-tools'.
In the future, PyPI will require all newly uploaded source distribution filenames to comply with PEP 625. Any source distributions already uploaded will remain in place as-is and do not need to be updated.
Specifically, your recent upload of 'circuitpython-build-tools-1.17.0.tar.gz' is incompatible with PEP 625 because it does not contain the normalized project name 'circuitpython_build_tools'.
In most cases, this can be resolved by upgrading the version of your build tooling to a later version that supports PEP 625 and produces compliant filenames. You do not need to remove the file.
If you have questions, you can email admin@pypi.org to communicate with the PyPI admin@pypi.org to communicate with the PyPI administrators.

@dhalbert
Copy link
Contributor

dhalbert commented Apr 8, 2025

@FoamyGuy Do you understand what we should change to make the .tar.gz files be circuitpython_build_tools*.tar.gz, with underscores?

circuitpython-build-tools(with hyphens) issetup.py. But if I look in another canonical library, say https://github.com/adafruit/Adafruit_CircuitPython_SHT31D, its pyproject.tomlhasname = "adafruit-circuitpython-sht31d"`.

Maybe it's that using pyproject.toml converts to underscores for us, but using setup.py doesn't? In any case, we should probably convert this to pyproject.toml.

@dhalbert
Copy link
Contributor

dhalbert commented Apr 8, 2025

Fixed by #128.

@dhalbert dhalbert closed this as completed Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants