Skip to content

Add a small clarification about hyphens vs. underscores in tutorial - #2186

Merged
rgommers merged 1 commit into
pypa:mainfrom
rgommers:clarify-package-import-name
Nov 17, 2026
Merged

rgommers merged 1 commit into
pypa:mainfrom
rgommers:clarify-package-import-name

Conversation

@rgommers

@rgommers rgommers commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Motivated by the confusion in #1316. Links to the longer page that explains the rules in detail, which was written in response to that end user confusion (see #1426).


📚 Documentation preview 📚: https://python-packaging-user-guide--2186.org.readthedocs.build/en/2186/

Motivated by the confusion in pypa#1316. Links to the longer page that
explains the rules in detail, which was written in response to that
end user confusion (see pypa#1426).

@henryiii henryiii left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be careful about adding too much to a basic tutorial, but I think this is probably common enough to mention.

@rgommers

rgommers commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor Author

Yeah I wasn't 100% sure about this one - it was either this one sentence or nothing though, and I'm leaning slightly to adding this one sentence given that the topic comes up pretty regularly.

I'm not attached to it though, so if it is deemed undesirable after all, I'm perfectly fine with closing this again.

@rgommers

Copy link
Copy Markdown
Contributor Author

No other opinions, so in it goes.

@rgommers
rgommers added this pull request to the merge queue Nov 17, 2026
Merged via the queue into pypa:main with commit 54489a5 Nov 17, 2026
8 checks passed
@rgommers
rgommers deleted the clarify-package-import-name branch November 17, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: tutorials type: maintenance Regular maintenance of the guide, CI and repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants