Skip to content

Commit fe41c55

Browse files
committed
feat: add python 3.14 support
1 parent c4b6c9c commit fe41c55

5 files changed

Lines changed: 8 additions & 6 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/devcontainers/python:3.13@sha256:c5c4c77e2919476f2e25998c4d9f73f489f3834197778132975f31a991623746
1+
FROM mcr.microsoft.com/devcontainers/python:3.14@sha256:43311767f101e1c2a7bd0ecacf2c866f5c42124fc2efe45bb384eb2995ecce4d
22

33
RUN \
44
pipx uninstall mypy \

.github/workflows/pre-commit-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
2020
with:
21-
python-version: '3.13'
21+
python-version: '3.14'
2222

2323
- name: Install Hatch
2424
uses: pypa/hatch@install

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
1717
with:
18-
python-version: "3.13"
18+
python-version: "3.14"
1919

2020
- name: Install Hatch
2121
uses: pypa/hatch@install

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- '3.11'
3131
- '3.12'
3232
- '3.13'
33+
- '3.14'
3334
name: "Test on ${{matrix.os}} with Python ${{matrix.python-version}}"
3435
steps:
3536
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
2121
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2223
]
2324
dependencies = ["typing-extensions", "regex>=2024"]
2425

@@ -60,7 +61,7 @@ run-cov = "coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}"
6061
cov-combine = "coverage combine"
6162
cov-report = ["coverage report --show-missing --skip-covered", "coverage xml"]
6263
[[tool.hatch.envs.hatch-test.matrix]]
63-
python = ["3.13", "3.12", "3.11", "3.10"]
64+
python = ["3.14", "3.13", "3.12", "3.11", "3.10"]
6465

6566
[tool.hatch.envs.types]
6667
extra-dependencies = ["mypy==1.18.2"]
@@ -192,8 +193,8 @@ enable_error_code = [
192193
ignore_missing_imports = true
193194

194195
[tool.pytest.ini_options]
195-
minversion = "6.0"
196-
addopts = "--doctest-modules"
196+
minversion = "8.0"
197+
addopts = ["--doctest-modules"]
197198
testpaths = ["polymatch", "tests"]
198199
filterwarnings = ["error"]
199200

0 commit comments

Comments
 (0)