Skip to content

Commit 8937e24

Browse files
committed
Document that package sources are ignored by Pip
1 parent d9f1914 commit 8937e24

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/repositories.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,18 @@ when publishing a package.
119119

120120
{{% /note %}}
121121

122+
{{% warning %}}
123+
124+
Package sources are a Poetry-specific feature and **not** included in
125+
[core metadata](https://packaging.python.org/en/latest/specifications/core-metadata/) produced by
126+
the Poetry build backend.
127+
128+
Consequently, when a Poetry project is e.g. installed using Pip (as a normal package or in editable
129+
mode), package sources will be ignored and the dependencies in question downloaded from PyPI by
130+
default.
131+
132+
{{% /warning %}}
133+
122134
### Project Configuration
123135

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

0 commit comments

Comments
 (0)