mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 02:12:36 +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
|
||||
source .venv/bin/activate
|
||||
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:
|
||||
name: Run linters to enforce code style
|
||||
command: |
|
||||
|
@ -135,7 +135,7 @@ jobs:
|
|||
name: Install poetry dependencies
|
||||
command: |
|
||||
sudo pip3 install poetry
|
||||
poetry install
|
||||
poetry install --no-ansi
|
||||
- run:
|
||||
name: Prepare cache directory
|
||||
command: |
|
||||
|
|
Loading…
Reference in a new issue