Skip to content

Commit ec9116a

Browse files
authored
Test against Python 3.13 (#629)
* Test against Python 3.13 * pre-commit autoupdate * Update changelog
1 parent 6344a27 commit ec9116a

File tree

6 files changed

+16
-11
lines changed

6 files changed

+16
-11
lines changed

.github/workflows/build-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
matrix:
1414
include:
1515
- { name: "3.8", python: "3.8", tox: py38-marshmallow3 }
16-
- { name: "3.12", python: "3.12", tox: py312-marshmallow3 }
16+
- { name: "3.13", python: "3.13", tox: py313-marshmallow3 }
1717
- { name: "lowest", python: "3.8", tox: py38-lowest }
18-
- { name: "dev", python: "3.12", tox: py312-marshmallowdev }
18+
- { name: "dev", python: "3.13", tox: py313-marshmallowdev }
1919
steps:
2020
- uses: actions/checkout@v4.0.0
2121
- uses: actions/setup-python@v5
@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/checkout@v4
3131
- uses: actions/setup-python@v5
3232
with:
33-
python-version: "3.11"
33+
python-version: "3.13"
3434
- name: Install pypa/build
3535
run: python -m pip install build
3636
- name: Build a binary wheel and a source tarball
@@ -53,7 +53,7 @@ jobs:
5353
- uses: actions/checkout@v4.0.0
5454
- uses: actions/setup-python@v5
5555
with:
56-
python-version: "3.11"
56+
python-version: "3.13"
5757
- run: python -m pip install tox
5858
- run: python -m tox -e lint
5959
publish-to-pypi:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ci:
22
autoupdate_schedule: monthly
33
repos:
44
- repo: https://github.com/astral-sh/ruff-pre-commit
5-
rev: v0.8.1
5+
rev: v0.8.6
66
hooks:
77
- id: ruff
88
- id: ruff-format
@@ -15,4 +15,4 @@ repos:
1515
rev: 1.19.1
1616
hooks:
1717
- id: blacken-docs
18-
additional_dependencies: [black==23.12.1]
18+
additional_dependencies: [black==24.10.0 ]

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ formats:
66
build:
77
os: ubuntu-22.04
88
tools:
9-
python: "3.11"
9+
python: "3.13"
1010
python:
1111
install:
1212
- method: pip

CHANGELOG.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ Changelog
66

77
Bug fixes:
88

9-
* Fix compatibility with marshmallow 3.24.0 and 4.0.0.
9+
* Fix compatibility with marshmallow 3.24.0 and 4.0.0 (:pr:`628`).
10+
11+
Other changes:
12+
13+
* Test against Python 3.13 (:issue:`629`).
1014

1115
1.1.0 (2024-08-14)
1216
++++++++++++++++++

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ classifiers = [
1414
"Programming Language :: Python :: 3.10",
1515
"Programming Language :: Python :: 3.11",
1616
"Programming Language :: Python :: 3.12",
17+
"Programming Language :: Python :: 3.13",
1718
]
1819
requires-python = ">=3.8"
1920
dependencies = ["marshmallow>=3.18.0", "SQLAlchemy>=1.4.40,<3.0"]

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[tox]
22
envlist=
33
lint
4-
py{38,39,310,311,312}-marshmallow3
5-
py312-marshmallowdev
4+
py{38,39,310,311,312,313}-marshmallow3
5+
py313-marshmallowdev
66
py38-lowest
77
docs
88

@@ -16,7 +16,7 @@ deps =
1616
commands = pytest {posargs}
1717

1818
[testenv:lint]
19-
deps = pre-commit~=3.6
19+
deps = pre-commit~=4.0.1
2020
skip_install = true
2121
commands = pre-commit run --all-files
2222

0 commit comments

Comments
 (0)