Skip to content

Commit 36b1420

Browse files
authored
Merge branch 'master' into feature/update-readme
2 parents 76f337f + e30ee89 commit 36b1420

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
12+
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1313

1414
steps:
1515
- name: Checkout
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
37+
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
3838
check_formatting: ['0']
3939
extra_name: ['']
4040
include:
@@ -70,7 +70,7 @@ jobs:
7070
strategy:
7171
fail-fast: false
7272
matrix:
73-
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
73+
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
7474
steps:
7575
- name: Checkout
7676
uses: actions/checkout@v4

.readthedocs.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ formats:
88
build:
99
os: ubuntu-22.04
1010
tools:
11-
python: "3"
11+
python: "3.13"
1212

1313
python:
1414
install:
1515
- requirements: ci/rtd-requirements.txt
1616
- method: pip
1717
path: .
18+
19+
sphinx:
20+
configuration: docs/source/conf.py

ci/rtd-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# RTD is currently installing 1.5.3, which has a bug in :lineno-match:
2-
sphinx >= 4.0, < 6.2
2+
sphinx >= 6.0
33
sphinx_rtd_theme
44
sphinxcontrib-trio

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ classifiers=[
2727
"Programming Language :: Python :: 3.10",
2828
"Programming Language :: Python :: 3.11",
2929
"Programming Language :: Python :: 3.12",
30+
"Programming Language :: Python :: 3.13",
3031
"Typing :: Typed",
3132
]
3233
requires-python = ">=3.8"

tests/type_tests.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ def sync_capture_test() -> None:
117117
assert_type(capture(sync_one, 3.14), Union[Value[int], Error])
118118
assert_type(capture(sync_one, param=3.14), Union[Value[int], Error])
119119
assert_type(capture(sync_raises), Error)
120-
capture(sync_one) # type: ignore[arg-type, call-arg]
121-
capture(sync_none, 1, 2) # type: ignore[arg-type, call-arg]
120+
capture(sync_one) # type: ignore[call-overload]
121+
capture(sync_none, 1, 2) # type: ignore[call-overload]
122122

123123

124124
async def sync_gen_test() -> None:
@@ -172,8 +172,8 @@ async def async_capture_test() -> None:
172172
await acapture(async_one, param=3.14), Union[Value[int], Error]
173173
)
174174
assert_type(await acapture(async_raises), Error)
175-
capture(async_one) # type: ignore[arg-type, call-arg]
176-
capture(async_none, 1, 2) # type: ignore[arg-type, call-arg]
175+
capture(async_one) # type: ignore[call-overload]
176+
capture(async_none, 1, 2) # type: ignore[call-overload]
177177

178178

179179
async def async_gen_test() -> None:

0 commit comments

Comments
 (0)