Skip to content

Commit

Permalink
python 3.13 in workflows (python-poetry#9523)
Browse files Browse the repository at this point in the history
Co-authored-by: Randy Döring <[email protected]>
  • Loading branch information
dimbleby and radoering authored Oct 12, 2024
1 parent ca89177 commit 6c43ac3
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 59 deletions.
5 changes: 1 addition & 4 deletions .github/actions/bootstrap-poetry/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ inputs:
python-latest:
description: Use an uncached Python if a newer match is available
default: 'false'
python-prereleases:
description: Allow usage of pre-release Python versions
default: 'false'
poetry-spec:
description: pip-compatible installation specification to use for Poetry
default: 'poetry'
Expand All @@ -32,7 +29,7 @@ runs:
with:
python-version: ${{ inputs.python-version }}
check-latest: ${{ inputs.python-latest == 'true' }}
allow-prereleases: ${{ inputs.python-prereleases == 'true' }}
allow-prereleases: true
update-environment: false

- run: >
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/.tests-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ jobs:
working-directory: poetry-plugin-export
run: poetry add --lock --group dev ../poetry

# This step can be removed after having released a poetry-plugin-export version
# that has cffi>=1.17.0 in its lock file.
- name: Force more recent cffi (workaround for Python 3.13)
working-directory: poetry-plugin-export
run: poetry update --lock cffi

- name: Install
working-directory: poetry-plugin-export
run: poetry install
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,13 @@ jobs:
image: windows-2022
- name: macOS aarch64
image: macos-14
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
fail-fast: false

status:
Expand Down
Loading

0 comments on commit 6c43ac3

Please sign in to comment.