mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Unpin PIP in CI; replace w/ --no-ansi fix same bug
Alternative solution to commit 0ebfe45169
but without pining the pip version.
This commit is contained in:
parent
0ebfe45169
commit
affc0ca2a8
1 changed files with 3 additions and 3 deletions
|
@ -90,7 +90,7 @@ jobs:
|
|||
# Debian bug [1]. Once this bug is fixed, revert to installing
|
||||
# Poetry from the Debian repos instead, which is more stable.
|
||||
#
|
||||
# Also, we pin the Poetry version to 1.2.2, to sidestep a Poetry bug
|
||||
# Also, we run poetry with --no-ansi, to sidestep a Poetry bug
|
||||
# [2] that currently exists in 1.3.
|
||||
#
|
||||
# [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029156
|
||||
|
@ -98,8 +98,8 @@ jobs:
|
|||
command: |
|
||||
apt-get update
|
||||
apt-get install -y make python3 python3-pip --no-install-recommends
|
||||
pip install poetry==1.2.2
|
||||
poetry install --only lint
|
||||
pip install poetry
|
||||
poetry install --no-ansi --only lint
|
||||
- run:
|
||||
name: Run linters to enforce code style
|
||||
command: poetry run make lint
|
||||
|
|
Loading…
Reference in a new issue