Skip to content

Tfx bsl py312 1.17 e#99

Open
pritamdodeja wants to merge 3 commits intotensorflow:masterfrom
pritamdodeja:tfx-bsl-py312-1.17-e
Open

Tfx bsl py312 1.17 e#99
pritamdodeja wants to merge 3 commits intotensorflow:masterfrom
pritamdodeja:tfx-bsl-py312-1.17-e

Conversation

@pritamdodeja
Copy link

build: remove ZetaSQL and update dependencies for Python 3.12 support

This commit modernizes the build environment and strips out dependencies
that block compilation on Python 3.12.

Specific changes include:
* Strip ZetaSQL: Removed zetasql and six_archive from `WORKSPACE`.
  Deleted `sql_util` and `statistics_sql` C++ submodules and their
  pybind11 hooks, as ZetaSQL compilation fails in this environment.
* Modernize PyArrow: Relaxed pyarrow constraints to `>=14,<22` for
  Python >= 3.11 to avoid downloading and building legacy Arrow 10
  source code (which lacks modern setuptools/pkg_resources support).
* Bump Dependencies: Updated tensorflow constraint to `>=2.16,<2.18`
  and explicitly added `dill>=0.4.1` to fix Apache Beam serialization
  crashes during local testing.
* Cleanup Build Macros: Removed legacy Python 2 pybind11 initialization
  symbols (`init%s`) from `build_macros.bzl`, keeping only `PyInit_%s`.

vkarampudi and others added 3 commits May 28, 2025 18:32
This commit modernizes the build environment and strips out dependencies
that block compilation on Python 3.12.

Specific changes include:
* Strip ZetaSQL: Removed zetasql and six_archive from `WORKSPACE`.
  Deleted `sql_util` and `statistics_sql` C++ submodules and their
  pybind11 hooks, as ZetaSQL compilation fails in this environment.
* Modernize PyArrow: Relaxed pyarrow constraints to `>=14,<22` for
  Python >= 3.11 to avoid downloading and building legacy Arrow 10
  source code (which lacks modern setuptools/pkg_resources support).
* Bump Dependencies: Updated tensorflow constraint to `>=2.16,<2.18`
  and explicitly added `dill>=0.4.1` to fix Apache Beam serialization
  crashes during local testing.
* Cleanup Build Macros: Removed legacy Python 2 pybind11 initialization
  symbols (`init%s`) from `build_macros.bzl`, keeping only `PyInit_%s`.
@pritamdodeja
Copy link
Author

There were some conflicts, which I've resolved, am open to any changes maintainers want to suggest/make. My build environment is likely different than the environment which produces the whls, and would like to understand the build/test process better.

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.

2 participants