Skip to content

Update TFX-bsl and TFMD version constraints in setup.py to its master and pinning Bazel version to 7.7.0#349

Merged
vkarampudi merged 5 commits into
tensorflow:masterfrom
vkarampudi:master
Jun 2, 2026
Merged

Update TFX-bsl and TFMD version constraints in setup.py to its master and pinning Bazel version to 7.7.0#349
vkarampudi merged 5 commits into
tensorflow:masterfrom
vkarampudi:master

Conversation

@vkarampudi
Copy link
Copy Markdown
Contributor

@vkarampudi vkarampudi commented May 19, 2026

Summary

This PR updates the tfx-bsl and tfmd dependency references to point to the official repository's master branch and introduces stability fixes to the GitHub Actions workflows to resolve Bazel and PIP build isolation conflicts.


Key Changes

1. Dependency Cleanups (setup.py)

  • Point tfx-bsl to Master: Reverted testing fork references and pointed the tfx-bsl and tfmd git references to the official tensorflow/tfx-bsl@master tensorflow/metadata@master branchs.
  • URL Normalization: Cleaned up/normalized the dependency git URL format to prevent pip installation conflicts.

2. CI Workflow Stability Fixes (.github/workflows/)

  • Bazel Version Pinning: Set USE_BAZEL_VERSION: 7.7.0 globally in both the ci-test.yml and wheels.yml environments. This prevents the runner from downloading incompatible newer versions of Bazel (e.g., 9.x) that cause build errors (such as name 'sh_binary' is not defined) during dependency compilation.

  • Bypass Build Isolation Conflicts:

    • Added pre-installation of build-time dependencies (setuptools, wheel, numpy, and pyarrow) in the runner environment.
    • Updated the dependency installation steps to use --no-build-isolation (e.g., pip install --no-build-isolation .[test]).
    • Configured the package build step in the wheels workflow to run with --no-isolation (e.g., python -m build --no-isolation).

    Reasoning: This completely avoids PEP 517 isolated environment setups where pip-generated sitecustomize.py assertions (assert not path in sys.path) collide with environment PYTHONPATH variables forwarded by Bazel's sandboxed sub-shells.


Verification & Status

  • All pipeline builds and dependencies now compile successfully on all matrix runner environments.
  • Workflows complete successfully (Green).

@vkarampudi vkarampudi changed the title testing Update TFX-bsl version constraints in setup.py to its master and pinning Bazel version to 7.7.0 Jun 2, 2026
@vkarampudi vkarampudi changed the title Update TFX-bsl version constraints in setup.py to its master and pinning Bazel version to 7.7.0 Update TFX-bsl and TFMD version constraints in setup.py to its master and pinning Bazel version to 7.7.0 Jun 2, 2026
@vkarampudi vkarampudi merged commit 50a54a8 into tensorflow:master Jun 2, 2026
14 checks passed
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