Deps: bump psycopg2-binary for newer libpq auth#10497
Draft
nmanovic wants to merge 6 commits intov3-pr2-helmfrom
Draft
Deps: bump psycopg2-binary for newer libpq auth#10497nmanovic wants to merge 6 commits intov3-pr2-helmfrom
nmanovic wants to merge 6 commits intov3-pr2-helmfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
SpecLad
reviewed
Apr 20, 2026
| # Keep psycopg2-binary new enough to bundle a libpq version that supports | ||
| # SCRAM auth. Older builds caused local macOS test startup failures with | ||
| # "SCRAM authentication requires libpq version 10 or above". | ||
| psycopg2-binary==2.9.11 |
Contributor
There was a problem hiding this comment.
Let's just set this to psycopg2-binary~=2.9 to avoid updating it in the future.
SpecLad
reviewed
Apr 20, 2026
| @@ -0,0 +1,3 @@ | |||
| ### Fixed | |||
|
|
|||
| - Updated `psycopg2-binary` to avoid local macOS test startup failures caused by older bundled libpq versions, including `SCRAM authentication requires libpq version 10 or above` when connecting to PostgreSQL. | |||
Contributor
There was a problem hiding this comment.
You need to include a link to the PR.
b4f16b7 to
542d708
Compare
542d708 to
ce2c84a
Compare
ce2c84a to
ad4fad2
Compare
62d6e9a to
f126c90
Compare
ad4fad2 to
3bb08ff
Compare
3bb08ff to
67036f5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is PR 4 in the split series.
Base PR: #10496 (
v3-pr2-helm)This PR keeps the dependency change narrow:
psycopg2-binaryfrom2.9.5to2.9.11cvat/requirements/base.inexplaining why the bump is neededWhy this change is needed
On local macOS test runs, the older
psycopg2-binarybundled an olderlibpq, which caused backend startup failures when connecting to PostgreSQL instances using SCRAM authentication:SCRAM authentication requires libpq version 10 or aboveThe version bump fixes that class of failure.
Validation
cvat/server:devpsycopg2 2.9.11--auth-host=scram-sha-256cvat/server:devsucceeds (select 1)typos: passedremark: passedScope
Relative to
v3-pr2-helm, this PR changes only:cvat/requirements/base.incvat/requirements/base.txtchangelog.d/20260419_120500_nmanovic_psycopg2_libpq_scram.mdNotes
This PR is intentionally stacked on top of
v3-pr2-helmbecause the split series is being reviewed incrementally andpr0contains critical baseline test fixes for the rest of the stack.