From 33a406fefaa6b30788c16fb02d7ef8cc5fe0cfb8 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 27 Sep 2023 10:13:58 -0600 Subject: [PATCH] Add support for Python 3.12 (#232) --- .github/workflows/main.yml | 5 +++-- .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b6226f0..676df43 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: os: [Ubuntu, macOS, Windows] - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] include: - os: Ubuntu image: ubuntu-latest @@ -30,12 +30,13 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Get full Python version id: full-python-version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f426780..78efacc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.9 uses: actions/setup-python@v4