Fix installation of poetry.
This commit is contained in:
parent
0f6e8786de
commit
2392907f8e
1 changed files with 1 additions and 7 deletions
|
@ -371,13 +371,7 @@ class PyProject(BuildSystem):
|
||||||
logging.debug(
|
logging.debug(
|
||||||
"Found pyproject.toml with poetry section, " "assuming poetry project."
|
"Found pyproject.toml with poetry section, " "assuming poetry project."
|
||||||
)
|
)
|
||||||
resolver.install(
|
run_with_build_fixers(session, ["poetry", "build", "-f", "sdist"], fixers)
|
||||||
[
|
|
||||||
PythonPackageRequirement("venv"),
|
|
||||||
PythonPackageRequirement("poetry"),
|
|
||||||
]
|
|
||||||
)
|
|
||||||
session.check_call(["poetry", "build", "-f", "sdist"])
|
|
||||||
return
|
return
|
||||||
raise AssertionError("no supported section in pyproject.toml")
|
raise AssertionError("no supported section in pyproject.toml")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue