Skip to content

Commit

Permalink
Update to Poetry v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Secrus committed Jan 16, 2025
1 parent 926db13 commit c63734d
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 37 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,7 @@ jobs:
- name: Install poetry
run: |
curl -fsS https://install.python-poetry.org | python - --preview -y
- name: Update PATH
if: ${{ matrix.os != 'Windows' }}
run: echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Update Path for Windows
if: ${{ matrix.os == 'Windows' }}
run: echo "$APPDATA\Python\Scripts" >> $GITHUB_PATH
pipx install poetry>=2
- name: Configure poetry
run: poetry config virtualenvs.in-project true
Expand Down Expand Up @@ -90,7 +82,7 @@ jobs:

- name: Uninstall typing dependencies
# This ensures pendulum runs without typing_extensions installed
run: poetry install --only main --only test --only build --sync --no-root -vvv
run: poetry sync --only main --only test --only build --no-root -vvv

- name: Test Pure Python
run: |
Expand Down
Loading

0 comments on commit c63734d

Please sign in to comment.