Skip to content

Commit

Permalink
Disable Poetry experimental new installer
Browse files Browse the repository at this point in the history
python-poetry/poetry#3811
python-poetry/poetry#4210

Poetry installs are erroring with `JSONDecodeError`s in GitHub Actions:

`poetry cache clear --all pypi --no-interaction` does not fix the issue.
Removing the actions/cache step for Poetry fixes the issue.
Disabling the experimental new installer also fixes the issue.

Disable installer with `poetry config experimental.new-installer false`,
which updates poetry.toml.

Additionally, the setting is not correctly implemented as a Boolean, so
`export POETRY_EXPERIMENTAL_NEW_INSTALLER=false` does not disable the
installer (python-poetry/poetry#3811). It can be set to an empty string,
or disabled using `poetry config experimental.new-installer false` and
updating poetry.toml.

This commit will disable the experimental new installer in poetry.toml.
  • Loading branch information
br3ndonland committed Nov 2, 2021
1 parent 7ee088b commit 8fa29ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions poetry.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[experimental]
new-installer = false

[virtualenvs]
in-project = true

0 comments on commit 8fa29ea

Please sign in to comment.