Repository navigation
chore(deps-dev): bump the uv group across 3 directories with 1 update #1965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,7 +48,7 @@ dev = [ | |
| codegen = [ | ||
| "black==26.3.1", | ||
| "e2b-openapi-python-client==0.26.2", | ||
| "datamodel-code-generator==0.64.0", | ||
| "datamodel-code-generator==0.81.0", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 MCP generation differs between local and Docker workflows After Learn moreThe SDK codegen group supplies Example: A developer runs Recommended fix: Update the datamodel-code-generator pin in Was this helpful? React with 👍 or 👎 to provide feedback. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The Python SDK is a member of both downstream Python workspaces, but only AGENTS.md reference: AGENTS.md:L1-L1 Useful? React with 👍 / 👎. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The authoritative Useful? React with 👍 / 👎. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 Python SDK and desktop CI jobs that run Why this was flaggedpyproject.toml:51 now pins Verification: Trigger: any CI job that runs There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 (optional) Code generated locally will now differ from the CI-checked output, because the local tool pin no longer matches the Docker image. The comment at pyproject.toml:44 says these pins mirror codegen.Dockerfile. codegen.Dockerfile:24 still installs Why this was flaggedThe Makefile:19 Verification: packages/python-sdk/pyproject.toml:44 says "Pins mirror codegen.Dockerfile so local output matches CI", and line 51 now reads |
||
| "protoc-gen-connectrpc==0.11.1", | ||
| "protoc-gen-py==0.1.1", | ||
| ] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 SDK codegen lock retains old generator
With the new pin,
uv sync --frozen --group codegenstill installs 0.64.0 from the SDK lock.uv sync --locked --group codegenrejects the mismatched lock instead.Learn more
The SDK maintains its own lockfile, separate from the code-interpreter workspace lockfile. The SDK lock still specifies 0.64.0 for both the generator package and its codegen requirement. Frozen installs trust that lock without checking the project pin, while locked installs require an up-to-date lock. This prevents either mode from using the new pin as intended.
Example: An SDK developer runs
uv sync --frozen --group codegenafter pulling this PR. The installed generator remains 0.64.0 rather than the requested 0.81.0.Recommended fix: Refresh and commit
packages/python-sdk/uv.lockwith uv from the SDK project directory, then check that its codegen metadata and generator package both resolve to 0.81.0.Was this helpful? React with 👍 or 👎 to provide feedback.