From c21ade14c3aa7e17d372a262440ef0b9724d423d Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 16 Sep 2023 17:16:44 +0300 Subject: [PATCH] Add support for Python 3.12 --- .github/workflows/test.yml | 9 +++++++-- setup.cfg | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ae530dc..a9db5a5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,13 +2,17 @@ name: nest_asyncio on: [ push, pull_request, workflow_dispatch ] +env: + FORCE_COLOR: 1 + jobs: build: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [ 3.5, 3.6, 3.7, 3.8, 3.9, "3.10", "3.11", pypy-3.9 ] + python-version: [ 3.5, 3.6, 3.7, 3.8, 3.9, "3.10", "3.11", "3.12", pypy-3.9 ] exclude: - os: ubuntu-latest python-version: 3.5 @@ -21,11 +25,12 @@ jobs: python-version: 3.6 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: Install dependencies run: | diff --git a/setup.cfg b/setup.cfg index 9a00f2b..60359a0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,6 +21,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Programming Language :: Python :: 3 :: Only Framework :: AsyncIO