[CI] Run stubtest with Python 3.13 (#13638)

This commit is contained in:
Sebastian Rittau
2025-03-18 13:36:15 +01:00
committed by GitHub
parent 882e8fd2b3
commit 414e6d2150
10 changed files with 32 additions and 3 deletions
+4
View File
@@ -6,3 +6,7 @@ tqdm._tqdm_notebook.__all__
# Cannot import in stubtest
tqdm.__main__
# TODO: Reenable when tensorflow supports Python 3.13 and is added to the
# stubtest dependencies in METADATA.toml.
tqdm.keras
+4 -1
View File
@@ -4,4 +4,7 @@ requires = ["types-requests"]
[tool.stubtest]
extras = ["slack", "telegram"]
stubtest_requirements = ["dask", "pandas", "rich", "tensorflow"]
# Add `"tensorflow"` to this list when there's a tensorflow release supporting
# Python 3.13: https://github.com/tensorflow/tensorflow/issues/78774.
# Also remove tqdm.keras from @tests/stubtest_allowlist.txt.
stubtest_requirements = ["dask", "pandas", "rich"]