Skip to content

Commit

Permalink
Merge pull request #3198 from python-trio/autodeps/bump_from_d39444
Browse files Browse the repository at this point in the history
Bump dependencies from commit d39444
  • Loading branch information
A5rocks authored Feb 4, 2025
2 parents d39444a + 5afe77f commit 8a7674c
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 34 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,30 @@ repos:
- id: sort-simple-yaml
files: .pre-commit-config.yaml
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.3
rev: v0.9.4
hooks:
- id: ruff
types: [file]
types_or: [python, pyi, toml]
args: ["--show-fixes"]
- repo: https://github.com/codespell-project/codespell
rev: v2.4.0
rev: v2.4.1
hooks:
- id: codespell
- repo: https://github.com/crate-ci/typos
rev: dictgen-v0.3.1
rev: typos-dict-v0.12.4
hooks:
- id: typos
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v1.0.0
hooks:
- id: sphinx-lint
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.2.2
rev: v1.3.0
hooks:
- id: zizmor
- repo: local
Expand All @@ -56,7 +56,7 @@ repos:
additional_dependencies: ["astor", "attrs", "black", "ruff"]
files: ^src\/trio\/_core\/(_run|(_i(o_(common|epoll|kqueue|windows)|nstrumentation)))\.py$
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.5.24
rev: 0.5.26
hooks:
# Compile requirements
- id: pip-compile
Expand Down
3 changes: 2 additions & 1 deletion docs-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ exceptiongroup >= 1.0.0rc9
immutables >= 0.6

# types used in annotations
pyOpenSSL
# TODO: for some reason bumping this fails docs build
pyOpenSSL < 25.0.0
8 changes: 4 additions & 4 deletions docs-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# uv pip compile --universal --python-version=3.11 docs-requirements.in -o docs-requirements.txt
alabaster==1.0.0
# via sphinx
attrs==24.3.0
attrs==25.1.0
# via
# -r docs-requirements.in
# outcome
babel==2.16.0
# via sphinx
beautifulsoup4==4.12.3
# via sphinx-codeautolink
certifi==2024.12.14
certifi==2025.1.31
# via requests
cffi==1.17.1 ; os_name == 'nt' or platform_python_implementation != 'PyPy'
# via
Expand Down Expand Up @@ -53,7 +53,7 @@ packaging==24.2
# via sphinx
pycparser==2.22 ; os_name == 'nt' or platform_python_implementation != 'PyPy'
# via cffi
pygments==2.18.0
pygments==2.19.1
# via sphinx
pyopenssl==24.3.0
# via -r docs-requirements.in
Expand All @@ -75,7 +75,7 @@ sphinx==8.1.3
# sphinx-rtd-theme
# sphinxcontrib-jquery
# sphinxcontrib-trio
sphinx-codeautolink==0.15.2
sphinx-codeautolink==0.16.2
# via -r docs-requirements.in
sphinx-hoverxref==1.4.2
# via -r docs-requirements.in
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ combine-as-imports = true
fixture-parentheses = false

[tool.mypy]
python_version = "3.9"
python_version = "3.10"
files = ["src/trio/", "docs/source/*.py"]

# Be flexible about dependencies that don't have stubs yet (like pytest)
Expand Down
3 changes: 1 addition & 2 deletions src/trio/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Trio - A friendly Python library for async concurrency and I/O
"""
"""Trio - A friendly Python library for async concurrency and I/O"""

from __future__ import annotations

Expand Down
45 changes: 25 additions & 20 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --universal --python-version=3.9 test-requirements.in -o test-requirements.txt
alabaster==0.7.16
alabaster==0.7.16 ; python_full_version < '3.10'
# via sphinx
alabaster==1.0.0 ; python_full_version >= '3.10'
# via sphinx
astor==0.8.1
# via -r test-requirements.in
astroid==3.3.8
# via pylint
async-generator==1.10
# via -r test-requirements.in
attrs==24.3.0
attrs==25.1.0
# via
# -r test-requirements.in
# outcome
babel==2.16.0
# via sphinx
black==24.10.0 ; implementation_name == 'cpython'
black==25.1.0 ; implementation_name == 'cpython'
# via -r test-requirements.in
certifi==2024.12.14
certifi==2025.1.31
# via requests
cffi==1.17.1 ; os_name == 'nt' or platform_python_implementation != 'PyPy'
# via
Expand All @@ -28,7 +30,7 @@ charset-normalizer==3.4.1
# via requests
click==8.1.8 ; implementation_name == 'cpython'
# via black
codespell==2.4.0
codespell==2.4.1
# via -r test-requirements.in
colorama==0.4.6 ; sys_platform == 'win32'
# via
Expand All @@ -54,9 +56,9 @@ exceptiongroup==1.2.2 ; python_full_version < '3.11'
# via
# -r test-requirements.in
# pytest
filelock==3.16.1
filelock==3.17.0
# via virtualenv
identify==2.6.4
identify==2.6.6
# via pre-commit
idna==3.10
# via
Expand All @@ -65,11 +67,11 @@ idna==3.10
# trustme
imagesize==1.4.1
# via sphinx
importlib-metadata==8.5.0 ; python_full_version < '3.10'
importlib-metadata==8.6.1 ; python_full_version < '3.10'
# via sphinx
iniconfig==2.0.0
# via pytest
isort==5.13.2
isort==6.0.0
# via pylint
jedi==0.19.2 ; implementation_name == 'cpython'
# via -r test-requirements.in
Expand All @@ -90,7 +92,7 @@ nodeenv==1.9.1
# via
# pre-commit
# pyright
orjson==3.10.13 ; implementation_name == 'cpython'
orjson==3.10.15 ; implementation_name == 'cpython'
# via -r test-requirements.in
outcome==1.3.0.post0
# via -r test-requirements.in
Expand All @@ -110,33 +112,35 @@ platformdirs==4.3.6
# virtualenv
pluggy==1.5.0
# via pytest
pre-commit==4.0.1
pre-commit==4.1.0
# via -r test-requirements.in
pycparser==2.22 ; os_name == 'nt' or platform_python_implementation != 'PyPy'
# via cffi
pygments==2.18.0
pygments==2.19.1
# via sphinx
pylint==3.3.3
pylint==3.3.4
# via -r test-requirements.in
pyopenssl==24.3.0
pyopenssl==25.0.0
# via -r test-requirements.in
pyright==1.1.391
pyright==1.1.393
# via -r test-requirements.in
pytest==8.3.4
# via -r test-requirements.in
pyyaml==6.0.2
# via pre-commit
requests==2.32.3
# via sphinx
ruff==0.9.3
ruff==0.9.4
# via -r test-requirements.in
sniffio==1.3.1
# via -r test-requirements.in
snowballstemmer==2.2.0
# via sphinx
sortedcontainers==2.4.0
# via -r test-requirements.in
sphinx==7.4.7
sphinx==7.4.7 ; python_full_version < '3.10'
# via -r test-requirements.in
sphinx==8.1.3 ; python_full_version >= '3.10'
# via -r test-requirements.in
sphinxcontrib-applehelp==2.0.0
# via sphinx
Expand Down Expand Up @@ -169,7 +173,7 @@ 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.20241223
types-setuptools==75.8.0.20250110
# via types-cffi
typing-extensions==4.12.2
# via
Expand All @@ -178,12 +182,13 @@ typing-extensions==4.12.2
# black
# mypy
# pylint
# pyopenssl
# pyright
urllib3==2.3.0
# via requests
uv==0.5.24
uv==0.5.26
# via -r test-requirements.in
virtualenv==20.28.0
virtualenv==20.29.1
# via pre-commit
zipp==3.21.0 ; python_full_version < '3.10'
# via importlib-metadata

0 comments on commit 8a7674c

Please sign in to comment.