Skip to content

Commit 6b2e247

Browse files
authored
Add official support of Python 3.12 (#1068)
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 <eric_wade_brown@yahoo.com>
1 parent 9a2884e commit 6b2e247

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ body:
6868
label: Python version
6969
description: Run "bandit --version" if unsure of version number
7070
options:
71-
- "3.11 (Default)"
71+
- "3.12 (Default)"
72+
- "3.11"
7273
- "3.10"
7374
- "3.9"
7475
- "3.8"

.github/workflows/pythonpackage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ jobs:
4747
strategy:
4848
matrix:
4949
python-version: [
50-
["3.8", "38"], ["3.9", "39"], ["3.10", "310"], ["3.11", "311"]
50+
["3.8", "38"],
51+
["3.9", "39"],
52+
["3.10", "310"],
53+
["3.11", "311"],
54+
["3.12", "312"],
5155
]
5256
os: [ubuntu-latest, macos-latest]
5357
runs-on: ${{ matrix.os }}

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifier =
2222
Programming Language :: Python :: 3.9
2323
Programming Language :: Python :: 3.10
2424
Programming Language :: Python :: 3.11
25+
Programming Language :: Python :: 3.12
2526
Programming Language :: Python :: 3 :: Only
2627
Topic :: Security
2728
project_urls =

0 commit comments

Comments
 (0)