Skip to content

Document hashes for manually hosted package indexes - #2126

Open
roli-lpci wants to merge 1 commit into
pypa:mainfrom
roli-lpci:docs/manual-index-hashes
Open

Document hashes for manually hosted package indexes#2126
roli-lpci wants to merge 1 commit into
pypa:mainfrom
roli-lpci:docs/manual-index-hashes

Conversation

@roli-lpci

@roli-lpci roli-lpci commented Sep 6, 2026

Copy link
Copy Markdown

The manual repository example currently recommends serving an automatically
generated directory listing, but those listings usually do not include artifact
hashes. This can leave package-manager lock files without hashes for artifacts
downloaded from the repository.

This adds a hash-bearing project detail page example, links to the Simple
Repository API contract, and points readers to dumb-pypi when they want a
static site generator that supplies hashes and other repository metadata.

Closes #1951.

Validation:

  • git diff --check
  • nox -s build (strict Sphinx HTML build with missing-reference warnings treated as errors)

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

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.

Expand on the "Manual" repository example

1 participant