Skip to content

Commit

Permalink
Drop Python to 3.11 and use pipx to install poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
devon-mar committed Jun 9, 2024
1 parent b4073e4 commit 68a6225
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ name: CI
pull_request:

env:
PYTHON_VERSION: "3.12"
# Python 3.12 doesn't work
# since setuptools is no longer installed in venvs.
# Need to wait for Nornir to add it as an explicit dependency.
PYTHON_VERSION: "3.11"

jobs:
lint:
Expand All @@ -28,10 +31,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
run: pipx install poetry

- name: Load cached venv
id: cache-poetry-dependencies
Expand Down

0 comments on commit 68a6225

Please sign in to comment.