mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 10:12:38 +02:00
ci: Handle upstream Poetry bug
Poetry 1.3 has an upstream bug [1] that makes it fail in TTYs that report size 0. A temporary fix for this is to disable escape sequences support with `--no-ansi`. [1]: https://github.com/python-poetry/poetry/issues/7184
This commit is contained in:
parent
b25db1042b
commit
58b23a6338
1 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ jobs:
|
||||||
python3 -m venv .venv
|
python3 -m venv .venv
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
pip install poetry
|
pip install poetry
|
||||||
poetry install # FIXME --dev-only once poetry 1.2.0 is out https://github.com/python-poetry/poetry/issues/2572
|
poetry --no-ansi install # FIXME --dev-only once poetry 1.2.0 is out https://github.com/python-poetry/poetry/issues/2572
|
||||||
- run:
|
- run:
|
||||||
name: Run linters to enforce code style
|
name: Run linters to enforce code style
|
||||||
command: |
|
command: |
|
||||||
|
@ -135,7 +135,7 @@ jobs:
|
||||||
name: Install poetry dependencies
|
name: Install poetry dependencies
|
||||||
command: |
|
command: |
|
||||||
sudo pip3 install poetry
|
sudo pip3 install poetry
|
||||||
poetry install
|
poetry install --no-ansi
|
||||||
- run:
|
- run:
|
||||||
name: Prepare cache directory
|
name: Prepare cache directory
|
||||||
command: |
|
command: |
|
||||||
|
|
Loading…
Reference in a new issue