Skip to content

SDK-87: Migrate to uv for development environments & fix vulnerabilities#208

Merged
benglewis merged 31 commits into
mainfrom
sdk-87-allow-codex-to-run-pip-audit-and-fix-vulnerabilities
Feb 11, 2026
Merged

SDK-87: Migrate to uv for development environments & fix vulnerabilities#208
benglewis merged 31 commits into
mainfrom
sdk-87-allow-codex-to-run-pip-audit-and-fix-vulnerabilities

Conversation

@benglewis
Copy link
Copy Markdown
Contributor

@benglewis benglewis commented Feb 4, 2026

Note

Medium Risk
Touches CI/release pipelines and dependency resolution, so failures could impact builds, publishing, and security scanning despite minimal runtime code changes.

Overview
Migrates the repo away from compiled requirements/*.txt files to uv-managed dependency groups in pyproject.toml, including new deploy and expanded dev/docs groups, plus dependency bumps to address vulnerabilities.

Updates most GitHub Actions workflows, dev.Dockerfile, .envrc, and pre-commit hooks to create venvs and install/sync dependencies via uv (including Windows PowerShell support), adjusts caching to key off uv.lock, and changes the vulnerability scan to run pip-audit against the synced .venv.

Adds Codex environment/rules files to permit uv run pip-audit and documents the new uv-first dev workflow in AGENTS.md and DEV_README.md.

Written by Cursor Bugbot for commit 062512a. This will update automatically on new commits. Configure here.

…Python development standards

This does mean though that `uv` is now the only recommended development install workflow
All of the old `requirements.txt` files is just such a waste of time to maintain
I've updated all of the GitHub Actions workflows to use `uv` and the `.pre-commit-config.yaml`
The DevContainer Dockerfile is also now using `uv`
…t.toml` and not `uv.lock`

The `pyproject.toml` is what affects our downstream users as opposed to developers, and we want to fix thing sfor them not just developers of the project
@benglewis benglewis self-assigned this Feb 4, 2026
@benglewis benglewis requested review from a team as code owners February 4, 2026 11:18
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 71924389fa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread dev.Dockerfile Outdated
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Feb 4, 2026

Greptile Overview

Important Files Changed

Filename Overview
pyproject.toml Migrated from requirements files to dependency-groups and bumped versions to fix vulnerabilities
.github/workflows/vulnerability-scan.yml Added uv setup and proper conditionals to skip steps on PRs
.github/workflows/pytest-sanity.yaml Migrated to uv with correct Windows PowerShell activation script
dev.Dockerfile Switched to uv base image and simplified to use uv sync
.pre-commit-config.yaml Updated uv-pre-commit hooks to 0.9.29 to align with project requirements
.github/workflows/lint.yaml Replaced pip-based setup with uv sync for both ruff and basedpyright jobs
.github/workflows/deploy-to-pypi.yaml Simplified to use uv sync for dependency installation before building

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 files reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

Comment thread .github/workflows/vulnerability-scan.yml Outdated
Comment thread dev.Dockerfile Outdated
Comment thread pyproject.toml Outdated
Comment thread .github/workflows/vulnerability-scan.yml Outdated
Comment thread .github/workflows/vulnerability-scan.yml Outdated
@benglewis
Copy link
Copy Markdown
Contributor Author

@greptile Please re-review

@benglewis
Copy link
Copy Markdown
Contributor Author

@codex review

@benglewis
Copy link
Copy Markdown
Contributor Author

@cursor review

@benglewis
Copy link
Copy Markdown
Contributor Author

Baz please review this

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .codex/rules/pip-audit.rules
Comment thread .pre-commit-config.yaml
Comment thread .github/workflows/vulnerability-scan.yml Outdated
mishana
mishana previously approved these changes Feb 4, 2026
Copy link
Copy Markdown
Contributor

@mishana mishana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

9 files reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

Comment thread .pre-commit-config.yaml
Comment thread .github/workflows/vulnerability-scan.yml Outdated
@benglewis benglewis requested a review from mishana February 8, 2026 07:49
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread .github/workflows/vulnerability-scan.yml Outdated
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread .github/workflows/vulnerability-scan.yml Outdated
mishana
mishana previously approved these changes Feb 8, 2026
Copy link
Copy Markdown
Contributor

@mishana mishana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LAGATANISIMUS

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread .github/workflows/cleanup-test-artifacts.yaml
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread .github/workflows/deploy-to-pypi.yaml
Comment thread .github/workflows/update-docs.yaml Outdated
@benglewis benglewis requested a review from mishana February 8, 2026 16:20
@benglewis benglewis enabled auto-merge February 8, 2026 16:24
mishana
mishana previously approved these changes Feb 8, 2026
@benglewis benglewis added this pull request to the merge queue Feb 10, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Feb 10, 2026
@benglewis benglewis added this pull request to the merge queue Feb 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Feb 11, 2026
@benglewis benglewis added this pull request to the merge queue Feb 11, 2026
Merged via the queue into main with commit c2d6b3f Feb 11, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants