Skip to content

Add "namespace package" to glossary - #1882

Merged
rgommers merged 1 commit into
pypa:mainfrom
thejcannon:patch-1
Nov 13, 2026
Merged

rgommers merged 1 commit into
pypa:mainfrom
thejcannon:patch-1

Conversation

@thejcannon

@thejcannon thejcannon commented Jul 27, 2025 •

Copy link
Copy Markdown
Contributor

I'm a masochist, so here I go mucking around in the world of namespace packages. Really, I just wanted to link to a definition in an upcoming blog post, and realized there wasn't one.

The wording itself is mostly lifted directly from the first line of PEP 420. For the embellishments, I'm not the best wordsmith so happy to take suggestions.

(I was thinking we could include definitions for "explicit" or "implicit", but incremental improvement is still improvement)


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

Comment thread source/glossary.rst Resolved
@thejcannon

Copy link
Copy Markdown
Contributor Author

CC @jeanas and @qwcode as prior editors to the glossary for "Import Packages" and "Distribution Packages"

@merwok

merwok commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

see also #1979

@thejcannon

Copy link
Copy Markdown
Contributor Author

Happy to close if that one merges!

@ncoghlan

Copy link
Copy Markdown
Member

The two PRs are complementary rather than competing (with native/implicit namespace packages being a subset of namespace packages, with legacy/explicit namespace packages making up the remainder)

(https://packaging.python.org/en/latest/guides/packaging-namespace-packages/ will work as an interim definitional link, and we should mutually cross-link that with the new glossary entry)

@rgommers rgommers added the type: enhancement A self-contained enhancement or new feature label 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.

This LGTM - the glossary should have an entry for "namespace package" indeed. This is ready to merge (I pushed a rebase to refresh CI), and there are no objections from other reviewers, so in it goes. Thanks @thejcannon and reviewers.

For a follow-up there's already #1979 indeed.

@rgommers
rgommers added this pull request to the merge queue Nov 13, 2026
Merged via the queue into pypa:main with commit 41f7052 Nov 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement A self-contained enhancement or new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants