Skip to content

Pin Flask-Security-Too to the yanked 5.8.4 so that dependencies install again. - #10933

Merged
dpage merged 1 commit into
pgadmin-org:masterfrom
dpage:fix/flask-security-yanked-pin
Dec 3, 2026
Merged

dpage merged 1 commit into
pgadmin-org:masterfrom
dpage:fix/flask-security-yanked-pin

Conversation

@dpage

@dpage dpage commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Every CI job that installs the Python requirements is currently failing on master with No matching distribution found for Flask-Security-Too<5.9,>=5.8.4.

Flask-Security-Too 5.8.4 and 5.9.3 were yanked because the identity binding fix for GHSA-xmfm-chhh-ch9j broke two-factor, unified sign-in and WebAuthn setup (pallets-eco/flask-security#1340), so the range we require now matches nothing installable on any Python version. pgAdmin enables none of those features, and pip still installs a yanked release when it is pinned exactly with ==, so this pins ==5.8.4 and keeps the security fix.

The upstream fix has been merged to main and 5.9.x but not yet released, and nothing has landed on 5.8.x; once a fixed 5.8.x is on PyPI, the pin should go back to a range.

Summary by CodeRabbit

  • Chores
    • Updated the package version constraint for Python versions above 3.9 to specify a single release. This is a maintenance change; no user-facing behavior changes are noted.

…ll again.

Flask-Security-Too 5.8.4 and 5.9.3 were yanked because the identity
binding fix for GHSA-xmfm-chhh-ch9j broke two-factor, unified sign-in
and WebAuthn setup (pallets-eco/flask-security#1340). The range
>=5.8.4,<5.9 now matches nothing installable, so installing pgAdmin's
requirements fails on every Python version and every CI job that does so
is red. pgAdmin enables none of those features, and pip still installs a
yanked release when it is pinned exactly, so pin ==5.8.4 until a fixed
5.8.x is published.
@dpage dpage self-assigned this Dec 3, 2026
@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

For Python versions above 3.9, the Flask-Security-Too requirement is pinned to version 5.8.4. Comments document that the release was yanked and explain the exact pin.

Changes

Dependency Requirement

Layer / File(s) Summary
Document the exact dependency pin
requirements.txt
The Python >3.9 requirement changes from >=5.8.4,<5.9 to ==5.8.4. Comments describe the yanked release and exact pin.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Possibly related PRs

  • pgadmin-org/pgadmin4#10919: Changes the minimum Flask-Security-Too requirement to 5.8.4 for Python 3.10 and later, using the same release and advisory.

Suggested reviewers: asheshv

Merge Risk: Minimal · up to 5d2b5

This change pins a single dependency version so that installs stop failing on the yanked release. It has no code impact and is simple to revert, so merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the change: pinning Flask-Security-Too to the yanked 5.8.4 release so dependencies install again. The raw summary confirms that requirements.txt now pins Flask-Security-Too to exactly …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the change: pinning Flask-Security-Too to the yanked 5.8.4 release so dependencies install again. The raw summary confirms that requirements.txt now pins Flask-Security-Too to exactly 5.8.4 for Python versions above 3.9, instead of the range >=5.8.4,<5.9. The objectives state the reason: the range matches no installable release after 5.8.4 and 5.9.3 were yanked, which breaks CI installs. The title is specific and matches the main change. The pin is temporary, which the title does not mention, but that detail does not make the title misleading.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 083e616 and 5d2b52b.

Files selected for processing: 1

  • requirements.txt

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@dpage
dpage merged commit 085e137 into pgadmin-org:master Dec 3, 2026
25 of 31 checks passed
@dpage
dpage deleted the fix/flask-security-yanked-pin branch December 3, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant