File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,15 @@ The plugin provides an `export` command to export to the desired format.
4545poetry export -f requirements.txt --output requirements.txt
4646```
4747
48- ** Note** : Only the ` constraints.txt ` and ` requirements.txt ` formats are currently supported.
48+ > [ !IMPORTANT]
49+ > When installing an exported ` requirements.txt ` via ` pip ` , you should always pass ` --no-deps `
50+ > because Poetry has already resolved the dependencies so that all direct and transitive
51+ > requirements are included and it is not necessary to resolve again via ` pip ` .
52+ > ` pip ` may even fail to resolve dependencies, especially if ` git ` dependencies,
53+ > which are exported with their resolved hashes, are included.
54+
55+ > [ !NOTE]
56+ > Only the ` constraints.txt ` and ` requirements.txt ` formats are currently supported.
4957
5058### Available options
5159
You can’t perform that action at this time.
0 commit comments