Skip to content

fix(deps): bump click + cryptography to clear pip-audit gate (run #577) - #192

Draft
Sbussiso wants to merge 1 commit into
masterfrom
ci-fix/32071519810
Draft

fix(deps): bump click + cryptography to clear pip-audit gate (run #577)#192
Sbussiso wants to merge 1 commit into
masterfrom
ci-fix/32071519810

Conversation

@Sbussiso

Copy link
Copy Markdown
Contributor

Root cause — CI run #577 failure

Test & Deploy run #577 (actions/runs/32071519810) failed at the Dependency scan (pip-audit) step on the dependabot/uv/backend/resend-2.36.0 branch (commit d6c1e1b, PR #189):

uv run pip-audit --strict
Found 4 known vulnerabilities in 2 packages
Name         Version ID              Fix Versions
click        8.3.1   PYSEC-2026-2132 8.3.3
cryptography 48.0.1 PYSEC-2026-3552 50.0.0
cryptography 48.0.1 PYSEC-2026-3553 49.0.0
cryptography 48.0.1 PYSEC-2026-3554 49.0.0
##[error]Process completed with exit code 1.

Both are transitive dependencies not pinned anywhere in the main dependencies list:

  • click via uvicorn
  • cryptography via clerk-backend-api / authlib

The resend bump in PR #189 refreshed the lockfile but left both pinned at vulnerable versions. Three new cryptography advisories (PYSEC-2026-3552/3553/3554) landed ~2026-08 and superseded the existing cryptography>=48.0.1 constraint.

Fix

Bump the constraint-dependencies floor in backend/pyproject.toml:

  • click 8.3.1 → 8.4.2 (≥ 8.3.3, clears PYSEC-2026-2132)
  • cryptography 48.0.1 → 50.0.0 (≥ 50.0.0, clears all three PYSEC-2026-3552/3553/3554)

uv lock pulled clerk-backend-api 6.0.1 → 7.0.0 transitively (driven by the cryptography floor). Lockfile diff is version + hash lines only.

Verification

Locally reproduced the failing gate and confirmed it now passes:

$ uv run --extra dev pip-audit --strict
No known vulnerabilities found

$ uv run --extra dev pytest -q
699 passed

Note on base branch

The triggering branch dependabot/uv/backend/resend-2.36.0 was deleted when PR #189 merged, so this fix targets master (where the vulnerable click 8.3.1 + cryptography 48.0.1 now live). This also clears the default-branch vulnerabilities GitHub flags on push.

Refs: #189 · run 32071519810

CI run #577 (actions/runs/32071519810) on the
dependabot/uv/backend/resend-2.36.0 branch failed at the
`Dependency scan (pip-audit)` step:

  Found 4 known vulnerabilities in 2 packages
  Name         Version ID              Fix Versions
  click        8.3.1   PYSEC-2026-2132 8.3.3
  cryptography 48.0.1  PYSEC-2026-3552 50.0.0
  cryptography 48.0.1  PYSEC-2026-3553 49.0.0
  cryptography 48.0.1  PYSEC-2026-3554 49.0.0

Both are transitive deps not pinned in the main dependencies list
(click via uvicorn, cryptography via clerk-backend-api / authlib).
Bump the constraint-dependencies floor:
  - click        8.3.1  -> 8.4.2  (>= 8.3.3)
  - cryptography 48.0.1 -> 50.0.0 (>= 50.0.0, clears all three advisories)

`uv lock` also pulled clerk-backend-api 6.0.1 -> 7.0.0 transitively.

Verified locally:
  $ uv run --extra dev pip-audit --strict
  No known vulnerabilities found
  $ uv run --extra dev pytest -q
  699 passed

Refs: actions/runs/32071519810 . PR #189
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.

2 participants