tflite-micro/python
Ryan Kuester fe70be213c feat(pypi): add support for Python 3.12 and 3.13
Add build configuration for Python 3.12 and 3.13 to the PyPI package.
Update the BUILD file with new compatibility tags and config settings,
extend pypi_build.sh to accept the new Python versions, and add build
steps in the GitHub Actions workflow.

Fix whl_test.sh to rename wheels with unstamped variable names before
pip installation. The py_wheel rule creates the base :whl target with
literal stamp variables like _BUILD_EMBED_LABEL_ in the filename for
Bazel caching purposes. Pip 25.x, which ships with Python 3.12+,
strictly validates wheel filenames and rejects these as invalid version
specifiers. Use sed to replace the unstamped variables with a valid
placeholder version (0.0.0) for testing purposes.

Python 3.14 support is not included because Python 3.14 has not yet
been released (scheduled for October 2025).

Fixes: #3186
2025-09-30 12:10:28 -05:00
..
tests [CI] Fix build (#3194) 2025-09-19 20:48:22 +00:00
tflite_micro feat(pypi): add support for Python 3.12 and 3.13 2025-09-30 12:10:28 -05:00
BUILD build: add means of linking with C libs in Py packages (#1668) 2023-03-05 06:25:58 +00:00
py_namespace.bzl feat: build and test a Python distribution package tflite_micro (#2151) 2023-08-01 22:27:53 +00:00
py_pkg_cc_deps.bzl Fixing google3 presubmit buildify errors. (#1809) 2023-03-08 21:06:49 +00:00