Closed
Labels
priority: highHigh prioritytype: maintenanceRelated to general repository maintenanceworkload: hoursLikely takes hours to resolve
Description
Why?
FOCA 0.16.0 keeps HTTP headers of exceptions (Allow, WWW-Authenticate: Bearer, Retry-After; foca#343), drops Python 3.10 (end of life in October 2026), and adds auth options used across ELIXIR On-Cloud (e.g. the at+jwt type check, foca#338). cloud-registry v0.3.0 should ship with it (user decision, 2026-10-21).
How?
- Require
foca>=0.16,<0.17and use the base imageelixircloud/foca:0.16.0-py3.13(Python 3.13). requires-python = ">=3.11", classifiers 3.11-3.13 (as supported), CI tests Python 3.11 (minimum) and 3.13 (image).- Adopt the new FOCA options where they apply (e.g. require
at+jwtaccess tokens; LS Login issues RFC 9068 tokens) and check the problem responses for 401/405 in tests. - Update docs and the 0.3.0 release notes.
Acceptance criteria
- The app runs on FOCA 0.16.0 / Python 3.13; CI tests 3.11 and 3.13.
- 405 responses carry
Allow, 401 responsesWWW-Authenticate: Bearer; tests cover it. - Release notes updated.
Update (2026-10-22)
The registry ships as a container image, so it targets one Python version only: that of the base image (user decision, 2026-10-22). This replaces the Python parts of the plan above:
requires-python = ">=3.13", only the 3.13 classifier, tooling targets (rufftarget-version, mypypython_version) 3.13; base imageelixircloud/foca:0.16.0-py3.13.- CI: one test job on Python 3.13, no matrix and no 3.14 job; job names don't contain the Python version (the test job becomes "Run tests (mongomock)", next to "Run tests (MongoDB 7.0)" and the aggregate "Run tests"), so required checks don't change when Python is bumped.
- Acceptance criterion "CI tests 3.11 and 3.13" becomes "CI tests 3.13 (the image's Python)".
Metadata
Metadata
Assignees
Labels
priority: highHigh prioritytype: maintenanceRelated to general repository maintenanceworkload: hoursLikely takes hours to resolve
Activity