mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 20:45:49 +08:00
[CI] Run stubtest with Python 3.13 (#13638)
This commit is contained in:
@@ -66,7 +66,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
python-version: "3.13"
|
||||
cache: pip
|
||||
cache-dependency-path: |
|
||||
requirements-tests.txt
|
||||
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
python-version: "3.13"
|
||||
cache: pip
|
||||
cache-dependency-path: |
|
||||
requirements-tests.txt
|
||||
|
||||
@@ -1,2 +1,6 @@
|
||||
version = "0.10.*"
|
||||
upstream_repository = "https://github.com/natasha/corus"
|
||||
|
||||
[tool.stubtest]
|
||||
# As of version 0.10.0, corus doesn't support Python 3.13.
|
||||
skip = true
|
||||
|
||||
@@ -3,3 +3,5 @@ upstream_repository = "https://github.com/xolox/python-humanfriendly"
|
||||
|
||||
[tool.stubtest]
|
||||
stubtest_requirements = ["docutils", "mock"]
|
||||
# Package is unsupported and doesn't support Python 3.13 as of 2025-03-17.
|
||||
skip = true
|
||||
|
||||
@@ -90,3 +90,8 @@ passlib.utils.compat.*
|
||||
|
||||
# Tests are not included:
|
||||
passlib.tests.*
|
||||
|
||||
# This is only available when the crypt module is available. This module
|
||||
# was dropped from the standard library of Python 3.13, but is still available
|
||||
# in some environments.
|
||||
(passlib.hosts.host_context)?
|
||||
|
||||
@@ -5,3 +5,5 @@ obsolete_since = "1.16.0" # Released on 2024-10-11
|
||||
|
||||
[tool.stubtest]
|
||||
platforms = ["darwin", "linux", "win32"]
|
||||
# Does not build on any platform on Python 3.13 as of 2025-03-17.
|
||||
skip = true
|
||||
|
||||
@@ -10,3 +10,6 @@ partial_stub = true
|
||||
ignore_missing_stub = true
|
||||
# TODO: Support/update to keras 3.7
|
||||
stubtest_requirements = ["keras==3.6.*"]
|
||||
# tensorflow 2.19 doesn't support Python 3.13:
|
||||
# https://github.com/tensorflow/tensorflow/issues/78774
|
||||
skip = true
|
||||
|
||||
@@ -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,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"]
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
version = "1.10.*"
|
||||
upstream_repository = "https://github.com/grantjenks/py-tree-sitter-languages"
|
||||
requires = ["tree-sitter>=0.20.3"]
|
||||
|
||||
[tool.stubtest]
|
||||
# This package is unmaintained and doesn't support Python 3.13.
|
||||
# See https://github.com/grantjenks/py-tree-sitter-languages/issues/75 and
|
||||
# https://github.com/grantjenks/py-tree-sitter-languages/blob/main/README.rst#status
|
||||
skip = true
|
||||
|
||||
Reference in New Issue
Block a user