From 63a87484235d6171a46bc5291d07eab4da957ec3 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Mon, 6 Feb 2023 15:27:21 +0200 Subject: [PATCH] ci: Remove Poetry version pin Remove a Poetry version pin to 1.2.2, which causes installation issues on systems with Python 3.11. The pin was originally introduced because Poetry 1.3 was deemed unstable, due to the following bugs: * https://github.com/freedomofpress/dangerzone/issues/292#issuecomment-1351368122 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029156 The first problem still stands, but we can circumvent it with the `--no-ansi` flag, at no functionality cost. The second problem has been resolved, but it never affected Ubuntu Focal in the first place. Refs #292 --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2e8af6c..fd792c1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -151,10 +151,10 @@ jobs: - run: name: Install poetry dependencies command: | - # Remove this pin once the upstream Poetry issue is fixed: + sudo pip3 install poetry + # This flag is important, due to an open upstream Poetry issue: # https://github.com/python-poetry/poetry/issues/7184 - sudo pip3 install poetry==1.2.2 - poetry install + poetry install --no-ansi - run: name: Prepare cache directory command: |