Skip to content
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

Behaviour change on hyphen in package names with build 1.2.x? #770

Closed
HubTou opened this issue Apr 14, 2024 · 1 comment
Closed

Behaviour change on hyphen in package names with build 1.2.x? #770

HubTou opened this issue Apr 14, 2024 · 1 comment

Comments

@HubTou
Copy link

HubTou commented Apr 14, 2024

I think I noticed a behaviour change with build releases 1.2.x.

It seems that hyphen in package names are now replaced with underscore in the .tar.gz distribution files.

I documented this in another PR.

@layday
Copy link
Member

layday commented Apr 14, 2024

This is correct according to the sdist spec - filename segments are separated by hyphens and dist names are normalised, replacing hyphens with underscores. Assuming you are using setuptools, the change you are observing is pypa/setuptools#3593, and is unrelated to build.

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