Use Ubuntu 26.04 and Python 3.14#13027
Conversation
I had to upgrade xmlsec and lxml to versions compatible with Python 3.14. These versions have wheels available, so there are no need to compile them.
|
We should do the same on .com and rtd-ext |
agjohnson
left a comment
There was a problem hiding this comment.
Was this change tested against just community locally, or community and business?
The changes look good, but I know we just went through the xml lib upgrades with Ubuntu 26 as well. We need to ensure those work with allauth and especially SAML.
I only tested community so far. I can do business as well.
I'm not sure how to test SAML locally --I will need help there or someone with the local setup configured can take on that test for me. |
Follow-up to #13027 — updates the remaining Python 3.12 references that were missed in the initial PR. **Fixed:** - `.github/workflows/pip-tools.yaml` — `python-version: "3.12"` → `"3.14"` - `.readthedocs.yml` — `python: "3.12"` → `"3.14"` and `os: ubuntu-22.04` → `ubuntu-24.04` - `AGENTS.md` / `.claude/CLAUDE.md` — `tox -e py312` → `tox -e py314` - `requirements/pip.in` — grammar fix in comment **Not changed (intentional):** - `docs/user/` example configs — these show supported Python versions for users, not the project's own version --- *Generated by AI agent (Claude Code)* --- _Generated by [Claude Code](https://claude.ai/code/session_01PoSwN1ZgNm3mrboFs9kTDr)_ Co-authored-by: Claude <noreply@anthropic.com>
We tested in staging last time, local testing of SAML is hard. |
|
To test SAML locally, you can follow the same steps from https://docs.readthedocs.com/platform/stable/guides/set-up-single-sign-on-saml.html. There is an app for local testing in the Okta dev account. You all should have access to it now. I can also try to test it later. |
|
By the way, don't we have tests for SAML? If we do, that should cover what we need here since the XML parsing would happen in our code. |
We don't have end to end testing, in the past there have been errors when performing the actual flow, that's hard to test in the code. |
I had to upgrade xmlsec and lxml to versions compatible with Python 3.14. These versions have wheels available, so there are no need to compile them.