From 314f1bb0987fe26f57329f280eaa4242215fa9af Mon Sep 17 00:00:00 2001 From: Venkata Sai Madhur Karampudi Date: Thu, 11 Jun 2026 21:41:19 +0000 Subject: [PATCH 1/9] TFMA 0.52.0 Release. --- RELEASE.md | 19 +++++++++++++++++++ docs/install.md | 3 ++- setup.py | 4 ++-- .../notebook/jupyter/js/package.json | 2 +- tensorflow_model_analysis/version.py | 2 +- 5 files changed, 25 insertions(+), 5 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index bbc111fb3e..e6c92c7a9c 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -4,6 +4,24 @@ ## Major Features and Improvements +* N/A + +## Bug fixes and other Changes + +* N/A + +## Breaking Changes + +* N/A + +## Deprecations + +* N/A + +# Version 0.52.0 + +## Major Features and Improvements + * Adds official support for Python 3.12 and 3.13. * Drops support for Python 3.9. * Depends on `tensorflow>=2.21.0,<2.22.0`. @@ -38,6 +56,7 @@ * Python 3.9 is no longer supported. The minimum supported Python version is now 3.10. ## Deprecations +* N/A # Version 0.48.0 diff --git a/docs/install.md b/docs/install.md index c4522802a9..151caada33 100644 --- a/docs/install.md +++ b/docs/install.md @@ -152,7 +152,8 @@ combinations may also work. tensorflow-model-analysis | apache-beam[gcp] | pyarrow | tensorflow | tensorflow-metadata | tfx-bsl ------------------------------------------------------------------------------------ | ---------------- | ------- | ------------- | ------------------- | ------- -[GitHub master](https://github.com/tensorflow/model-analysis/blob/master/RELEASE.md) | 2.65.0 | 10.0.1 | nightly (2.x) | 1.17.1 | 1.17.1 +[GitHub master](https://github.com/tensorflow/model-analysis/blob/master/RELEASE.md) | 2.65.0 | 14.0.1 | nightly (2.x) | 1.21.0 | 1.21.0 +[0.52.0](https://github.com/tensorflow/model-analysis/blob/v0.52.0/RELEASE.md) | 2.65.0 | 14.0.1 | 2.21 | 1.21.0 | 1.21.0 [0.48.0](https://github.com/tensorflow/model-analysis/blob/v0.48.0/RELEASE.md) | 2.65.0 | 10.0.1 | 2.17 | 1.17.1 | 1.17.1 [0.47.1](https://github.com/tensorflow/model-analysis/blob/v0.47.1/RELEASE.md) | 2.60.0 | 10.0.1 | 2.16 | 1.16.1 | 1.16.1 [0.47.0](https://github.com/tensorflow/model-analysis/blob/v0.47.0/RELEASE.md) | 2.60.0 | 10.0.1 | 2.16 | 1.16.1 | 1.16.1 diff --git a/setup.py b/setup.py index 89b3335e9c..944215a1de 100644 --- a/setup.py +++ b/setup.py @@ -336,13 +336,13 @@ def select_constraint(default, nightly=None, git_master=None): "tensorflow-metadata" + select_constraint( default="@git+https://github.com/tensorflow/metadata@master", - nightly=">=1.18.0.dev", + nightly=">=1.22.0.dev", git_master="@git+https://github.com/tensorflow/metadata@master", ), "tfx-bsl" + select_constraint( default="@git+https://github.com/tensorflow/tfx-bsl@master", - nightly=">=1.18.0.dev", + nightly=">=1.22.0.dev", git_master="@git+https://github.com/tensorflow/tfx-bsl@master", ), "tf-keras", diff --git a/tensorflow_model_analysis/notebook/jupyter/js/package.json b/tensorflow_model_analysis/notebook/jupyter/js/package.json index 008d431bed..d1299545fb 100644 --- a/tensorflow_model_analysis/notebook/jupyter/js/package.json +++ b/tensorflow_model_analysis/notebook/jupyter/js/package.json @@ -1,6 +1,6 @@ { "name": "tensorflow_model_analysis", - "version": "0.49.0.dev", + "version": "0.53.0.dev", "homepage": "https://github.com/tensorflow/model-analysis", "bugs": "https://github.com/tensorflow/model-analysis/issues", "license": "Apache-2.0", diff --git a/tensorflow_model_analysis/version.py b/tensorflow_model_analysis/version.py index f5e901cbc7..8dddf9f4ce 100644 --- a/tensorflow_model_analysis/version.py +++ b/tensorflow_model_analysis/version.py @@ -15,4 +15,4 @@ # Version string for this release of TFMA. # Note that setup.py reads and uses this version. -VERSION = "0.49.0.dev" +VERSION = "0.53.0.dev" From dcde68b6c761025a551af02883eb21fedc98aaf3 Mon Sep 17 00:00:00 2001 From: Venkata Sai Madhur Karampudi Date: Thu, 11 Jun 2026 21:42:19 +0000 Subject: [PATCH 2/9] Update default dependency constraints in setup.py --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 944215a1de..88ae847a83 100644 --- a/setup.py +++ b/setup.py @@ -335,13 +335,13 @@ def select_constraint(default, nightly=None, git_master=None): "tensorflow-estimator>=2.10", "tensorflow-metadata" + select_constraint( - default="@git+https://github.com/tensorflow/metadata@master", + default=">=1.21.0,<1.22.0", nightly=">=1.22.0.dev", git_master="@git+https://github.com/tensorflow/metadata@master", ), "tfx-bsl" + select_constraint( - default="@git+https://github.com/tensorflow/tfx-bsl@master", + default=">=1.21.0,<1.22.0", nightly=">=1.22.0.dev", git_master="@git+https://github.com/tensorflow/tfx-bsl@master", ), From e864c4397e25dad6c4848ed02a871b8f08ccdf17 Mon Sep 17 00:00:00 2001 From: Venkata Sai Madhur Karampudi Date: Thu, 11 Jun 2026 21:49:26 +0000 Subject: [PATCH 3/9] Configure PyPI upload to use PYPI_API_TOKEN secret in wheels.yml --- .github/workflows/wheels.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 8157554485..f1a7843a38 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -76,4 +76,5 @@ jobs: - name: Upload to PyPI uses: pypa/gh-action-pypi-publish@release/v1.9 with: + password: ${{ secrets.PYPI_API_TOKEN }} packages_dir: wheels/ From 137cfb93942bf2c3fb9a0fc3b2b5ce65866a1b06 Mon Sep 17 00:00:00 2001 From: Venkata Sai Madhur Karampudi Date: Thu, 11 Jun 2026 23:44:56 +0000 Subject: [PATCH 4/9] Update compatibility table in README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 773549056b..0dbd3153f1 100644 --- a/README.md +++ b/README.md @@ -215,7 +215,8 @@ combinations may also work. |tensorflow-model-analysis |apache-beam[gcp]|pyarrow |tensorflow |tensorflow-metadata |tfx-bsl | |------------------------------------------------------------------------------------ |----------------|----------|-------------------|--------------------|----------| -|[GitHub master](https://github.com/tensorflow/model-analysis/blob/master/RELEASE.md) | 2.65.0 | 10.0.1 | nightly (2.x) | 1.17.1 | 1.17.1 | +|[GitHub master](https://github.com/tensorflow/model-analysis/blob/master/RELEASE.md) | 2.65.0 | 14.0.1 | nightly (2.x) | 1.21.0 | 1.21.0 | +|[0.52.0](https://github.com/tensorflow/model-analysis/blob/v0.52.0/RELEASE.md) | 2.65.0 | 14.0.1 | 2.21 | 1.21.0 | 1.21.0 | |[0.48.0](https://github.com/tensorflow/model-analysis/blob/v0.48.0/RELEASE.md) | 2.65.0 | 10.0.1 | 2.17 | 1.17.1 | 1.17.1 | |[0.47.1](https://github.com/tensorflow/model-analysis/blob/v0.47.1/RELEASE.md) | 2.60.0 | 10.0.1 | 2.16 | 1.16.1 | 1.16.1 | |[0.47.0](https://github.com/tensorflow/model-analysis/blob/v0.47.0/RELEASE.md) | 2.60.0 | 10.0.1 | 2.16 | 1.16.1 | 1.16.1 | From f6399f3382e82b3b07847a03a4ae8f8224adf0dc Mon Sep 17 00:00:00 2001 From: Venkata Sai Madhur Karampudi Date: Thu, 11 Jun 2026 23:52:31 +0000 Subject: [PATCH 5/9] Add verify-metadata: false and verbose: true to wheels.yml --- .github/workflows/wheels.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index f1a7843a38..c843bf4ff7 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -78,3 +78,5 @@ jobs: with: password: ${{ secrets.PYPI_API_TOKEN }} packages_dir: wheels/ + verify-metadata: false + verbose: true From e9a50de0340d056bbf968cca99801495df005fa4 Mon Sep 17 00:00:00 2001 From: Venkata Sai Madhur Karampudi Date: Fri, 12 Jun 2026 05:53:40 +0000 Subject: [PATCH 6/9] Pin setuptools<70 and update gh-action-pypi-publish to release/v1 --- .github/workflows/wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index c843bf4ff7..a8d7fb677f 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -34,7 +34,7 @@ jobs: - name: install python dependencies run: | - pip install --upgrade pip setuptools wheel numpy pyarrow build twine + pip install --upgrade pip "setuptools<70" wheel numpy pyarrow build twine pip install --no-build-isolation . - name: build sdist @@ -74,7 +74,7 @@ jobs: ls -lAs wheels/ - name: Upload to PyPI - uses: pypa/gh-action-pypi-publish@release/v1.9 + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }} packages_dir: wheels/ From 8063165becb16654b1e250e8d3a9a627e03a0610 Mon Sep 17 00:00:00 2001 From: Venkata Sai Madhur Karampudi Date: Fri, 12 Jun 2026 05:59:35 +0000 Subject: [PATCH 7/9] Simplify wheels.yml by using standard build isolation --- .github/workflows/wheels.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index a8d7fb677f..10b97daa5e 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -34,12 +34,12 @@ jobs: - name: install python dependencies run: | - pip install --upgrade pip "setuptools<70" wheel numpy pyarrow build twine - pip install --no-build-isolation . + pip install --upgrade pip build twine + pip install . - name: build sdist run: | - python -m build --sdist --wheel --no-isolation -o wheelhouse + python -m build --sdist --wheel -o wheelhouse - name: List and check sdist run: | From 3f0e136e1bba26053cb20befde73dd877584d170 Mon Sep 17 00:00:00 2001 From: Venkata Sai Madhur Karampudi Date: Fri, 12 Jun 2026 06:29:35 +0000 Subject: [PATCH 8/9] Upload both wheel and sdist artifacts in wheels.yml --- .github/workflows/wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 10b97daa5e..670ac75c47 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -46,11 +46,11 @@ jobs: ls -lh wheelhouse/ twine check wheelhouse/* - - name: Upload sdist + - name: Upload distributions uses: actions/upload-artifact@v4 with: name: wheels - path: ./wheelhouse/*.tar.gz + path: ./wheelhouse/* upload_to_pypi: name: Upload to PyPI From 98796cdd375085f553826e83e498b986b40adc6e Mon Sep 17 00:00:00 2001 From: Venkata Sai Madhur Karampudi Date: Fri, 12 Jun 2026 06:35:07 +0000 Subject: [PATCH 9/9] Configure workflow to only build and upload wheel packages --- .github/workflows/wheels.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 670ac75c47..eb49d8eeba 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -37,20 +37,20 @@ jobs: pip install --upgrade pip build twine pip install . - - name: build sdist + - name: build wheel run: | - python -m build --sdist --wheel -o wheelhouse + python -m build --wheel -o wheelhouse - - name: List and check sdist + - name: List and check wheel run: | ls -lh wheelhouse/ twine check wheelhouse/* - - name: Upload distributions + - name: Upload wheel uses: actions/upload-artifact@v4 with: name: wheels - path: ./wheelhouse/* + path: ./wheelhouse/*.whl upload_to_pypi: name: Upload to PyPI