diff --git a/.circleci/config.yml b/.circleci/config.yml index 805f83b..06bcf0e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -86,19 +86,13 @@ jobs: - run: name: Install dev. dependencies # Install only the necessary packages to run our linters. - # FIXME: We currently install Poetry from PyPI, due to an upstream - # Debian bug [1]. Once this bug is fixed, revert to installing - # Poetry from the Debian repos instead, which is more stable. # - # 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 - # [2]: https://github.com/freedomofpress/dangerzone/issues/292#issuecomment-1351368122 + # We run poetry with --no-ansi, to sidestep a Poetry bug that + # currently exists in 1.3. See: + # https://github.com/freedomofpress/dangerzone/issues/292#issuecomment-1351368122 command: | apt-get update - apt-get install -y make python3 python3-pip --no-install-recommends - pip install poetry + apt-get install -y make python3 python3-poetry --no-install-recommends poetry install --no-ansi --only lint - run: name: Run linters to enforce code style