Repository navigation
chore(deps-dev): bump datamodel-code-generator from 0.64.0 to 0.81.0 in /packages/code-interpreter-python in the uv group across 1 directory #1975
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.10.1", | ||
| "e2b-openapi-python-client==0.26.2", | ||
| "datamodel-code-generator==0.64.0", | ||
| "datamodel-code-generator==0.81.0", | ||
|
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 corresponding 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 canonical Useful? React with 👍 / 👎.
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. 🔴 Python SDK locked installs fail After Learn moreThe Python SDK has its own lockfile, separate from the code interpreter workspace lockfile. The manifest now requires 0.81.0, while codegen metadata still requires 0.64.0. The Python SDK test workflow uses Example: On this branch, a fresh Python SDK checkout runs Recommended fix: Regenerate and commit Was this helpful? React with 👍 or 👎 to provide feedback.
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. 🟡 Local and CI generators use different versions After Learn moreThe Python SDK's Example: A contributor runs Recommended fix: Upgrade the datamodel-code-generator pin in Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| "protoc-gen-connectrpc==0.12.1", | ||
| "protoc-gen-py==0.6.0", | ||
| ] | ||
|
|
||
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.
🔴 Python SDK, lint and typecheck CI jobs will fail at install after merge. The
codegenpin is now ==0.81.0, but two lockfiles still record ==0.64.0. Those are packages/python-sdk/uv.lock:211 and packages/desktop-python/uv.lock:367, souv sync --lockedreports them out of date. Fix: runuv lockin packages/python-sdk and packages/desktop-python so every lockfile that resolves the python-sdk project records datamodel-code-generator 0.81.0. Only packages/code-interpreter-python/uv.lock was regenerated.Why this was flagged
packages/python-sdk/pyproject.toml:51 now pins "datamodel-code-generator==0.81.0". packages/python-sdk/uv.lock:211 still has
specifier = "==0.64.0"and locks 0.64.0 at lines 136-151. packages/desktop-python/uv.lock:367 also embeds the python-sdk metadata with ==0.64.0. When the metadata no longer matches the lock,uv sync --lockedexits with an error saying the lockfile needs updating. That command runs in .github/workflows/python_sdk_tests.yml:48, typecheck.yml:78 and lint.yml:82 (all with working-directory packages/python-sdk), and in desktop_python_tests.yml:48. On the base branch the pins and locks agree, so those jobs install normally. Developers runningmake generate-mcplocally also get 0.64.0 from the stale python-sdk lock instead of the pinned 0.81.0.Verification: Trigger: any CI run of the python-sdk or desktop-python jobs on the merged tree. The diff changes packages/python-sdk/pyproject.toml:51 to
"datamodel-code-generator==0.81.0", but packages/python-sdk/uv.lock:211 and packages/desktop-python/uv.lock:367 still recordspecifier = "==0.64.0". Souv sync --lockedfails with "lockfile needs to be updated" at .github/workflows/python_sdk_tests.yml:48.