kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Bump psycopg2-binary to 2.9.11 and allow Python 3.14

Open rtibbles opened this issue 5 months ago • 2 comments

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.toml postgres extra: psycopg2-binary==2.9.10 → 2.9.11 (first cp314 wheel), and extend the python_version < '3.14' marker to include 3.14.
  • postgres_ssl smoke test (tox.yml) runs the extra only on 3.9 — add 3.14.

Acceptance Criteria

  • [ ] postgres extra pins psycopg2-binary==2.9.11 with a marker that allows Python 3.14.
  • [ ] kolibri[postgres] installs on Python 3.14.
  • [ ] postgres_ssl smoke test runs on 3.14 and passes.

AI usage

Drafted with Claude Code from @rtibbles's notes; reviewed and edited before filing.

rtibbles avatar Jun 28 '26 17:06 rtibbles

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

DXCanas avatar Jun 29 '26 17:06 DXCanas

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

status


@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

rtibblesbot avatar Jun 29 '26 23:06 rtibblesbot