Skip to content

Simplify release scripts and update release instructions#1042

Open
mhucka wants to merge 5 commits intotensorflow:masterfrom
mhucka:update-release-scripts
Open

Simplify release scripts and update release instructions#1042
mhucka wants to merge 5 commits intotensorflow:masterfrom
mhucka:update-release-scripts

Conversation

@mhucka
Copy link
Copy Markdown
Member

@mhucka mhucka commented Apr 10, 2026

This PR reflects what was used to produce the last release (0.7.6). There are two changes:

  1. Update the instructions in release/README.md to add a step to regenerate the requirements.txt file.

  2. Simplify the scripts build_distribution.sh and clean_distribution.sh scripts based on experiences with producing the last two TFQ releases. I never ended up using some of the features anyway, and removing them lets us simplify the scripts noticeably. This is better for maintainability.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the release documentation and scripts for TensorFlow Quantum, specifically targeting TensorFlow 2.18 and streamlining the Docker-based build process. Key improvements include a new section in the README for managing dependencies via pip-tools and a refactored build_distribution.sh that uses more explicit Bazel toolchain configurations. The scripts were also simplified by removing dry-run and verbose options. Review feedback points out a minor typo and a missing backtick in the README, as well as a mismatch between the usage documentation and the actual flag implementation for Bazel options in the build script.

mhucka and others added 3 commits April 10, 2026 13:26
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@mhucka mhucka marked this pull request as ready for review April 10, 2026 20:47
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