You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade Flask from `<2.3.0` to `>=3.0.0` and Werkzeug from
`<2.3.0` to `>=3.0.0`, in line with the Invenio package upgrade
in reana-server. Bump marshmallow from `<3.0.0` to
`>=3.5.0,<4.0.0` and webargs to `>=8.0`, since the new Invenio
stack requires marshmallow 3 and the corresponding webargs 8.
Adapt the REST endpoints to the new marshmallow 3 and webargs 8
APIs. Replace the deprecated `missing=` keyword on schema fields
with `load_default=`. Add `unknown=marshmallow.EXCLUDE` to all
`@use_kwargs` and `@use_args` decorators that parse query
parameters, so that REANA-specific extras such as `access_token`
are silently ignored, matching the pre-upgrade webargs 5
behaviour.
Replace all remaining `Model.query` call sites in the REST
handlers, the workflow run manager, and the test suite with
explicit `Session.query(Model)` queries, since SQLAlchemy 2.x
no longer supports the `Base.query` shortcut.
Replace the deprecated `FLASK_ENV` setting with `FLASK_DEBUG`,
both in the runtime checks of the workflow run manager and in
the `DEBUG_ENV_VARS` injected into spawned workflow engine
containers. Update the test configuration to use `DEBUG` instead
of `FLASK_ENV`.
Remove pinned `reana-commons`, `reana-db`, and `kubernetes`
entries from `requirements.txt` so that `pip install .` resolves
them freshly from `setup.py` against the locally-mounted
`modules/reana-db` and `modules/reana-commons` shared sources
during development, avoiding version conflicts with PyPI
versions that still carry the old pins.
Closesreanahub/reana-server#770
0 commit comments