build: Enable macOS testing, upgrade zlib, add Python 3.13, and add .gitignore #60
+20
−9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR improves cross-platform support and build hygiene for the TensorFlow Metadata repository:
Changes
macOS CI Support: Enable continuous integration on macOS runners to catch platform-specific issues
test.ymlto run on bothubuntu-latestandmacos-latestwheels.ymlto build wheels on both Ubuntu and macOS platformsPython 3.13 Support: Add Python 3.13 to test and wheel build matrices
Zlib Upgrade: Upgrade zlib from 1.2.12 to 1.3.1
fdopenmacro redefinition)Repository Hygiene: Add
.gitignorefilebazel-bin,bazel-metadata,bazel-out,bazel-testlogs)*_pb2.py)tensorflow_metadata.egg-info/from being trackedMotivation
Testing
pip install -e .andpytestshould work on macOS after these changesRelated Issues
Fixes compilation issues on macOS Apple Silicon due to zlib/Clang compatibility.