From a5274b066449b9a9b0f8d11b1abec2a5c3d835b5 Mon Sep 17 00:00:00 2001 From: zariiii9003 Date: Mon, 9 Oct 2023 00:26:20 +0200 Subject: [PATCH] test python 3.12 --- .github/workflows/ci.yml | 15 ++++++++++----- pyproject.toml | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 686a5d77b..c1aa8935a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,14 +22,16 @@ jobs: "3.9", "3.10", "3.11", + "3.12", "pypy-3.8", "pypy-3.9", ] - include: - # Only test on a single configuration while there are just pre-releases - - os: ubuntu-latest - experimental: true - python-version: "3.12.0-alpha - 3.12.0" + # uncomment when python 3.13.0 alpha is available + #include: + # # Only test on a single configuration while there are just pre-releases + # - os: ubuntu-latest + # experimental: true + # python-version: "3.13.0-alpha - 3.13.0" fail-fast: false steps: - uses: actions/checkout@v3 @@ -95,6 +97,9 @@ jobs: - name: mypy 3.11 run: | mypy --python-version 3.11 . + - name: mypy 3.12 + run: | + mypy --python-version 3.12 . - name: ruff run: | ruff check can diff --git a/pyproject.toml b/pyproject.toml index e20fd2785..a34508ee8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,6 @@ classifiers = [ "Intended Audience :: Telecommunications Industry", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Natural Language :: English", - "Natural Language :: English", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", @@ -35,6 +34,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 :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: System :: Hardware :: Hardware Drivers",