From f665af4d62b0daf7ce0ae4a3b42ad8484659226d Mon Sep 17 00:00:00 2001 From: Jonas L Date: Sat, 14 Oct 2023 00:20:10 +0200 Subject: [PATCH] feat: enable support for python 3.12 (#50) Test on python 3.12 and mark python 3.12 as supported. --- .github/workflows/test.yml | 4 ++-- setup.py | 5 +++-- tox.ini | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 80542d2..a4d78b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] name: Python ${{ matrix.python-version }} steps: @@ -35,7 +35,7 @@ jobs: strategy: matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] permissions: id-token: write diff --git a/setup.py b/setup.py index 5e45e5e..5bf74b3 100644 --- a/setup.py +++ b/setup.py @@ -37,10 +37,11 @@ "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Natural Language :: English", "Operating System :: OS Independent", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.12", "Topic :: System :: Systems Administration", "Topic :: Utilities", ], diff --git a/tox.ini b/tox.ini index b47b4ac..2d68868 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ # For more information about tox, see https://tox.readthedocs.io/en/latest/ [tox] min_version = 4.0 -env_list = py{39,310,311}-molecule{5,6} +env_list = py{39,310,311,312}-molecule{5,6} [testenv] usedevelop = True @@ -23,3 +23,4 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312