From 73a94fb41b26457dc6a457b08407617124372e19 Mon Sep 17 00:00:00 2001 From: Madhur Karampudi <142544288+vkarampudi@users.noreply.github.com> Date: Sun, 17 May 2026 17:00:35 -0700 Subject: [PATCH 1/5] Update setup.py --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 28568c48..bbf06b4a 100644 --- a/setup.py +++ b/setup.py @@ -52,12 +52,12 @@ def _make_required_install_packages(): "tensorflow>=2.21,<2.22", "tensorflow-metadata" + select_constraint( - default=">=1.17.1,<1.18.0", + default="@git+https://github.com/tensorflow/metadata@master", nightly=">=1.18.0.dev", git_master="@git+https://github.com/tensorflow/metadata@master", ), "tf_keras>=2", - "tfx-bsl@git+https://github.com/tensorflow/tfx-bsl.git@master", + "tfx-bsl@git+https://github.com/tensorflow/tfx-bsl.git@testing", ] From 0fc8c644543ed26aa0a13e60e7ec0c33ec6be906 Mon Sep 17 00:00:00 2001 From: Venkata Sai Madhur Karampudi Date: Mon, 18 May 2026 00:03:23 +0000 Subject: [PATCH 2/5] Point tfx-bsl to vkarampudi/tfx-bsl@testing fork --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bbf06b4a..118c4e11 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ def _make_required_install_packages(): git_master="@git+https://github.com/tensorflow/metadata@master", ), "tf_keras>=2", - "tfx-bsl@git+https://github.com/tensorflow/tfx-bsl.git@testing", + "tfx-bsl@git+https://github.com/vkarampudi/tfx-bsl.git@testing", ] From 9f5dc36cdb5c99280ac7215fe49aaeaa4d055022 Mon Sep 17 00:00:00 2001 From: Venkata Sai Madhur Karampudi Date: Mon, 18 May 2026 00:05:55 +0000 Subject: [PATCH 3/5] Remove .git suffix from tfx-bsl URL to resolve pip conflict --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 118c4e11..f74cdf5a 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ def _make_required_install_packages(): git_master="@git+https://github.com/tensorflow/metadata@master", ), "tf_keras>=2", - "tfx-bsl@git+https://github.com/vkarampudi/tfx-bsl.git@testing", + "tfx-bsl@git+https://github.com/vkarampudi/tfx-bsl@testing", ] From 2c67da1504e8793884356849f9fea37d7dd7e684 Mon Sep 17 00:00:00 2001 From: Venkata Sai Madhur Karampudi Date: Mon, 1 Jun 2026 22:30:06 +0000 Subject: [PATCH 4/5] Point tfx-bsl dependency to official tensorflow/tfx-bsl@master branch --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f74cdf5a..d9eb3939 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ def _make_required_install_packages(): git_master="@git+https://github.com/tensorflow/metadata@master", ), "tf_keras>=2", - "tfx-bsl@git+https://github.com/vkarampudi/tfx-bsl@testing", + "tfx-bsl@git+https://github.com/tensorflow/tfx-bsl@master", ] From 43662cb1cae738803aca7715d677b4fd885a5fb3 Mon Sep 17 00:00:00 2001 From: Venkata Sai Madhur Karampudi Date: Tue, 2 Jun 2026 17:05:54 +0000 Subject: [PATCH 5/5] Configure Bazel version and disable build isolation in CI workflows --- .github/workflows/ci-test.yml | 8 +++++++- .github/workflows/wheels.yml | 11 +++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index d636e3c1..ca81b9a2 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -9,6 +9,9 @@ on: - 'docs/**' workflow_dispatch: +env: + USE_BAZEL_VERSION: 7.7.0 + jobs: unit-tests: if: github.actor != 'copybara-service[bot]' @@ -31,7 +34,10 @@ jobs: - name: Install dependencies run: | - pip install .[test] + sudo apt update + sudo apt install -y protobuf-compiler + pip install --upgrade pip setuptools wheel numpy pyarrow + pip install --no-build-isolation .[test] - name: Run unit tests shell: bash diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 5fd66221..5f1fca26 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -6,6 +6,9 @@ on: release: types: [published] +env: + USE_BAZEL_VERSION: 7.7.0 + jobs: build-package: name: Build sdist @@ -20,11 +23,15 @@ jobs: python-version: '3.10' - name: Install python dependencies - run: pip install --upgrade pip build twine + run: | + sudo apt update + sudo apt install -y protobuf-compiler + pip install --upgrade pip setuptools wheel numpy pyarrow build twine + pip install --no-build-isolation . - name: Build sdist and wheel run: | - python -m build --sdist --wheel -o wheelhouse + python -m build --sdist --wheel --no-isolation -o wheelhouse - name: List and check sdist run: |