Skip to content

Commit 617e4bd

Browse files
authored
Drop support for marshmallow 3 (#230)
* Drop support for marshmallow 3 * uv sync
1 parent 4a1c58d commit 617e4bd

5 files changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
include:
19-
- { name: "3.10-ma3", tox: py310-marshmallow3 }
20-
- { name: "3.14-ma3", tox: py314-marshmallow3 }
21-
- { name: "3.10-ma4", tox: py310-marshmallow4 }
22-
- { name: "3.14-ma4", tox: py314-marshmallow4 }
19+
- { name: "3.10", tox: py310 }
20+
- { name: "3.14", tox: py314 }
2321
- { name: "lowest", tox: py310-lowest }
2422
- { name: "dev", tox: py314-marshmallowdev }
2523
steps:

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ unreleased
77
Support:
88

99
- Support Python 3.10-3.14.
10+
- Drop support for marshmallow 3, which is EOL.
1011

1112
3.2.0 (2025-05-08)
1213
******************

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ classifiers = [
1616
"Programming Language :: Python :: 3.14",
1717
]
1818
requires-python = ">=3.10"
19-
dependencies = ["marshmallow>=3.0.0,<5.0.0"]
19+
dependencies = ["marshmallow>=4.0.0,<5.0.0"]
2020

2121
[project.urls]
2222
Issues = "https://github.com/marshmallow-code/marshmallow-oneofschema/issues"

tox.ini

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
[tox]
22
envlist=
33
lint
4-
py{310,314}-marshmallow3
5-
py{310,311,312,313,314}-marshmallow4
4+
py{310,311,312,313,314}
65
py314-marshmallowdev
76
py310-lowest
87

98
[testenv]
109
dependency_groups = tests
1110
deps =
12-
marshmallow3: marshmallow>=3.0.0,<4.0.0
13-
marshmallow4: marshmallow>=4.0.0,<5.0.0
1411
marshmallowdev: https://github.com/marshmallow-code/marshmallow/archive/dev.tar.gz
15-
lowest: marshmallow==3.0.0
12+
lowest: marshmallow==4.0.0
1613
commands = pytest {posargs}
1714

1815
[testenv:lint]

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)