Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve typing-time lazy import behaviors to expose attribute errors to type checkers #1052

Merged
merged 3 commits into from
Sep 17, 2024
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Fixed
~~~~~

- Fix the typing-time attributes of ``globus_sdk`` so that ``mypy`` and other
type checkers won't erroneously suppress errors about missing attributes. (:pr:`NUMBER`)
14 changes: 7 additions & 7 deletions requirements/py3.10/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@
#
# tox p -m freezedeps
#
certifi==2024.7.4
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
# via requests
coverage==7.5.4
coverage==7.6.1
# via -r test.in
exceptiongroup==1.2.1
exceptiongroup==1.2.2
# via pytest
execnet==2.1.1
# via pytest-xdist
flaky==3.8.1
# via -r test.in
idna==3.7
idna==3.10
# via requests
iniconfig==2.0.0
# via pytest
packaging==24.1
# via pytest
pluggy==1.5.0
# via pytest
pytest==8.2.2
pytest==8.3.3
# via
# -r test.in
# pytest-randomly
Expand All @@ -33,15 +33,15 @@ pytest-randomly==3.15.0
# via -r test.in
pytest-xdist==3.6.1
# via -r test.in
pyyaml==6.0.1
pyyaml==6.0.2
# via responses
requests==2.32.3
# via responses
responses==0.25.3
# via -r test.in
tomli==2.0.1
# via pytest
urllib3==2.2.2
urllib3==2.2.3
# via
# requests
# responses
14 changes: 7 additions & 7 deletions requirements/py3.10/typing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
#
# tox p -m freezedeps
#
certifi==2024.7.4
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
# via requests
idna==3.7
idna==3.10
# via requests
mypy==1.10.1
mypy==1.11.2
# via -r typing.in
mypy-extensions==1.0.0
# via mypy
pyyaml==6.0.1
pyyaml==6.0.2
# via responses
requests==2.32.3
# via responses
Expand All @@ -24,17 +24,17 @@ tomli==2.0.1
# via mypy
types-cryptography==3.3.23.2
# via types-jwt
types-docutils==0.21.0.20240708
types-docutils==0.21.0.20240907
# via -r typing.in
types-jwt==0.1.3
# via -r typing.in
types-requests==2.32.0.20240622
types-requests==2.32.0.20240914
# via -r typing.in
typing-extensions==4.12.2
# via
# -r typing.in
# mypy
urllib3==2.2.2
urllib3==2.2.3
# via
# requests
# responses
Expand Down
30 changes: 15 additions & 15 deletions requirements/py3.11/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
#
# tox p -m freezedeps
#
alabaster==0.7.16
alabaster==1.0.0
# via sphinx
babel==2.15.0
babel==2.16.0
# via sphinx
beautifulsoup4==4.12.3
# via furo
certifi==2024.7.4
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
# via requests
docutils==0.21.2
# via sphinx
furo==2024.5.6
furo==2024.8.6
# via -r docs.in
idna==3.7
idna==3.10
# via requests
imagesize==1.4.1
# via sphinx
Expand All @@ -32,7 +32,7 @@ pygments==2.18.0
# via
# furo
# sphinx
pyyaml==6.0.1
pyyaml==6.0.2
# via responses
requests==2.32.3
# via
Expand All @@ -42,9 +42,9 @@ responses==0.25.3
# via -r docs.in
snowballstemmer==2.2.0
# via sphinx
soupsieve==2.5
soupsieve==2.6
# via beautifulsoup4
sphinx==7.3.7
sphinx==8.0.2
# via
# -r docs.in
# furo
Expand All @@ -56,23 +56,23 @@ sphinx-basic-ng==1.0.0b2
# via furo
sphinx-copybutton==0.5.2
# via -r docs.in
sphinx-design==0.6.0
sphinx-design==0.6.1
# via -r docs.in
sphinx-issues==4.1.0
# via -r docs.in
sphinxcontrib-applehelp==1.0.8
sphinxcontrib-applehelp==2.0.0
# via sphinx
sphinxcontrib-devhelp==1.0.6
sphinxcontrib-devhelp==2.0.0
# via sphinx
sphinxcontrib-htmlhelp==2.0.5
sphinxcontrib-htmlhelp==2.1.0
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.7
sphinxcontrib-qthelp==2.0.0
# via sphinx
sphinxcontrib-serializinghtml==1.1.10
sphinxcontrib-serializinghtml==2.0.0
# via sphinx
urllib3==2.2.2
urllib3==2.2.3
# via
# requests
# responses
12 changes: 6 additions & 6 deletions requirements/py3.11/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@
#
# tox p -m freezedeps
#
certifi==2024.7.4
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
# via requests
coverage==7.5.4
coverage==7.6.1
# via -r test.in
execnet==2.1.1
# via pytest-xdist
flaky==3.8.1
# via -r test.in
idna==3.7
idna==3.10
# via requests
iniconfig==2.0.0
# via pytest
packaging==24.1
# via pytest
pluggy==1.5.0
# via pytest
pytest==8.2.2
pytest==8.3.3
# via
# -r test.in
# pytest-randomly
Expand All @@ -31,13 +31,13 @@ pytest-randomly==3.15.0
# via -r test.in
pytest-xdist==3.6.1
# via -r test.in
pyyaml==6.0.1
pyyaml==6.0.2
# via responses
requests==2.32.3
# via responses
responses==0.25.3
# via -r test.in
urllib3==2.2.2
urllib3==2.2.3
# via
# requests
# responses
14 changes: 7 additions & 7 deletions requirements/py3.11/typing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,35 @@
#
# tox p -m freezedeps
#
certifi==2024.7.4
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
# via requests
idna==3.7
idna==3.10
# via requests
mypy==1.10.1
mypy==1.11.2
# via -r typing.in
mypy-extensions==1.0.0
# via mypy
pyyaml==6.0.1
pyyaml==6.0.2
# via responses
requests==2.32.3
# via responses
responses==0.25.3
# via -r typing.in
types-cryptography==3.3.23.2
# via types-jwt
types-docutils==0.21.0.20240708
types-docutils==0.21.0.20240907
# via -r typing.in
types-jwt==0.1.3
# via -r typing.in
types-requests==2.32.0.20240622
types-requests==2.32.0.20240914
# via -r typing.in
typing-extensions==4.12.2
# via
# -r typing.in
# mypy
urllib3==2.2.2
urllib3==2.2.3
# via
# requests
# responses
Expand Down
12 changes: 6 additions & 6 deletions requirements/py3.12/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@
#
# tox p -m freezedeps
#
certifi==2024.7.4
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
# via requests
coverage==7.5.4
coverage==7.6.1
# via -r test.in
execnet==2.1.1
# via pytest-xdist
flaky==3.8.1
# via -r test.in
idna==3.7
idna==3.10
# via requests
iniconfig==2.0.0
# via pytest
packaging==24.1
# via pytest
pluggy==1.5.0
# via pytest
pytest==8.2.2
pytest==8.3.3
# via
# -r test.in
# pytest-randomly
Expand All @@ -31,13 +31,13 @@ pytest-randomly==3.15.0
# via -r test.in
pytest-xdist==3.6.1
# via -r test.in
pyyaml==6.0.1
pyyaml==6.0.2
# via responses
requests==2.32.3
# via responses
responses==0.25.3
# via -r test.in
urllib3==2.2.2
urllib3==2.2.3
# via
# requests
# responses
14 changes: 7 additions & 7 deletions requirements/py3.12/typing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,35 @@
#
# tox p -m freezedeps
#
certifi==2024.7.4
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
# via requests
idna==3.7
idna==3.10
# via requests
mypy==1.10.1
mypy==1.11.2
# via -r typing.in
mypy-extensions==1.0.0
# via mypy
pyyaml==6.0.1
pyyaml==6.0.2
# via responses
requests==2.32.3
# via responses
responses==0.25.3
# via -r typing.in
types-cryptography==3.3.23.2
# via types-jwt
types-docutils==0.21.0.20240708
types-docutils==0.21.0.20240907
# via -r typing.in
types-jwt==0.1.3
# via -r typing.in
types-requests==2.32.0.20240622
types-requests==2.32.0.20240914
# via -r typing.in
typing-extensions==4.12.2
# via
# -r typing.in
# mypy
urllib3==2.2.2
urllib3==2.2.3
# via
# requests
# responses
Expand Down
Loading
Loading