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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.1
rev: v0.14.2
hooks:
- id: ruff-check
types: [file]
Expand All @@ -46,7 +46,7 @@ repos:
hooks:
- id: sphinx-lint
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.15.2
rev: v1.16.0
hooks:
- id: zizmor
- repo: local
Expand All @@ -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.9.4
rev: 0.9.5
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 @@ -2,37 +2,37 @@
# uv pip compile --universal --python-version=3.11 docs-requirements.in -o docs-requirements.txt
alabaster==1.0.0
# via sphinx
attrs==25.3.0
attrs==25.4.0
# via
# -r docs-requirements.in
# outcome
babel==2.17.0
# via sphinx
beautifulsoup4==4.14.2
# via sphinx-codeautolink
certifi==2025.8.3
certifi==2025.10.5
# via requests
cffi==2.0.0 ; os_name == 'nt' or platform_python_implementation != 'PyPy'
# via
# -r docs-requirements.in
# cryptography
charset-normalizer==3.4.3
charset-normalizer==3.4.4
# via requests
click==8.3.0
# via towncrier
colorama==0.4.6 ; sys_platform == 'win32'
# via
# click
# sphinx
cryptography==46.0.1
cryptography==46.0.3
# via pyopenssl
docutils==0.21.2
# via
# sphinx
# sphinx-rtd-theme
exceptiongroup==1.3.0
# via -r docs-requirements.in
idna==3.10
idna==3.11
# via
# -r docs-requirements.in
# requests
Expand Down
4 changes: 4 additions & 0 deletions src/trio/_tests/test_exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,10 @@ def lookup_symbol(symbol: str) -> dict[str, Any]: # type: ignore[misc, explicit
extra = {e for e in extra if not e.endswith("AttrsAttributes__")}
assert len(extra) == before - 1

if attrs.has(class_):
# dynamically created attribute by attrs?
missing.remove("__attrs_props__")

# dir does not see `__signature__` on enums until 3.14
if (
tool == "mypy"
Expand Down
61 changes: 40 additions & 21 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,29 @@ alabaster==1.0.0 ; python_full_version >= '3.10'
# via sphinx
astor==0.8.1
# via -r test-requirements.in
astroid==3.3.11
astroid==3.3.11 ; python_full_version < '3.10'
# via pylint
astroid==4.0.1 ; python_full_version >= '3.10'
# via pylint
async-generator==1.10
# via -r test-requirements.in
attrs==25.3.0
attrs==25.4.0
# via
# -r test-requirements.in
# outcome
babel==2.17.0
# via sphinx
black==25.9.0 ; implementation_name == 'cpython'
# via -r test-requirements.in
certifi==2025.8.3
certifi==2025.10.5
# via requests
cffi==2.0.0 ; os_name == 'nt' or platform_python_implementation != 'PyPy'
# via
# -r test-requirements.in
# cryptography
cfgv==3.4.0
# via pre-commit
charset-normalizer==3.4.3
charset-normalizer==3.4.4
# via requests
click==8.1.8 ; python_full_version < '3.10' and implementation_name == 'cpython'
# via black
Expand All @@ -40,9 +42,11 @@ colorama==0.4.6 ; sys_platform == 'win32'
# pylint
# pytest
# sphinx
coverage==7.10.7
coverage==7.10.7 ; python_full_version < '3.10'
# via -r test-requirements.in
coverage==7.11.0 ; python_full_version >= '3.10'
# via -r test-requirements.in
cryptography==46.0.1
cryptography==46.0.3
# via
# -r test-requirements.in
# pyopenssl
Expand All @@ -58,22 +62,30 @@ exceptiongroup==1.3.0 ; python_full_version < '3.11'
# via
# -r test-requirements.in
# pytest
filelock==3.19.1
filelock==3.19.1 ; python_full_version < '3.10'
# via virtualenv
identify==2.6.14
filelock==3.20.0 ; python_full_version >= '3.10'
# via virtualenv
identify==2.6.15
# via pre-commit
idna==3.10
idna==3.11
# via
# -r test-requirements.in
# requests
# trustme
imagesize==1.4.1
# via sphinx
importlib-metadata==8.7.0 ; python_full_version < '3.10'
# via sphinx
iniconfig==2.1.0
# via
# isort
# sphinx
iniconfig==2.1.0 ; python_full_version < '3.10'
# via pytest
iniconfig==2.3.0 ; python_full_version >= '3.10'
# via pytest
isort==6.0.1
isort==6.1.0 ; python_full_version < '3.10'
# via pylint
isort==7.0.0 ; python_full_version >= '3.10'
# via pylint
jedi==0.19.2 ; implementation_name == 'cpython'
# via -r test-requirements.in
Expand Down Expand Up @@ -109,7 +121,12 @@ pathspec==0.12.1
# via
# black
# mypy
platformdirs==4.4.0
platformdirs==4.4.0 ; python_full_version < '3.10'
# via
# black
# pylint
# virtualenv
platformdirs==4.5.0 ; python_full_version >= '3.10'
# via
# black
# pylint
Expand All @@ -124,23 +141,25 @@ pygments==2.19.2
# via
# pytest
# sphinx
pylint==3.3.8
pylint==3.3.9 ; python_full_version < '3.10'
# via -r test-requirements.in
pylint==4.0.2 ; python_full_version >= '3.10'
# via -r test-requirements.in
pyopenssl==25.3.0
# via -r test-requirements.in
pyright==1.1.405
pyright==1.1.406
# via -r test-requirements.in
pytest==8.4.2
# via -r test-requirements.in
pytokens==0.1.10 ; implementation_name == 'cpython'
pytokens==0.2.0 ; implementation_name == 'cpython'
# via black
pyyaml==6.0.3
# via pre-commit
requests==2.32.5
# via sphinx
roman-numerals-py==3.1.0 ; python_full_version >= '3.11'
# via sphinx
ruff==0.14.1
ruff==0.14.2
# via -r test-requirements.in
sniffio==1.3.1
# via -r test-requirements.in
Expand All @@ -166,7 +185,7 @@ sphinxcontrib-qthelp==2.0.0
# via sphinx
sphinxcontrib-serializinghtml==2.0.0
# via sphinx
tomli==2.2.1 ; python_full_version < '3.11'
tomli==2.3.0 ; python_full_version < '3.11'
# via
# black
# mypy
Expand All @@ -181,7 +200,7 @@ types-cffi==1.17.0.20250915
# via
# -r test-requirements.in
# types-pyopenssl
types-docutils==0.22.2.20250924
types-docutils==0.22.2.20251006
# via -r test-requirements.in
types-pyopenssl==24.1.0.20240722
# via -r test-requirements.in
Expand All @@ -203,9 +222,9 @@ typing-extensions==4.15.0
# virtualenv
urllib3==2.5.0
# via requests
uv==0.9.4
uv==0.9.5
# via -r test-requirements.in
virtualenv==20.34.0
virtualenv==20.35.3
# via pre-commit
zipp==3.23.0 ; python_full_version < '3.10'
# via importlib-metadata