Skip to content

Fix dpsynth pylock.toml generation workflow and tooling - #175

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/974617129
Open

Fix dpsynth pylock.toml generation workflow and tooling#175
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/974617129

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Sep 1, 2026

Copy link
Copy Markdown

Fix dpsynth pylock.toml generation workflow and tooling

  • Fixed test_local workflow in copy.bara.sky by changing mode to SQUASH and adding destination_files and materialize_outside_symlinks so local Copybara exports succeed.
  • Constrained apache-beam>=2.75.0 in pyproject.toml to prevent uv resolver backtracking to legacy releases during lockfile generation.
  • Updated addlicense to v1.2.0 in update_lockfile.yml and CONTRIBUTING.md to ensure .toml files receive license headers.
  • Updated pytest.yml lockfile verification step to export directly in-place with -q, run addlicense, and check differences via git diff --stat and git diff --exit-code.
  • Documented the CitC local Copybara export workflow for regenerating pylock.toml in AGENT.md.
  • Regenerated pylock.toml with Apache 2.0 license header.

- Fixed `test_local` workflow in `copy.bara.sky` by changing mode to SQUASH and adding destination_files and materialize_outside_symlinks so local Copybara exports succeed.
- Constrained `apache-beam>=2.75.0` in pyproject.toml to prevent uv resolver backtracking to legacy releases during lockfile generation.
- Updated `addlicense` to v1.2.0 in `update_lockfile.yml` and `CONTRIBUTING.md` to ensure `.toml` files receive license headers.
- Updated `pytest.yml` lockfile verification step to export directly in-place with `-q`, run `addlicense`, and check differences via `git diff --stat` and `git diff --exit-code`.
- Documented the CitC local Copybara export workflow for regenerating `pylock.toml` in `AGENT.md`.
- Regenerated `pylock.toml` with Apache 2.0 license header.

PiperOrigin-RevId: 974617129
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.

1 participant