Skip to content

Commit 4f54774

Browse files
Dependency updates (#3292)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 256522a commit 4f54774

File tree

4 files changed

+23
-25
lines changed

4 files changed

+23
-25
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
hooks:
2525
- id: black
2626
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: v0.11.13
27+
rev: v0.12.0
2828
hooks:
2929
- id: ruff-check
3030
types: [file]

docs-requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ babel==2.17.0
1010
# via sphinx
1111
beautifulsoup4==4.13.4
1212
# via sphinx-codeautolink
13-
certifi==2025.4.26
13+
certifi==2025.6.15
1414
# via requests
1515
cffi==1.17.1 ; os_name == 'nt' or platform_python_implementation != 'PyPy'
1616
# via
@@ -24,7 +24,7 @@ colorama==0.4.6 ; sys_platform == 'win32'
2424
# via
2525
# click
2626
# sphinx
27-
cryptography==45.0.3
27+
cryptography==45.0.4
2828
# via pyopenssl
2929
docutils==0.21.2
3030
# via
@@ -57,7 +57,7 @@ pygments==2.19.1
5757
# via sphinx
5858
pyopenssl==25.1.0
5959
# via -r docs-requirements.in
60-
requests==2.32.3
60+
requests==2.32.4
6161
# via sphinx
6262
roman-numerals-py==3.1.0
6363
# via sphinx
@@ -100,10 +100,10 @@ sphinxcontrib-trio==1.1.2
100100
# via -r docs-requirements.in
101101
towncrier==24.8.0
102102
# via -r docs-requirements.in
103-
typing-extensions==4.13.2
103+
typing-extensions==4.14.0
104104
# via
105105
# beautifulsoup4
106106
# exceptiongroup
107107
# pyopenssl
108-
urllib3==2.4.0
108+
urllib3==2.5.0
109109
# via requests

src/trio/_tests/test_testing_raisesgroup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import re
44
import sys
55
from types import TracebackType
6-
from typing import TYPE_CHECKING
76

87
import pytest
98

@@ -14,17 +13,14 @@
1413
if sys.version_info < (3, 11):
1514
from exceptiongroup import BaseExceptionGroup, ExceptionGroup
1615

17-
if TYPE_CHECKING:
18-
from _pytest.python_api import RaisesContext
19-
2016

2117
def wrap_escape(s: str) -> str:
2218
return "^" + re.escape(s) + "$"
2319

2420

2521
def fails_raises_group(
2622
msg: str, add_prefix: bool = True
27-
) -> RaisesContext[AssertionError]:
23+
) -> pytest.RaisesExc[AssertionError]:
2824
assert (
2925
msg[-1] != "\n"
3026
), "developer error, expected string should not end with newline"

test-requirements.txt

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ babel==2.17.0
1818
# via sphinx
1919
black==25.1.0 ; implementation_name == 'cpython'
2020
# via -r test-requirements.in
21-
certifi==2025.4.26
21+
certifi==2025.6.15
2222
# via requests
2323
cffi==1.17.1 ; os_name == 'nt' or platform_python_implementation != 'PyPy'
2424
# via
@@ -40,9 +40,9 @@ colorama==0.4.6 ; sys_platform == 'win32'
4040
# pylint
4141
# pytest
4242
# sphinx
43-
coverage==7.8.2
43+
coverage==7.9.1
4444
# via -r test-requirements.in
45-
cryptography==45.0.3
45+
cryptography==45.0.4
4646
# via
4747
# -r test-requirements.in
4848
# pyopenssl
@@ -83,7 +83,7 @@ markupsafe==3.0.2
8383
# via jinja2
8484
mccabe==0.7.0
8585
# via pylint
86-
mypy==1.16.0
86+
mypy==1.16.1
8787
# via -r test-requirements.in
8888
mypy-extensions==1.1.0
8989
# via
@@ -121,22 +121,24 @@ pre-commit==4.2.0
121121
pycparser==2.22 ; os_name == 'nt' or platform_python_implementation != 'PyPy'
122122
# via cffi
123123
pygments==2.19.1
124-
# via sphinx
124+
# via
125+
# pytest
126+
# sphinx
125127
pylint==3.3.7
126128
# via -r test-requirements.in
127129
pyopenssl==25.1.0
128130
# via -r test-requirements.in
129-
pyright==1.1.400
131+
pyright==1.1.402
130132
# via -r test-requirements.in
131-
pytest==8.3.5
133+
pytest==8.4.1
132134
# via -r test-requirements.in
133135
pyyaml==6.0.2
134136
# via pre-commit
135-
requests==2.32.3
137+
requests==2.32.4
136138
# via sphinx
137139
roman-numerals-py==3.1.0 ; python_full_version >= '3.11'
138140
# via sphinx
139-
ruff==0.11.13
141+
ruff==0.12.0
140142
# via -r test-requirements.in
141143
sniffio==1.3.1
142144
# via -r test-requirements.in
@@ -169,23 +171,23 @@ tomli==2.2.1 ; python_full_version < '3.11'
169171
# pylint
170172
# pytest
171173
# sphinx
172-
tomlkit==0.13.2
174+
tomlkit==0.13.3
173175
# via pylint
174176
trustme==1.2.1
175177
# via -r test-requirements.in
176178
types-cffi==1.17.0.20250523
177179
# via
178180
# -r test-requirements.in
179181
# types-pyopenssl
180-
types-docutils==0.21.0.20250526
182+
types-docutils==0.21.0.20250604
181183
# via -r test-requirements.in
182184
types-pyopenssl==24.1.0.20240722
183185
# via -r test-requirements.in
184186
types-pyyaml==6.0.12.20250516
185187
# via -r test-requirements.in
186188
types-setuptools==80.9.0.20250529
187189
# via types-cffi
188-
typing-extensions==4.13.2
190+
typing-extensions==4.14.0
189191
# via
190192
# -r test-requirements.in
191193
# astroid
@@ -195,11 +197,11 @@ typing-extensions==4.13.2
195197
# pylint
196198
# pyopenssl
197199
# pyright
198-
urllib3==2.4.0
200+
urllib3==2.5.0
199201
# via requests
200202
uv==0.7.13
201203
# via -r test-requirements.in
202204
virtualenv==20.31.2
203205
# via pre-commit
204-
zipp==3.22.0 ; python_full_version < '3.10'
206+
zipp==3.23.0 ; python_full_version < '3.10'
205207
# via importlib-metadata

0 commit comments

Comments
 (0)