Skip to content

Commit

Permalink
Test against Python 3.13 (#629)
Browse files Browse the repository at this point in the history
* Test against Python 3.13

* pre-commit autoupdate

* Update changelog
  • Loading branch information
sloria authored Jan 7, 2025
1 parent 6344a27 commit ec9116a
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
matrix:
include:
- { name: "3.8", python: "3.8", tox: py38-marshmallow3 }
- { name: "3.12", python: "3.12", tox: py312-marshmallow3 }
- { name: "3.13", python: "3.13", tox: py313-marshmallow3 }
- { name: "lowest", python: "3.8", tox: py38-lowest }
- { name: "dev", python: "3.12", tox: py312-marshmallowdev }
- { name: "dev", python: "3.13", tox: py313-marshmallowdev }
steps:
- uses: actions/checkout@v4.0.0
- uses: actions/setup-python@v5
Expand All @@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.13"
- name: Install pypa/build
run: python -m pip install build
- name: Build a binary wheel and a source tarball
Expand All @@ -53,7 +53,7 @@ jobs:
- uses: actions/checkout@v4.0.0
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.13"
- run: python -m pip install tox
- run: python -m tox -e lint
publish-to-pypi:
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
rev: v0.8.6
hooks:
- id: ruff
- id: ruff-format
Expand All @@ -15,4 +15,4 @@ repos:
rev: 1.19.1
hooks:
- id: blacken-docs
additional_dependencies: [black==23.12.1]
additional_dependencies: [black==24.10.0 ]
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ formats:
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.13"
python:
install:
- method: pip
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ Changelog

Bug fixes:

* Fix compatibility with marshmallow 3.24.0 and 4.0.0.
* Fix compatibility with marshmallow 3.24.0 and 4.0.0 (:pr:`628`).

Other changes:

* Test against Python 3.13 (:issue:`629`).

1.1.0 (2024-08-14)
++++++++++++++++++
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.8"
dependencies = ["marshmallow>=3.18.0", "SQLAlchemy>=1.4.40,<3.0"]
Expand Down
6 changes: 3 additions & 3 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,312}-marshmallow3
py312-marshmallowdev
py{38,39,310,311,312,313}-marshmallow3
py313-marshmallowdev
py38-lowest
docs

Expand All @@ -16,7 +16,7 @@ deps =
commands = pytest {posargs}

[testenv:lint]
deps = pre-commit~=3.6
deps = pre-commit~=4.0.1
skip_install = true
commands = pre-commit run --all-files

Expand Down

0 comments on commit ec9116a

Please sign in to comment.