Skip to content

Commit

Permalink
Try disabling Poetry experimental installer
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed Dec 21, 2021
1 parent 8c1f0ed commit dffd369
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ deps =

[testenv:lint]
commands =
# For compatibility with Python 3.10.
# See https://github.com/python-poetry/poetry/issues/4210.
poetry config experimental.new-installer false
poetry install -q
poetry run flake8
poetry run isort --check-only --diff
Expand Down
3 changes: 3 additions & 0 deletions tox_install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/sh
set -e

# For compatibility with Python 3.10.
# See https://github.com/python-poetry/poetry/issues/4210.
poetry config experimental.new-installer false
poetry install

if [ ! -z "$@" ]
Expand Down

0 comments on commit dffd369

Please sign in to comment.