Skip to content

Conversation

@kanterov
Copy link
Collaborator

@kanterov kanterov commented Apr 22, 2025

Changes

Update uv.lock during tagging and fix uv.lock broken during the previous release.

Previously, we used the genkit version substitution mechanism, which didn't work because it replaced all versions in the UV lock file, and we reverted it in #2731

Why

Having an outdated uv.lock breaks Python builds after release.

Tests

Not tested

@kanterov kanterov marked this pull request as ready for review April 22, 2025 14:05
@kanterov kanterov temporarily deployed to test-trigger-is April 22, 2025 14:05 — with GitHub Actions Inactive
.codegen.json Outdated
"echo 'go.sum linguist-generated=true' >> ./.gitattributes",
"echo 'bundle/schema/jsonschema.json linguist-generated=true' >> ./.gitattributes"
"echo 'bundle/schema/jsonschema.json linguist-generated=true' >> ./.gitattributes",
"pushd experimental/python && uv lock"
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this is run as part of the tagging workflow, only as part of the generation workflow.

@andrewnester Can you confirm?

@kanterov kanterov temporarily deployed to test-trigger-is April 24, 2025 08:19 — with GitHub Actions Inactive
@kanterov kanterov temporarily deployed to test-trigger-is April 24, 2025 08:19 — with GitHub Actions Inactive
@kanterov kanterov requested a review from pietern April 24, 2025 08:20
@kanterov
Copy link
Collaborator Author

kanterov commented Apr 24, 2025

I changed the approach to use the existing substitution mechanism that apparently supports newlines (source: https://github.com/databricks/databricks-sdk-java/blob/main/.codegen.json)

@denik denik enabled auto-merge April 24, 2025 08:28
@denik denik disabled auto-merge April 24, 2025 08:28
@denik denik merged commit 7d6787d into main Apr 24, 2025
15 of 16 checks passed
@denik denik deleted the update-uv-lock branch April 24, 2025 08:29
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.

4 participants