Skip to content

Document package sources for self update#10923

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

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.

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