Restore unconditional psycopg[binary] once psycopg-binary ships cp315 wheels

Open Beginner friendly
#7,148 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
python

Research direction

Check that psycopg-binary has published cp315 wheels, then inspect the marked dependency pairs in pyproject.toml and docs/app/pyproject.toml. Remove the TODO comments, restore the unconditional psycopg[binary] entries, run uv lock, and verify the Python 3.15 legs of unit_tests.yml and integration_app_harness.yml pass.

Written by the indexing model from the issue text.

Description

Follow-up to https://github.com/reflex-dev/reflex/pull/6930 (Python 3.15 support).

There are no cp315 wheels for psycopg-binary yet (latest on PyPI today is 3.3.5, no cp315 files), so #6930 split the dependency to fall back to pure-python psycopg on 3.15+ in two places:

  • pyproject.toml (dev group): "psycopg[binary]; python_version < '3.15'" + "psycopg; python_version >= '3.15'"
  • docs/app/pyproject.toml: same split

This only affects dev/test/docs environments, not the published reflex package — but on the 3.15 CI legs it means psycopg builds/needs libpq rather than using a prebuilt binary.

When a psycopg release ships cp315 psycopg-binary wheels:

  1. Collapse both markered pairs back to a single psycopg[binary] entry and drop the TODO comments.
  2. uv lock and verify the 3.15 legs of unit_tests.yml / integration_app_harness.yml still pass.
Dominant language
Python
Stars
28.9k
Forks
1.8k
Avg merge
1d 20h
Merged PRs (30d)
173

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from reflex-dev/reflex

All issues in reflex-dev/reflex

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.