Skip to content

Document package sources for self update#10923

Open
Mirochill wants to merge 1 commit into
python-poetry:mainfrom
Mirochill:docs-10633-self-update-source
Open

Document package sources for self update#10923
Mirochill wants to merge 1 commit into
python-poetry:mainfrom
Mirochill:docs-10633-self-update-source

Conversation

@Mirochill

Copy link
Copy Markdown
Contributor

Pull Request Check List

Resolves: #10633

  • Added tests for changed code.
  • Updated documentation for changed code.

Summary:

  • Document that poetry self commands use a system pyproject.toml in Poetry's configuration directory.
  • Clarify that poetry self update reads package sources from that system project, not from the current project's pyproject.toml.
  • Link the [[tool.poetry.source]] format to the package sources documentation.

Validation:

  • git diff --check
  • rg -n "system project|configuration#config-directory|repositories/#package-sources|tool\.poetry\.source|current project.*self update|preserves existing" docs\cli.md

Not run locally: documentation build, tests, or pre-commit.

@Mirochill Mirochill marked this pull request as ready for review May 26, 2026 19:35

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

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.

where to specify the source for poetry self update

1 participant