Repository navigation
Allow selecting dependencies that only ship shell completions - #2157
Merged
gaborbernat merged 3 commits intoOct 17, 2026
Merged
Conversation
AryanRG
marked this pull request as ready for review
October 17, 2026 05:23
gaborbernat
enabled auto-merge (squash)
October 17, 2026 10:32
gaborbernat
approved these changes
Oct 17, 2026
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2156.
--include-resources-fromrejects a dependency that provides shell completions but no apps or manual pages, then rolls back the parent installation. Include the discovered completion dependencies in metadata validation, update the diagnostic and docs, and add local-wheel regressions for pip and uv. The regression checks normalized selection metadata and exposed Bash, Zsh, and Fish completions.Validation
Full
tox run --skip-missing-interpreters false -e 3.11,3.15,type,docspassed on the five-file patch:ty checkpassed.-W --keep-goingpassed.pre-commit run --all-filesandgit diff --checkpassed.Validation uses macOS 27 arm64, the normal 80-column terminal width and 60-second macOS timeout, and a PATH without the misleading Miniforge
python3.1symlink. No source, test, or interpreter overrides are used. Both new backend regression cases ran without skips.Final head:
fc02bf27222bf255f63321f07271383ec4858379. Its only addition to the tested code/test/docs commit ischangelog.d/2157.bugfix.md. At this exact head, the 38-case focused suite passed on each interpreter (3.11: 24.70 seconds; 3.15: 10.36 seconds), and type checking and Sphinx docs passed again. Full pre-commit passed on the same six-file tree. The generated changelog includes the new entry with the #2157 link.Final six-file diff SHA-256:
3ed9f2c757487d10cddc73f4162a9112c822447d53bb849674793194d565af48, usinggit diff --binary --full-index --no-ext-diff 57023060214b662d31484337864918e1846bd608 fc02bf27222bf255f63321f07271383ec4858379. The original five-file subset still hashes toc5ed6848849a79bdbad402ed88ea9f91309817b84158954aadf5d62cebb240b6.CI snapshot at 2026-10-17 05:16 UTC: final-head tests and zizmor report
completed/action_required, with no check runs. pre-commit.ci and Read the Docs passed. Passing hosted test CI is not claimed, and the PR remains draft.Contribution checklist
pre-commit run --all-files)changelog.d/folder (choose a type:feature,bugfix,doc,removal, ormisc)tox run -e 3.11,3.15)No temporary interpreter overrides are added; that checklist item is not applicable. The numbered changelog fragment was added after obtaining this PR's actual number.
AI assistance was used to prepare implementation and regression tests.