From d41c21ada1c50d10fc5c6ed3a414447f8241f18a Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Wed, 4 Oct 2023 10:34:49 -0700 Subject: [PATCH] Add official support of Python 3.12 Python 3.12 was released on Monday Oct 2. Bandit should be built and tested on this version going forward. Signed-off-by: Eric Brown --- .github/ISSUE_TEMPLATE/bug-report.yml | 3 ++- .github/workflows/pythonpackage.yml | 6 +++++- setup.cfg | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 71ac97c9b..d79b3b9cf 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -68,7 +68,8 @@ body: label: Python version description: Run "bandit --version" if unsure of version number options: - - "3.11 (Default)" + - "3.12 (Default)" + - "3.11" - "3.10" - "3.9" - "3.8" diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index b73360f52..4c42bf823 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -47,7 +47,11 @@ jobs: strategy: matrix: python-version: [ - ["3.8", "38"], ["3.9", "39"], ["3.10", "310"], ["3.11", "311"] + ["3.8", "38"], + ["3.9", "39"], + ["3.10", "310"], + ["3.11", "311"], + ["3.12", "312"], ] os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} diff --git a/setup.cfg b/setup.cfg index 61f87bdd1..2cd658aad 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,6 +22,7 @@ classifier = 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 Topic :: Security project_urls =