Skip to content

Commit

Permalink
Python 3.12 support (#93)
Browse files Browse the repository at this point in the history
* Python 3.12 support

* Add 'taskName' to excluded fields
  • Loading branch information
leplatrem authored Feb 15, 2024
1 parent 2c729ff commit 6c032ec
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

# Service containers to run with `container-job`
services:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def read(*parts):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
],
extras_require={
Expand Down
1 change: 1 addition & 0 deletions src/dockerflow/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class JsonLogFormatter(logging.Formatter):
"processName",
"relativeCreated",
"stack_info",
"taskName",
"thread",
"threadName",
)
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ envlist =
py311-docs
py{38,39,310}-dj32
py{38,39,310,311}-dj{40,41,42}
py{310,311}-dj{50}
py{310,311,312}-dj{50}
py{38,39,310,311}-fl{20,21,22}
py{38,39,310,311}-s{21,22}

Expand All @@ -16,6 +16,7 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
usedevelop = true
Expand Down

0 comments on commit 6c032ec

Please sign in to comment.