Skip to content

Commit cec788a

Browse files
committed
Support Python 3.14
1 parent 41eb1a6 commit cec788a

8 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/daily.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
matrix:
3737
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
38-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
38+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
3939
fail-fast: false
4040

4141
steps:

.github/workflows/stubtest_stdlib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
matrix:
3333
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
34-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
34+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
3535
fail-fast: false
3636

3737
steps:

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
strategy:
6262
matrix:
6363
platform: ["linux", "win32", "darwin"]
64-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
64+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
6565
fail-fast: false
6666
steps:
6767
- uses: actions/checkout@v4
@@ -92,7 +92,7 @@ jobs:
9292
strategy:
9393
matrix:
9494
python-platform: ["Linux", "Windows", "Darwin"]
95-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
95+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
9696
fail-fast: false
9797
steps:
9898
- uses: actions/checkout@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ the project the stubs are for, but instead report them here to typeshed.**
2121
Further documentation on stub files, typeshed, and Python's typing system in
2222
general, can also be found at https://typing.readthedocs.io/en/latest/.
2323

24-
Typeshed supports Python versions 3.9 to 3.13.
24+
Typeshed supports Python versions 3.9 to 3.14.
2525

2626
## Using
2727

tests/mypy_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
print_error("Cannot import mypy. Did you install it?")
4545
sys.exit(1)
4646

47-
SUPPORTED_VERSIONS = ["3.13", "3.12", "3.11", "3.10", "3.9"]
47+
SUPPORTED_VERSIONS = ["3.14", "3.13", "3.12", "3.11", "3.10", "3.9"]
4848
SUPPORTED_PLATFORMS = ("linux", "win32", "darwin")
4949
DIRECTORIES_TO_TEST = [STDLIB_PATH, STUBS_PATH]
5050

tests/regr_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
TYPESHED = "typeshed"
4242

4343
SUPPORTED_PLATFORMS = ["linux", "darwin", "win32"]
44-
SUPPORTED_VERSIONS = ["3.13", "3.12", "3.11", "3.10", "3.9"]
44+
SUPPORTED_VERSIONS = ["3.14", "3.13", "3.12", "3.11", "3.10", "3.9"]
4545

4646

4747
def distribution_with_test_cases(distribution_name: str) -> DistributionTests:

tests/runtests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def main() -> None:
5353
parser.add_argument(
5454
"--python-version",
5555
default=_PYTHON_VERSION,
56-
choices=("3.9", "3.10", "3.11", "3.12", "3.13"),
56+
choices=("3.9", "3.10", "3.11", "3.12", "3.13", "3.14"),
5757
help="Target Python version for the test (default: %(default)s).",
5858
)
5959
parser.add_argument("path", help="Path of the stub to test in format <folder>/<stub>, from the root of the project.")

tests/typecheck_typeshed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
ReturnCode: TypeAlias = int
1515

1616
SUPPORTED_PLATFORMS = ("linux", "darwin", "win32")
17-
SUPPORTED_VERSIONS = ("3.13", "3.12", "3.11", "3.10", "3.9")
17+
SUPPORTED_VERSIONS = ("3.14", "3.13", "3.12", "3.11", "3.10", "3.9")
1818
LOWEST_SUPPORTED_VERSION = min(SUPPORTED_VERSIONS, key=lambda x: int(x.split(".")[1]))
1919
DIRECTORIES_TO_TEST = ("scripts", "tests")
2020
EMPTY: list[str] = []

0 commit comments

Comments
 (0)