From 570de0920de82e0b1a0f18a8232d778b9cb9dc02 Mon Sep 17 00:00:00 2001 From: francisco souza <108725+fsouza@users.noreply.github.com> Date: Tue, 3 Oct 2023 00:19:22 -0400 Subject: [PATCH] Add Python 3.12 to CI Also add it to `setup.py`. --- .github/workflows/main.yml | 6 ++++++ .github/workflows/windows.yml | 2 ++ setup.py | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 505b43837..92bfbc2b2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,6 +30,8 @@ jobs: python-version: "3.10" - PY_VER: py311 python-version: 3.11 + - PY_VER: py312 + python-version: 3.12 steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 @@ -63,6 +65,8 @@ jobs: python-version: "3.10" - PY_VER: py311 python-version: "3.11" + - PY_VER: py312 + python-version: "3.12" steps: - uses: actions/checkout@v3 @@ -103,6 +107,8 @@ jobs: python-version: "3.10" - PY_VER: py311 python-version: "3.11" + - PY_VER: py312 + python-version: "3.12" steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 5d626b396..5ff7f71f7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -24,6 +24,8 @@ jobs: python-version: "3.10" - PY_VER: py311 python-version: 3.11 + - PY_VER: py312 + python-version: "3.12" # Steps represent a sequence of tasks that will be executed as part of the job steps: diff --git a/setup.py b/setup.py index 5c33ee26f..992a6a00e 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ def get_version_data() -> dict: ] + [ ("Programming Language :: Python :: %s" % x) - for x in "3.8 3.9 3.10 3.11".split() + for x in "3.8 3.9 3.10 3.11 3.12".split() ], project_urls={ "Documentation": "https://splinter.readthedocs.io/",