Skip to content

Commit 2e94955

Browse files
slorialafrech
authored andcommitted
Drop support for marshmallow 3
1 parent 69eec26 commit 2e94955

4 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
include:
15-
- { name: '3.10-ma3', python: '3.10', tox: py310-marshmallow3 }
16-
- { name: '3.10-ma4', python: '3.10', tox: py310-marshmallow4 }
17-
- { name: '3.13-ma4', python: '3.13', tox: py313-marshmallow4 }
15+
- { name: '3.10', python: '3.10', tox: py310 }
16+
- { name: '3.13', python: '3.13', tox: py313 }
1817
steps:
1918
- uses: actions/checkout@v6
2019
- uses: actions/setup-python@v6

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Changelog
22
---------
33

4+
0.48.0 (unreleased)
5+
*******************
6+
7+
Other changes:
8+
9+
- Drop support for marshmallow 3, which is EOL.
10+
411
0.47.0 (2026-03-22)
512
*******************
613

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "flask-smorest"
33
version = "0.47.0"
44
description = "Flask/Marshmallow-based REST API framework"
55
readme = "README.rst"
6-
license = { file = "LICENSE" }
6+
license = "MIT"
77
authors = [{ name = "Jérôme Lafréchoux", email = "jerome@jolimont.fr" }]
88
maintainers = [
99
{ name = "Jérôme Lafréchoux", email = "jerome@jolimont.fr" },
@@ -14,7 +14,6 @@ classifiers = [
1414
"Topic :: Internet :: WWW/HTTP",
1515
"Environment :: Web Environment",
1616
"Framework :: Flask",
17-
"License :: OSI Approved :: MIT License",
1817
"Programming Language :: Python :: 3 :: Only",
1918
"Programming Language :: Python :: 3.10",
2019
"Programming Language :: Python :: 3.11",
@@ -25,7 +24,7 @@ requires-python = ">=3.10"
2524
dependencies = [
2625
"werkzeug>=3.0.1,<4",
2726
"flask>=3.0.2,<4",
28-
"marshmallow>=3.24.1,<5",
27+
"marshmallow>=4.0.0,<5",
2928
"webargs>=8.0.0,<9",
3029
"apispec[marshmallow]>=6.0.0,<7",
3130
]

tox.ini

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
[tox]
22
envlist =
33
lint
4-
{py310,py311,py312,py313}-marshmallow{3,4}
4+
py{310,311,312,313}
55
skip_missing_interpreters = True
66

77
[testenv]
88
extras = tests
9-
deps =
10-
marshmallow3: marshmallow>=3.26.1,<4
11-
marshmallow4: marshmallow>=4.0.0,<5
129
commands =
1310
pytest --cov=flask_smorest --cov-branch --cov-report=term-missing --cov-report=xml
1411

0 commit comments

Comments
 (0)