📝 Update the "Building a Package" tutorial to use uv instead of poetry#1474
Open
svlandeg wants to merge 9 commits intofastapi:masterfrom
Open
📝 Update the "Building a Package" tutorial to use uv instead of poetry#1474svlandeg wants to merge 9 commits intofastapi:masterfrom
uv instead of poetry#1474svlandeg wants to merge 9 commits intofastapi:masterfrom
Conversation
Contributor
📝 Docs previewLast commit 4c8d320 at: https://adf42f51.typertiangolo.pages.dev Modified Pages |
svlandeg
commented
Jan 5, 2026
| Commands: | ||
| load Load the portal gun | ||
| shoot Shoot the portal gun | ||
| load Load the portal gun |
Member
Author
There was a problem hiding this comment.
This order is now changed because Typer respects the order in which the functions were defined since #944.
svlandeg
commented
Jan 5, 2026
|
|
||
| That works! 🚀 Sort of... 🤔 | ||
|
|
||
| See the `__main__.py` in the help instead of `rick-portal-gun`? We'll fix that next. |
Member
Author
There was a problem hiding this comment.
When I run the steps as outlined above, I don't see __main__.py anymore in the help text. Instead, I see python -m rick_portal_gun. So, I removed the entire next paragraph, unless we still want it?
svlandeg
commented
Jan 5, 2026
| ``` | ||
|
|
||
| And in the file `rick_portal_gun/__init__.py`: | ||
| And in the file `src/rick_portal_gun/__init__.py`: |
Member
Author
There was a problem hiding this comment.
In fact, is this necessary to edit __init__.py and have the version there?
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.
Updated the section in the docs on building & publishing a package, to use
uvinstead ofpoetry.