Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ repos:
- id: sort-simple-yaml
files: .pre-commit-config.yaml
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.5.0
rev: 26.5.1
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.13
rev: v0.15.15
hooks:
- id: ruff-check
types: [file]
Expand All @@ -38,7 +38,7 @@ repos:
# tomli needed on 3.10. tomllib is available in stdlib on 3.11+
- tomli
- repo: https://github.com/adhtruong/mirrors-typos
rev: v1.46.2
rev: v1.47.0
hooks:
- id: typos
- repo: https://github.com/sphinx-contrib/sphinx-lint
Expand Down Expand Up @@ -73,7 +73,7 @@ repos:
additional_dependencies: ["pyyaml"]
files: ^(test-requirements\.txt)|(\.pre-commit-config\.yaml)$
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.14
rev: 0.11.17
hooks:
# Compile requirements
- id: pip-compile
Expand Down
10 changes: 5 additions & 5 deletions docs-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ babel==2.18.0
# via sphinx
beautifulsoup4==4.14.3
# via sphinx-codeautolink
certifi==2026.4.22
certifi==2026.5.20
# via requests
cffi==2.0.0 ; os_name == 'nt' or platform_python_implementation != 'PyPy'
# via
# -r docs-requirements.in
# cryptography
charset-normalizer==3.4.7
# via requests
click==8.4.0
click==8.4.1
# via towncrier
colorama==0.4.6 ; sys_platform == 'win32'
# via
Expand All @@ -32,7 +32,7 @@ docutils==0.22.4
# sphinx-rtd-theme
exceptiongroup==1.3.1
# via -r docs-requirements.in
idna==3.15
idna==3.17
# via
# -r docs-requirements.in
# requests
Expand Down Expand Up @@ -63,11 +63,11 @@ roman-numerals==4.1.0
# via sphinx
sniffio==1.3.1
# via -r docs-requirements.in
snowballstemmer==3.0.1
snowballstemmer==3.1.0
# via sphinx
sortedcontainers==2.4.0
# via -r docs-requirements.in
soupsieve==2.8.3
soupsieve==2.8.4
# via beautifulsoup4
sphinx==9.0.4 ; python_full_version < '3.12'
# via
Expand Down
1 change: 0 additions & 1 deletion src/trio/_core/_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@

# for some strange reason Sphinx works with outcome.Outcome, but not Outcome, in
# start_guest_run. Same with types.FrameType in iter_await_frames
import outcome
from typing_extensions import Self, TypeVar, TypeVarTuple, Unpack

PosArgT = TypeVarTuple("PosArgT")
Expand Down
1 change: 0 additions & 1 deletion src/trio/_core/_tests/test_ki.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import sys
import threading
import weakref
from collections.abc import AsyncIterator, Callable, Iterator
from typing import TYPE_CHECKING, TypeVar

import outcome
Expand Down
2 changes: 1 addition & 1 deletion src/trio/_tests/test_dtls.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async def echo_handler(dtls_channel: DTLSChannel) -> None:

await nursery.start(server.serve, server_ctx, echo_handler)

yield server, server.socket.getsockname()
yield server, server.socket.getsockname() # noqa: RUF075

if autocancel:
nursery.cancel_scope.cancel()
Expand Down
2 changes: 1 addition & 1 deletion src/trio/_tests/test_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async def run_process_in_nursery( # type: ignore[misc, explicit-any]
value = await nursery.start(partial(run_process, *args, **kwargs))
assert isinstance(value, Process)
proc: Process = value
yield proc
yield proc # noqa: RUF075
nursery.cancel_scope.cancel()


Expand Down
1 change: 0 additions & 1 deletion src/trio/_tests/tools/test_sync_requirements.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from __future__ import annotations

from pathlib import Path
from typing import TYPE_CHECKING

from trio._tests.pytest_plugin import skip_if_optional_else_raise
Expand Down
30 changes: 15 additions & 15 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ attrs==26.1.0
# outcome
babel==2.18.0
# via sphinx
black==26.5.0 ; implementation_name == 'cpython'
black==26.5.1 ; implementation_name == 'cpython'
# via -r test-requirements.in
certifi==2026.4.22
certifi==2026.5.20
# via requests
cffi==2.0.0 ; os_name == 'nt' or platform_python_implementation != 'PyPy'
# via
Expand All @@ -28,7 +28,7 @@ cfgv==3.5.0
# via pre-commit
charset-normalizer==3.4.7
# via requests
click==8.4.0 ; implementation_name == 'cpython'
click==8.4.1 ; implementation_name == 'cpython'
# via black
codespell==2.4.2
# via -r test-requirements.in
Expand All @@ -38,7 +38,7 @@ colorama==0.4.6 ; sys_platform == 'win32'
# pylint
# pytest
# sphinx
coverage==7.14.0
coverage==7.14.1
# via -r test-requirements.in
cryptography==48.0.0
# via
Expand All @@ -64,7 +64,7 @@ filelock==3.29.0
# virtualenv
identify==2.6.19
# via pre-commit
idna==3.15
idna==3.17
# via
# -r test-requirements.in
# requests
Expand Down Expand Up @@ -109,7 +109,7 @@ pathspec==1.1.1 ; implementation_name == 'cpython'
# via
# black
# mypy
platformdirs==4.9.6
platformdirs==4.10.0
# via
# black
# pylint
Expand All @@ -133,7 +133,7 @@ pyright==1.1.409
# via -r test-requirements.in
pytest==9.0.3
# via -r test-requirements.in
python-discovery==1.3.1
python-discovery==1.4.0
# via virtualenv
pytokens==0.4.1 ; implementation_name == 'cpython'
# via black
Expand All @@ -143,11 +143,11 @@ requests==2.34.2
# via sphinx
roman-numerals==4.1.0 ; python_full_version >= '3.11'
# via sphinx
ruff==0.15.13
ruff==0.15.15
# via -r test-requirements.in
sniffio==1.3.1
# via -r test-requirements.in
snowballstemmer==3.0.1
snowballstemmer==3.1.0
# via sphinx
sortedcontainers==2.4.0
# via -r test-requirements.in
Expand Down Expand Up @@ -180,17 +180,17 @@ tomlkit==0.15.0
# via pylint
trustme==1.2.1
# via -r test-requirements.in
types-cffi==2.0.0.20260508
types-cffi==2.0.0.20260518
# via
# -r test-requirements.in
# types-pyopenssl
types-docutils==0.22.3.20260508
types-docutils==0.22.3.20260518
# via -r test-requirements.in
types-pyopenssl==24.1.0.20240722
# via -r test-requirements.in
types-pyyaml==6.0.12.20260510
types-pyyaml==6.0.12.20260518
# via -r test-requirements.in
types-setuptools==82.0.0.20260508
types-setuptools==82.0.0.20260518
# via types-cffi
typing-extensions==4.15.0
# via
Expand All @@ -205,7 +205,7 @@ typing-extensions==4.15.0
# virtualenv
urllib3==2.7.0
# via requests
uv==0.11.14
uv==0.11.17
# via -r test-requirements.in
virtualenv==21.3.3
virtualenv==21.4.2
# via pre-commit
Loading