Bump psycopg2-binary to 2.9.11 and allow Python 3.14
Overview
Bump the psycopg2-binary pin so Kolibri installs on Python 3.14. The current pin blocks it two ways: version 2.9.10 has no cp314 wheel, and the marker python_version < '3.14' excludes 3.14 outright.
Complexity: Low Target branch: develop
The Change
- Bump
pyproject.tomlpostgresextra:psycopg2-binary==2.9.10→2.9.11(firstcp314wheel), and extend thepython_version < '3.14'marker to include 3.14. postgres_sslsmoke test (tox.yml) runs the extra only on 3.9 — add 3.14.
Acceptance Criteria
- [ ]
postgresextra pinspsycopg2-binary==2.9.11with a marker that allows Python 3.14. - [ ]
kolibri[postgres]installs on Python 3.14. - [ ]
postgres_sslsmoke test runs on 3.14 and passes.
AI usage
Drafted with Claude Code from @rtibbles's notes; reviewed and edited before filing.
Semi related: https://github.com/learningequality/infrastructure/issues/355
Would like to stop using binary variant
https://github.com/learningequality/infrastructure/issues/916#issuecomment-4835443187
Plan: Bump psycopg2-binary to 2.9.11 so kolibri[postgres] installs and the SSL smoke test passes on Python 3.14.
- [ ] Bump psycopg2-binary pin and regenerate lockfile
- [ ] Add Python 3.14 to the postgres_ssl CI smoke test
@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly
How was this generated?
- Implemented code following the pre-approved plan using test-driven development (red-green-refactor)
- Ran the project's full test suite and linter before committing
- For UI changes: captured live screenshots to verify rendering
- For backend changes: verified with example API/CLI output