Skip to content

Commit ce466f9

Browse files
authored
Merge pull request #446 from JoeyC1990/Poetry1Update
Change to poetry command to export requirements.txt resolving #445
2 parents afb88ff + c7bbaff commit ce466f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ custom:
9696

9797
## Poetry support :sparkles::pencil::sparkles:
9898
If you include a `pyproject.toml` and have `poetry` installed instead of a `requirements.txt` this will use
99-
`poetry export --without-hashes -f requirements.txt` to generate them. It is fully compatible with all options such as `zip` and
99+
`poetry export --without-hashes -f requirements.txt -o requirements.txt` to generate them. It is fully compatible with all options such as `zip` and
100100
`dockerizePip`. If you don't want this plugin to generate it for you, set the following option:
101101
```yaml
102102
custom:

lib/poetry.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function pyprojectTomlToRequirements() {
1616

1717
const res = spawnSync(
1818
'poetry',
19-
['export', '--without-hashes', '-f', 'requirements.txt'],
19+
['export', '--without-hashes', '-f', 'requirements.txt', '-o', 'requirements.txt'],
2020
{
2121
cwd: this.servicePath
2222
}

0 commit comments

Comments
 (0)