From d0034ee2adff6838a4511d4e244f18e3c3f66c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lafr=C3=A9choux?= Date: Thu, 4 Dec 2025 15:25:02 +0100 Subject: [PATCH 1/2] Bump dependencies --- pyproject.toml | 8 ++++---- requirements/install.txt | 11 +++++------ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 85104b4..99b85b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,13 +25,13 @@ classifiers = [ ] requires-python = ">=3.9" dependencies = [ - "flask>=3.0.2,<4.0", + "flask>=3.1.2,<4.0", "python-dotenv>=1.0.0,<2.0", - "marshmallow>=3.18.0,<4.0", + "marshmallow>=4.1.0,<5.0", "sqlalchemy>=2.0,<3.0", "marshmallow-sqlalchemy>=1.1.1,<2.0", - "flask_smorest>=0.45.0,<0.46", - "apispec>=6.1.0,<7.0", + "flask_smorest>=0.46.2,<0.47", + "apispec>=6.9.0,<7.0", "authlib>=1.3.0,<2.0", "bemserver-core>=0.21.0,<0.22", ] diff --git a/requirements/install.txt b/requirements/install.txt index eed2862..1459930 100644 --- a/requirements/install.txt +++ b/requirements/install.txt @@ -2,13 +2,13 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile --output-file=requirements/install.txt pyproject.toml +# pip-compile --cert=None --client-cert=None --index-url=None --output-file=requirements/install.txt --pip-args=None pyproject.toml # alembic==1.14.0 # via bemserver-core amqp==5.3.1 # via kombu -apispec[marshmallow]==6.8.1 +apispec[marshmallow]==6.9.0 # via # bemserver-api (pyproject.toml) # flask-smorest @@ -53,11 +53,11 @@ click-repl==0.3.0 # via celery cryptography==44.0.1 # via authlib -flask==3.1.1 +flask==3.1.2 # via # bemserver-api (pyproject.toml) # flask-smorest -flask-smorest==0.45.0 +flask-smorest==0.46.2 # via bemserver-api (pyproject.toml) flexcache==0.3 # via pint @@ -81,7 +81,7 @@ markupsafe==3.0.2 # jinja2 # mako # werkzeug -marshmallow==3.24.1 +marshmallow==4.1.0 # via # apispec # bemserver-api (pyproject.toml) @@ -97,7 +97,6 @@ oso==0.27.3 packaging==24.2 # via # apispec - # marshmallow # webargs pandas==2.2.3 # via bemserver-core From cb883e4521a6bf253e3002c7df910e33343be758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lafr=C3=A9choux?= Date: Thu, 4 Dec 2025 15:28:47 +0100 Subject: [PATCH 2/2] Support Python 3.13 and 3.14 --- .github/workflows/build-release.yaml | 6 +++--- pyproject.toml | 2 ++ tox.ini | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 6b3e399..3fd4979 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -13,7 +13,7 @@ jobs: matrix: include: - {name: '3.9', python: '3.9', tox: py39} - - {name: '3.12', python: '3.12', tox: py312} + - {name: '3.14', python: '3.14', tox: py314} steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.14" - name: Install pypa/build run: python -m pip install build - name: Build a binary wheel and a source tarball @@ -59,7 +59,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.14 - run: python -m pip install tox - run: python -m tox -elint publish-to-pypi: diff --git a/pyproject.toml b/pyproject.toml index 99b85b2..8177425 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,8 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] requires-python = ">=3.9" dependencies = [ diff --git a/tox.ini b/tox.ini index 0adb25a..984ddbb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = lint,py39,py310,py311,py312 +envlist = lint,py39,py310,py311,py312,py313,py314 skip_missing_interpreters = True [testenv]