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:
deeplow 2023-01-20 09:52:39 +00:00
parent 0ebfe45169
commit affc0ca2a8
No known key found for this signature in database
GPG key ID: 577982871529A52A

View file

@ -90,7 +90,7 @@ jobs:
# Debian bug [1]. Once this bug is fixed, revert to installing # Debian bug [1]. Once this bug is fixed, revert to installing
# Poetry from the Debian repos instead, which is more stable. # 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. # [2] that currently exists in 1.3.
# #
# [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029156 # [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029156
@ -98,8 +98,8 @@ jobs:
command: | command: |
apt-get update apt-get update
apt-get install -y make python3 python3-pip --no-install-recommends apt-get install -y make python3 python3-pip --no-install-recommends
pip install poetry==1.2.2 pip install poetry
poetry install --only lint poetry install --no-ansi --only lint
- run: - run:
name: Run linters to enforce code style name: Run linters to enforce code style
command: poetry run make lint command: poetry run make lint