Skip to content

Support Python 3.13 and 3.14 in Fiddle OSS packaging and GitHub CI. - #625

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1005042428
Oct 22, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1005042428

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Support Python 3.13 and 3.14 in Fiddle OSS packaging and GitHub CI.

  • Replace pytype_extensions.assert_type with typing_extensions.assert_type in tests and drop pytype from the testing extra, as pytype does not provide wheels past Python 3.12.
  • Gate seqio and tfds_nightly in setup.py with PEP 508 markers (python_version < "3.13" and sys_platform != "darwin"), since tensorflow-text is not available on Python 3.13+.
  • Use setuptools.find_namespace_packages(include=['fiddle', 'fiddle.*'], exclude=['*.testdata']) and package_data={'': ['testdata/*']} in setup.py so subpackages without __init__.py (fiddle.debug, fiddle._src.debug, fiddle._src.extensions.test_modules) and testdata/* files are included in built wheels and sdists.
  • Update python_requires to >=3.11, add Python 3.11–3.14 classifiers in setup.py, and expand the GitHub Actions test matrix in .github/workflows/testing.yaml to cover Python 3.11–3.14 (including building and testing the installed wheel on Python 3.14).

@copybara-service
copybara-service Bot force-pushed the test_1005042428 branch 3 times, most recently from 99083a6 to 8270221 Compare October 22, 2026 23:32
* Replace `pytype_extensions.assert_type` with `typing_extensions.assert_type` in tests and drop `pytype` from the `testing` extra, as `pytype` does not provide wheels past Python 3.12.
* Gate `seqio` and `tfds_nightly` in `setup.py` with PEP 508 markers (`python_version < "3.13" and sys_platform != "darwin"`), since `tensorflow-text` is not available on Python 3.13+.
* Use `setuptools.find_namespace_packages(include=['fiddle', 'fiddle.*'], exclude=['*.testdata'])` and `package_data={'': ['testdata/*']}` in `setup.py` so subpackages without `__init__.py` (`fiddle.debug`, `fiddle._src.debug`, `fiddle._src.extensions.test_modules`) and `testdata/*` files are included in built wheels and sdists.
* Update `python_requires` to `>=3.11`, add Python 3.11–3.14 classifiers in `setup.py`, and expand the GitHub Actions test matrix in `.github/workflows/testing.yaml` to cover Python 3.11–3.14 (including building and testing the installed wheel on Python 3.14).

PiperOrigin-RevId: 1005143707
@copybara-service
copybara-service Bot merged commit 1e99051 into main Oct 22, 2026
9 checks passed
@copybara-service
copybara-service Bot deleted the test_1005042428 branch October 22, 2026 23:36
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.

1 participant