Skip to content

fix: remediate Dependabot security alerts - #492

Merged
tdstein merged 2 commits into
mainfrom
fix/dependabot-security-alerts
Sep 4, 2026
Merged

fix: remediate Dependabot security alerts#492
tdstein merged 2 commits into
mainfrom
fix/dependabot-security-alerts

Conversation

@tdstein

@tdstein tdstein commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade all dependencies covered by the 36 open Dependabot alerts to patched versions.
  • Raise the supported Python version to 3.10+ and align CI and documentation.
  • Update the Flask integration fixture and archived bundle to Flask 3.1.3.
  • Fix the Ruff B905 violation surfaced by the refreshed toolchain.

Validation

  • make test — 463 passed
  • make lint — Ruff and Pyright passed
  • make build — passed
  • uv lock --check — passed

The patched dependency set requires Python 3.10+, so Python 3.8 and 3.9 are removed from the CI matrix.

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2509 2359 94% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 2c0ff4c by action🐍

@tdstein

tdstein commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator Author

@nealrichardson, FYI this changes the minimum supported version of Python from 3.8 to 3.10, but also adds support for 3.14 and 3.15. This matches the current LTS window https://devguide.python.org/versions/. Dropping support for 3.8 and 3.9 is required to resolve the security alerts.

@tdstein

tdstein commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator Author

@nealrichardson, FYI this changes the minimum supported version of Python from 3.8 to 3.10, but also adds support for 3.14 and 3.15. This matches the current LTS window https://devguide.python.org/versions/. Dropping support for 3.8 and 3.9 is required to resolve the security alerts.

I (Luna) also cross-checked with Connect to verify that this doesn't effect any currently published guidance:

  - The installation recipe at docs/cookbook/getting-started/installing-the-posit-sdk/index.qmd:17-27 says pip install posit-sdk but does not state the new Python 3.10+ prerequisite. It should gain an explicit note.
  - No Connect documentation mentions the SDK’s CI matrix, so Python 3.14/3.15 requires no documentation update there.
  - References to Python 3.8 in Connect’s admin/content docs describe Connect runtime support, not SDK support; they should remain unchanged.
  - Cookbook examples pin historical SDK versions (0.2.2, 0.5.0, 0.8.0, 0.9.0, 0.12.0). These don’t become invalid from this change, but they are independently stale relative to the Cookbook’s goal of using current
    SDK versions.

@tdstein
tdstein merged commit f09ad09 into main Sep 4, 2026
50 checks passed
@tdstein
tdstein deleted the fix/dependabot-security-alerts branch September 4, 2026 17:09
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