docs: fix incorrect uv configuration for CLI extensions in "Using entry points" section (#4455)#4456
Merged
provinzkraut merged 4 commits intolitestar-org:mainfrom Jan 7, 2026
Merged
Conversation
|
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/4456 |
sobolevn
reviewed
Nov 2, 2025
Member
sobolevn
left a comment
There was a problem hiding this comment.
Just above the changed like we have tool.poetry.plugins, which is deprecated: https://python-poetry.org/docs/pyproject#plugins
Can you please update it as well?
Contributor
Author
|
@sobolevn Thanks for pointing that out! I've updated the deprecated tool.poetry.plugins configuration to use the standard [project.entry-points] format as requested. The changes are now included in this PR. |
provinzkraut
requested changes
Nov 2, 2025
…ntry points" section (litestar-org#4455)
…t.entry-points]` for CLI command registration to ensure PEP 621 compliance. (litestar-org#4455)
provinzkraut
approved these changes
Jan 7, 2026
provinzkraut
added a commit
that referenced
this pull request
Jan 25, 2026
…ntry points" section (#4455) (#4456) * docs: fix incorrect `uv` configuration for CLI extensions in "Using entry points" section (#4455) * docs: Replace deprecated `tool.poetry.plugins` with standard `[project.entry-points]` for CLI command registration to ensure PEP 621 compliance. (#4455) --------- Co-authored-by: Janek Nouvertné <provinzkraut@posteo.de> (cherry picked from commit 7a63503)
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.
Description
Fix incorrect uv package manager configuration in CLI extension documentation. The current documentation uses
[project.scripts]which creates standalone executables instead of registering commands with the Litestar CLI group.Changes Made
[project.scripts]configuration with correct[project.entry-points."litestar.commands"]in CLI extension exampleslitestar.commandsentry point groupCloses
close #4455