FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Document packages_distributions metadata fallback by aryansk · Pull Request #544 · python/importlib_metadata · GitHub

Document packages_distributions metadata fallback - #544

Draft
aryansk wants to merge 1 commit into
python:mainfrom
aryansk:codex/issue-526-top-level-metadata-docs
Draft

Document packages_distributions metadata fallback#544
aryansk wants to merge 1 commit into
python:mainfrom
aryansk:codex/issue-526-top-level-metadata-docs

Conversation

aryansk commented Aug 6, 2026

Copy link
Copy Markdown

Summary

  • Document how packages_distributions() uses the legacy top_level.txt metadata when present and falls back to installed-file inference.
  • Explain why build backends are not required to provide top_level.txt and why mappings can be incomplete.
  • Add the required release news fragment.

Fixes #526

Testing

  • uv run --project . --python /opt/homebrew/bin/python3.14 --extra test pytest -q tests/test_api.py — 37 passed, 39 subtests passed
  • uv run --project . --extra doc python -m sphinx -W --keep-going docs /tmp/codex-oss-next5.2ZwarK/importlib-docs-build — passed
  • git diff --check

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

packages_distributions relies on setuptools implementation detail

1 participant


Back | FazBrowse Home | New Git URL