Skip to content

Commit

Permalink
ci: Remove Poetry version pin
Browse files Browse the repository at this point in the history
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:

* #292 (comment)
* 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
  • Loading branch information
apyrgio committed Feb 7, 2023
1 parent bbbf822 commit 9ad9bd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 9ad9bd5

Please sign in to comment.