Skip to content

Commit

Permalink
Document that package sources are ignored by Pip
Browse files Browse the repository at this point in the history
  • Loading branch information
smheidrich committed Jan 4, 2025
1 parent d9f1914 commit 6cef350
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,17 @@ when publishing a package.

{{% /note %}}

{{% warning %}}

Package sources are a Poetry-specific feature and **not** included in
[core metadata](https://packaging.python.org/en/latest/specifications/core-metadata/) produced by
the Poetry build backend.

Consequently, when a Poetry project is e.g. installed using Pip (as a normal package or in editable
mode), package sources will be ignored and all dependencies downloaded from PyPI by default.

{{% /warning %}}

### Project Configuration

These package sources may be managed using the [`source`]({{< relref "cli#source" >}}) command for
Expand Down

0 comments on commit 6cef350

Please sign in to comment.