Skip to content

Clarify the packaging tutorial's importable-package scope - #2147

Merged
rgommers merged 4 commits into
python:mainfrom
harshitethic:docs/614-clarify-packaging-tutorial-scope
Nov 30, 2026
Merged

rgommers merged 4 commits into
python:mainfrom
harshitethic:docs/614-clarify-packaging-tutorial-scope

Conversation

@harshitethic

@harshitethic harshitethic commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor
@merwok

merwok commented Sep 30, 2026

Copy link
Copy Markdown
Member

I feel that more little bits of this doc could be improved. I also wonder why the tutorial does not start with a single module before moving on to a package example. I could see people coming from other languages with namespaces (like npm or even github tight coupling like go) being unsure about what is happening here and confused between project directory and import package name!

@rgommers rgommers added type: enhancement A self-contained enhancement or new feature component: tutorials labels Nov 10, 2026

@rgommers rgommers 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.

Thanks @harshitethic.The first paragraph added looks fine, and addresses #614. The rest is duplicate, so can be removed. A single note with the cross-link is all that is needed here.

I feel that more little bits of this doc could be improved.

I agree, but that can be done separately I think. There are lots of pages that need a partial or full rewrite. Once we get rid of the large backlog of PRs (halfway there ....), then I think that's the thing to focus on.

Comment thread source/tutorials/packaging-projects.rst Resolved
@rgommers

Copy link
Copy Markdown
Contributor

I don't think we're going to get any response from @harshitethic as it's an account making drive-by PRs on many repos. I addresses my own comment, keeping only the minimal text needed to address #614. That isn't a particularly important issue, so I think we can either merge this minimal sentence with cross-link to the CLI tool guide, or close both.

@merwok any preference?

@merwok

merwok commented Nov 30, 2026

Copy link
Copy Markdown
Member

This is a small and useful change. Hopefully you can rebase-squash-merge and edit the commit message to not include the PR description text.

@rgommers
rgommers dismissed their stale review November 30, 2026 20:50

I addressed this myself.

@rgommers

Copy link
Copy Markdown
Contributor

Hopefully you can rebase-squash-merge and edit the commit message to not include the PR description text.

There's still an auto-merge thing that seems to prevent that, let's see if I can fix that right now.

@rgommers

Copy link
Copy Markdown
Contributor

Settings are right now for this repo, but it either takes time to propagate or doesn't apply to already-open PRs. So re-running CI.

@rgommers
rgommers merged commit eae0150 into python:main Nov 30, 2026
5 checks passed
@rgommers

Copy link
Copy Markdown
Contributor

victory 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: tutorials type: enhancement A self-contained enhancement or new feature

3 participants