Skip to content

Commit

Permalink
fix: Revert "fix(poetry): pin poetry-core==1.0.0"
Browse files Browse the repository at this point in the history
This reverts commit be48d2e.
  • Loading branch information
rarkins committed Feb 5, 2021
1 parent be48d2e commit 979e921
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/manager/poetry/__snapshots__/artifacts.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Array [
},
},
Object {
"cmd": "docker run --rm --name=renovate_python --label=renovate_child -v \\"/tmp/github/some/repo\\":\\"/tmp/github/some/repo\\" -w \\"/tmp/github/some/repo\\" renovate/python:2.7.5 bash -l -c \\"pip install poetry-core==1.0.0 'poetry>=1.0' && poetry update --lock --no-interaction dep1\\"",
"cmd": "docker run --rm --name=renovate_python --label=renovate_child -v \\"/tmp/github/some/repo\\":\\"/tmp/github/some/repo\\" -w \\"/tmp/github/some/repo\\" renovate/python:2.7.5 bash -l -c \\"pip install 'poetry>=1.0' && poetry update --lock --no-interaction dep1\\"",
"options": Object {
"cwd": "/tmp/github/some/repo",
"encoding": "utf-8",
Expand Down Expand Up @@ -135,7 +135,7 @@ Array [
},
},
Object {
"cmd": "docker run --rm --name=renovate_python --label=renovate_child -v \\"/tmp/github/some/repo\\":\\"/tmp/github/some/repo\\" -w \\"/tmp/github/some/repo\\" renovate/python:3.4.2 bash -l -c \\"pip install poetry-core==1.0.0 poetry && poetry update --lock --no-interaction dep1\\"",
"cmd": "docker run --rm --name=renovate_python --label=renovate_child -v \\"/tmp/github/some/repo\\":\\"/tmp/github/some/repo\\" -w \\"/tmp/github/some/repo\\" renovate/python:3.4.2 bash -l -c \\"pip install poetry && poetry update --lock --no-interaction dep1\\"",
"options": Object {
"cwd": "/tmp/github/some/repo",
"encoding": "utf-8",
Expand Down
4 changes: 1 addition & 3 deletions lib/manager/poetry/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ export async function updateArtifacts({
}
const tagConstraint = getPythonConstraint(existingLockFileContent, config);
const poetryRequirement = config.constraints?.poetry || 'poetry';
// TODO: Stop pinning poetry-core once https://github.com/python-poetry/poetry/issues/3650 is fixed
const poetryInstall =
'pip install poetry-core==1.0.0 ' + quote(poetryRequirement);
const poetryInstall = 'pip install ' + quote(poetryRequirement);
const extraEnv = getSourceCredentialVars(
newPackageFileContent,
packageFileName
Expand Down

0 comments on commit 979e921

Please sign in to comment.