From 2392907f8e048eeb02c41ef79e495be8cf411f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Wed, 17 Mar 2021 03:50:53 +0000 Subject: [PATCH] Fix installation of poetry. --- ognibuild/buildsystem.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ognibuild/buildsystem.py b/ognibuild/buildsystem.py index a4c0dd2..65f29cf 100644 --- a/ognibuild/buildsystem.py +++ b/ognibuild/buildsystem.py @@ -371,13 +371,7 @@ class PyProject(BuildSystem): logging.debug( "Found pyproject.toml with poetry section, " "assuming poetry project." ) - resolver.install( - [ - PythonPackageRequirement("venv"), - PythonPackageRequirement("poetry"), - ] - ) - session.check_call(["poetry", "build", "-f", "sdist"]) + run_with_build_fixers(session, ["poetry", "build", "-f", "sdist"], fixers) return raise AssertionError("no supported section in pyproject.toml")