Skip to content

Commit

Permalink
Merge pull request #3180 from python-trio/autodeps/bump_from_7084b5
Browse files Browse the repository at this point in the history
Bump dependencies from commit 7084b5
  • Loading branch information
A5rocks authored Jan 1, 2025
2 parents 7084b56 + 93d08af commit 5658426
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 26 deletions.
12 changes: 6 additions & 6 deletions docs-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
# uv pip compile --universal --python-version=3.11 docs-requirements.in -o docs-requirements.txt
alabaster==1.0.0
# via sphinx
attrs==24.2.0
attrs==24.3.0
# via
# -r docs-requirements.in
# outcome
babel==2.16.0
# via sphinx
beautifulsoup4==4.12.3
# via sphinx-codeautolink
certifi==2024.8.30
certifi==2024.12.14
# via requests
cffi==1.17.1 ; os_name == 'nt' or platform_python_implementation != 'PyPy'
# via
# -r docs-requirements.in
# cryptography
charset-normalizer==3.4.0
charset-normalizer==3.4.1
# via requests
click==8.1.7
click==8.1.8
# via towncrier
colorama==0.4.6 ; sys_platform == 'win32'
# via
Expand All @@ -40,7 +40,7 @@ imagesize==1.4.1
# via sphinx
immutables==0.21
# via -r docs-requirements.in
jinja2==3.1.4
jinja2==3.1.5
# via
# -r docs-requirements.in
# sphinx
Expand Down Expand Up @@ -102,5 +102,5 @@ sphinxcontrib-trio==1.1.2
# via -r docs-requirements.in
towncrier==24.8.0
# via -r docs-requirements.in
urllib3==2.2.3
urllib3==2.3.0
# via requests
6 changes: 3 additions & 3 deletions src/trio/_core/_concat_tb.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ def copy_tb(base_tb: TracebackType, tb_next: TracebackType | None) -> TracebackT
# which it already is, so we're done. Otherwise, we have to actually
# do some work:
if tb_next is not None:
_ctypes.Py_INCREF(tb_next) # type: ignore[attr-defined]
_ctypes.Py_INCREF(tb_next)
c_new_tb.tb_next = id(tb_next)

assert c_new_tb.tb_frame is not None
_ctypes.Py_INCREF(base_tb.tb_frame) # type: ignore[attr-defined]
_ctypes.Py_INCREF(base_tb.tb_frame)
old_tb_frame = new_tb.tb_frame
c_new_tb.tb_frame = id(base_tb.tb_frame)
_ctypes.Py_DECREF(old_tb_frame) # type: ignore[attr-defined]
_ctypes.Py_DECREF(old_tb_frame)

c_new_tb.tb_lasti = base_tb.tb_lasti
c_new_tb.tb_lineno = base_tb.tb_lineno
Expand Down
3 changes: 3 additions & 0 deletions src/trio/_tests/test_exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,9 @@ def lookup_symbol(symbol: str) -> dict[str, str]:
):
missing.remove("with_segments")

if sys.version_info >= (3, 13) and attrs.has(class_):
missing.remove("__replace__")

if missing or extra: # pragma: no cover
errors[f"{module_name}.{class_name}"] = {
"missing": missing,
Expand Down
2 changes: 1 addition & 1 deletion src/trio/socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
globals().update(
{
_name: getattr(_stdlib_socket, _name)
for _name in _stdlib_socket.__all__ # type: ignore
for _name in _stdlib_socket.__all__
if _name.isupper() and _name not in _bad_symbols
},
)
Expand Down
32 changes: 16 additions & 16 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@ alabaster==0.7.16
# via sphinx
astor==0.8.1
# via -r test-requirements.in
astroid==3.3.5
astroid==3.3.8
# via pylint
async-generator==1.10
# via -r test-requirements.in
attrs==24.2.0
attrs==24.3.0
# via
# -r test-requirements.in
# outcome
babel==2.16.0
# via sphinx
black==24.10.0 ; implementation_name == 'cpython'
# via -r test-requirements.in
certifi==2024.8.30
certifi==2024.12.14
# via requests
cffi==1.17.1 ; 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.0
charset-normalizer==3.4.1
# via requests
click==8.1.7 ; implementation_name == 'cpython'
click==8.1.8 ; implementation_name == 'cpython'
# via black
codespell==2.3.0
# via -r test-requirements.in
Expand All @@ -36,7 +36,7 @@ colorama==0.4.6 ; sys_platform == 'win32'
# pylint
# pytest
# sphinx
coverage==7.6.8
coverage==7.6.10
# via -r test-requirements.in
cryptography==43.0.3
# via
Expand All @@ -56,7 +56,7 @@ exceptiongroup==1.2.2 ; python_full_version < '3.11'
# pytest
filelock==3.16.1
# via virtualenv
identify==2.6.3
identify==2.6.4
# via pre-commit
idna==3.10
# via
Expand All @@ -73,13 +73,13 @@ isort==5.13.2
# via pylint
jedi==0.19.2 ; implementation_name == 'cpython'
# via -r test-requirements.in
jinja2==3.1.4
jinja2==3.1.5
# via sphinx
markupsafe==3.0.2
# via jinja2
mccabe==0.7.0
# via pylint
mypy==1.13.0
mypy==1.14.1
# via -r test-requirements.in
mypy-extensions==1.0.0
# via
Expand All @@ -90,7 +90,7 @@ nodeenv==1.9.1
# via
# pre-commit
# pyright
orjson==3.10.12 ; implementation_name == 'cpython'
orjson==3.10.13 ; implementation_name == 'cpython'
# via -r test-requirements.in
outcome==1.3.0.post0
# via -r test-requirements.in
Expand All @@ -116,13 +116,13 @@ pycparser==2.22 ; os_name == 'nt' or platform_python_implementation != 'PyPy'
# via cffi
pygments==2.18.0
# via sphinx
pylint==3.3.1
pylint==3.3.3
# via -r test-requirements.in
pyopenssl==24.2.1
# via -r test-requirements.in
pyright==1.1.389
pyright==1.1.391
# via -r test-requirements.in
pytest==8.3.3
pytest==8.3.4
# via -r test-requirements.in
pyyaml==6.0.2
# via pre-commit
Expand Down Expand Up @@ -161,15 +161,15 @@ tomlkit==0.13.2
# via pylint
trustme==1.2.0
# via -r test-requirements.in
types-cffi==1.16.0.20240331
types-cffi==1.16.0.20241221
# via
# -r test-requirements.in
# types-pyopenssl
types-docutils==0.21.0.20241128
# via -r test-requirements.in
types-pyopenssl==24.1.0.20240722
# via -r test-requirements.in
types-setuptools==75.6.0.20241126
types-setuptools==75.6.0.20241223
# via types-cffi
typing-extensions==4.12.2
# via
Expand All @@ -179,7 +179,7 @@ typing-extensions==4.12.2
# mypy
# pylint
# pyright
urllib3==2.2.3
urllib3==2.3.0
# via requests
uv==0.5.13
# via -r test-requirements.in
Expand Down

0 comments on commit 5658426

Please sign in to comment.