Skip to content

Commit

Permalink
Add py3.12 support
Browse files Browse the repository at this point in the history
- CI
- tox
- requisite ignore for dateutil (at time of writing)
- changelog item
  • Loading branch information
sirosen committed Nov 3, 2023
1 parent 3922665 commit 240061e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
py: ['3.8', '3.9', '3.10', '3.11']
py: ['3.8', '3.9', '3.10', '3.11', '3.12']
name: "Run tests on ${{ matrix.os }}, py${{ matrix.py }}"
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Unreleased

.. vendor-insert-here
- Add official support for Python 3.12

0.27.1
------

Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ envlist =
mypy
cov_clean
py38-mindeps
py{311,310,39,38}
py{312,311,310,39,38}
py310-{notoml,tomli-format}
py{38,311}-{json5,pyjson5}
py{38,312}-{json5,pyjson5}
cov
skip_missing_interpreters = true
minversion = 4.0.0
Expand Down Expand Up @@ -94,3 +94,5 @@ commands = python ./scripts/generate-hooks-config.py
[pytest]
filterwarnings =
error
# dateutil has a Python 3.12 compatibility issue.
ignore:datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning

0 comments on commit 240061e

Please sign in to comment.