Skip to content

Commit

Permalink
Bump dependencies from commit 9a1964 (#2978)
Browse files Browse the repository at this point in the history
* Dependency updates

* Empty commit to trigger CI

* Remove apparently now unused type ignore

* Revert "Remove apparently now unused type ignore"

This reverts commit 43cb927.

* Add a if TYPE_CHECKING
Explicity look for "win32" or "macos" to try to help mypy

* Try explicit sys.platform checks

* Revert changes and just ignore `unused-ignore`

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: CoolCat467 <[email protected]>
  • Loading branch information
github-actions[bot] and CoolCat467 authored Mar 30, 2024
1 parent 9a1964f commit c059de2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
10 changes: 5 additions & 5 deletions docs-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ imagesize==1.4.1
# via sphinx
immutables==0.20
# via -r docs-requirements.in
importlib-metadata==7.0.1
importlib-metadata==7.1.0
# via sphinx
importlib-resources==6.1.2
importlib-resources==6.4.0
# via towncrier
incremental==22.10.0
# via towncrier
Expand All @@ -51,13 +51,13 @@ markupsafe==2.1.5
# via jinja2
outcome==1.3.0.post0
# via -r docs-requirements.in
packaging==23.2
packaging==24.0
# via sphinx
pycparser==2.21
# via cffi
pygments==2.17.2
# via sphinx
pyopenssl==24.0.0
pyopenssl==24.1.0
# via -r docs-requirements.in
pytz==2024.1
# via babel
Expand Down Expand Up @@ -101,7 +101,7 @@ towncrier==23.11.0
# via -r docs-requirements.in
urllib3==2.2.1
# via requests
zipp==3.17.0
zipp==3.18.1
# via
# importlib-metadata
# importlib-resources
2 changes: 1 addition & 1 deletion src/trio/_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def _sniff_sockopts_for_fileno(
# and then we'll throw it away and construct a new one with the correct metadata.
if sys.platform != "linux":
return family, type_, proto
from socket import ( # type: ignore[attr-defined]
from socket import ( # type: ignore[attr-defined,unused-ignore]
SO_DOMAIN,
SO_PROTOCOL,
SO_TYPE,
Expand Down
34 changes: 17 additions & 17 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ attrs==23.2.0
# outcome
babel==2.14.0
# via sphinx
black==24.2.0 ; implementation_name == "cpython"
black==24.3.0 ; implementation_name == "cpython"
# via -r test-requirements.in
build==1.1.1
build==1.2.1
# via pip-tools
certifi==2024.2.2
# via requests
Expand All @@ -34,7 +34,7 @@ click==8.1.7
# pip-tools
codespell==2.2.6
# via -r test-requirements.in
coverage==7.4.3
coverage==7.4.4
# via -r test-requirements.in
cryptography==42.0.5
# via
Expand All @@ -57,7 +57,7 @@ idna==3.6
# trustme
imagesize==1.4.1
# via sphinx
importlib-metadata==7.0.1
importlib-metadata==7.1.0
# via
# build
# sphinx
Expand All @@ -73,7 +73,7 @@ markupsafe==2.1.5
# via jinja2
mccabe==0.7.0
# via pylint
mypy==1.8.0 ; implementation_name == "cpython"
mypy==1.9.0 ; implementation_name == "cpython"
# via -r test-requirements.in
mypy-extensions==1.0.0 ; implementation_name == "cpython"
# via
Expand All @@ -84,7 +84,7 @@ nodeenv==1.8.0
# via pyright
outcome==1.3.0.post0
# via -r test-requirements.in
packaging==23.2
packaging==24.0
# via
# black
# build
Expand All @@ -94,7 +94,7 @@ parso==0.8.3
# via jedi
pathspec==0.12.1
# via black
pip-tools==7.4.0
pip-tools==7.4.1
# via -r test-requirements.in
platformdirs==4.2.0
# via
Expand All @@ -108,21 +108,21 @@ pygments==2.17.2
# via sphinx
pylint==3.1.0
# via -r test-requirements.in
pyopenssl==24.0.0
pyopenssl==24.1.0
# via -r test-requirements.in
pyproject-hooks==1.0.0
# via
# build
# pip-tools
pyright==1.1.352
pyright==1.1.356
# via -r test-requirements.in
pytest==8.0.2
pytest==8.1.1
# via -r test-requirements.in
pytz==2024.1
# via babel
requests==2.31.0
# via sphinx
ruff==0.3.0
ruff==0.3.4
# via -r test-requirements.in
sniffio==1.3.1
# via -r test-requirements.in
Expand Down Expand Up @@ -157,13 +157,13 @@ tomlkit==0.12.4
# via pylint
trustme==1.1.0
# via -r test-requirements.in
types-cffi==1.16.0.20240106 ; implementation_name == "cpython"
types-cffi==1.16.0.20240311 ; implementation_name == "cpython"
# via -r test-requirements.in
types-docutils==0.20.0.20240227
types-docutils==0.20.0.20240317
# via -r test-requirements.in
types-pyopenssl==24.0.0.20240228 ; implementation_name == "cpython"
types-pyopenssl==24.0.0.20240311 ; implementation_name == "cpython"
# via -r test-requirements.in
types-setuptools==69.1.0.20240229
types-setuptools==69.2.0.20240317
# via types-cffi
typing-extensions==4.10.0
# via
Expand All @@ -174,9 +174,9 @@ typing-extensions==4.10.0
# pylint
urllib3==2.2.1
# via requests
wheel==0.42.0
wheel==0.43.0
# via pip-tools
zipp==3.17.0
zipp==3.18.1
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
Expand Down

0 comments on commit c059de2

Please sign in to comment.