Skip to content
Snippets Groups Projects
Unverified Commit 7d95dc3a authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

fix(poetry): don’t extract poetry.masonry.core.api requirements (#9028)

parent 10b2f699
No related merge requests found
......@@ -358,9 +358,7 @@ Object {
exports[`lib/manager/poetry/extract extractPackageFile() extracts multiple dependencies (with dep = {version = "1.2.3"} case) 1`] = `
Object {
"constraints": Object {
"poetry": "poetry>=1.0 wheel",
},
"constraints": Object {},
"deps": Array [
Object {
"currentValue": "*",
......
......@@ -151,9 +151,7 @@ export async function extractPackageFile(
// https://python-poetry.org/docs/pyproject/#poetry-and-pep-517
if (
pyprojectfile['build-system']?.['build-backend'] === 'poetry.masonry.api' ||
pyprojectfile['build-system']?.['build-backend'] ===
'poetry.core.masonry.api'
pyprojectfile['build-system']?.['build-backend'] === 'poetry.masonry.api'
) {
constraints.poetry = pyprojectfile['build-system']?.requires.join(' ');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment