Enable python 3.13, allow pre-releases for CI (#1086)

Adds py3.13 to the CI.

Thanks to @hugovk for [pointing out `allow-prereleases` on his blog
post](https://dev.to/hugovk/help-test-python-313-14j1)!

---------

Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
This commit is contained in:
Teemu R.
2024-08-06 21:03:35 +02:00
committed by GitHub
parent 145a16db4c
commit 633f57dcce
3 changed files with 82 additions and 74 deletions

View File

@@ -19,6 +19,7 @@ runs:
id: setup-python
with:
python-version: "${{ inputs.python-version }}"
allow-prereleases: true
- name: Setup pipx environment Variables
id: pipx-env-setup

View File

@@ -62,16 +62,12 @@ jobs:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "pypy-3.9", "pypy-3.10"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.9", "pypy-3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]
extras: [false, true]
exclude:
- os: macos-latest
extras: true
# setup-python not currently working with macos-latest
# https://github.com/actions/setup-python/issues/808
- os: macos-latest
python-version: "3.9"
- os: windows-latest
extras: true
- os: ubuntu-latest