Skip to content

Commit 6c032ec

Browse files
authored
Python 3.12 support (#93)
* Python 3.12 support * Add 'taskName' to excluded fields
1 parent 2c729ff commit 6c032ec

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ['3.8', '3.9', '3.10', '3.11']
18+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
1919

2020
# Service containers to run with `container-job`
2121
services:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def read(*parts):
4141
"Programming Language :: Python :: 3.9",
4242
"Programming Language :: Python :: 3.10",
4343
"Programming Language :: Python :: 3.11",
44+
"Programming Language :: Python :: 3.12",
4445
"Topic :: Internet :: WWW/HTTP",
4546
],
4647
extras_require={

src/dockerflow/logging.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ class JsonLogFormatter(logging.Formatter):
6565
"processName",
6666
"relativeCreated",
6767
"stack_info",
68+
"taskName",
6869
"thread",
6970
"threadName",
7071
)

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ envlist =
66
py311-docs
77
py{38,39,310}-dj32
88
py{38,39,310,311}-dj{40,41,42}
9-
py{310,311}-dj{50}
9+
py{310,311,312}-dj{50}
1010
py{38,39,310,311}-fl{20,21,22}
1111
py{38,39,310,311}-s{21,22}
1212

@@ -16,6 +16,7 @@ python =
1616
3.9: py39
1717
3.10: py310
1818
3.11: py311
19+
3.12: py312
1920

2021
[testenv]
2122
usedevelop = true

0 commit comments

Comments
 (0)