Skip to content

Update pyproject name to use dashes - #145

Closed
arandito wants to merge 1 commit into
developfrom
pyproject-updates
Closed

arandito wants to merge 1 commit into
developfrom
pyproject-updates

Conversation

@arandito

Copy link
Copy Markdown
Contributor

Description

Updates pyproject.toml generation for AWS clients:

  • Project name now uses dashes - name used to be the module name (my_handwritten_model). It's now the normalized form (my-handwritten-model) defined by the packaging name normalization spec. The import name stays the same.

Is this breaking?

No. The spec treats -, _, and . in names as equivalent and says names should be normalized before lookups and comparisons. pip, uv, and PyPI treat my_handwritten_model and my-handwritten-model as the same project, so existing installs and requirements in either spelling keep working. Imports and built file names don't change either. The only visible difference is that pip list and pip show print the dashed name.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@arandito arandito closed this Nov 19, 2026
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

Successfully merging this pull request may close these issues.

1 participant