Skip to content

Commit

Permalink
Support Python 3.12; copy pyproject.toml and setup.cfg from marshmallow
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria committed Jan 9, 2024
1 parent 83c19a0 commit c51c184
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
matrix:
include:
- { name: "3.8", python: "3.8", tox: py38-marshmallow3 }
- { name: "3.11", python: "3.11", tox: py311-marshmallow3 }
- { name: "3.12", python: "3.11", tox: py312-marshmallow3 }
- { name: "lowest", python: "3.8", tox: py38-lowest }
- { name: "dev", python: "3.11", tox: py311-marshmallowdev }
- { name: "dev", python: "3.12", tox: py312-marshmallowdev }
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/setup-python@v4.3.0
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
---------

0.31.0 (unreleased)
+++++++++++++++++++

Other changes:

* Support Python 3.12.

0.30.0 (2024-01-07)
+++++++++++++++++++

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[tool.black]
line-length = 88
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
16 changes: 9 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[bdist_wheel]
# This flag says that the code is written to work on both Python 2 and Python
# 3. If at all possible, it is good practice to do this. If you cannot, you
# will need to generate wheels for each Python version that you support.
universal=1
[metadata]
license_files = LICENSE

[flake8]
max-line-length = 88
extend-ignore = E203, E501
max-line-length = 90
max-complexity = 18
extend-ignore = E203, E266, E501, E731, B903

[tool:pytest]
norecursedirs = .git .ropeproject .tox docs env venv tests/mypy_test_cases
addopts = -v --tb=short
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def read(fname):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
test_suite="tests",
project_urls={
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
envlist=
lint
py{38,39,310,311}-marshmallow3
py311-marshmallowdev
py{38,39,310,311,312}-marshmallow3
py312-marshmallowdev
py38-lowest
docs

Expand Down

0 comments on commit c51c184

Please sign in to comment.