add type deps

This commit is contained in:
Brad Warren 2021-06-10 10:03:29 -07:00
parent ea11b7e3fb
commit 5b207a33c2
3 changed files with 19 additions and 8 deletions

View file

@ -94,6 +94,13 @@ test_extras = [
'pytest',
'pytest-cov',
'pytest-xdist',
'types-mock',
'types-openssl-python',
'types-pkg_resources',
'types-pyRFC3339',
'types-python-dateutil',
'types-pytz',
'types-requests',
# typing-extensions is required to import typing.Protocol and make the mypy checks
# pass (along with pylint about non-existent objects) on Python 3.6 & 3.7
'typing-extensions',

View file

@ -51,12 +51,6 @@ awscli = ">=1.19.62"
# as a dependency here to ensure a version of cython is pinned for extra
# stability.
cython = "*"
# mypy 0.900 stopped including stubs containing type information for 3rd party
# libraries by default. This breaks our tests so let's continue to pin it back
# for now. See
# https://mypy-lang.blogspot.com/2021/05/the-upcoming-switch-to-modular-typeshed.html
# for more info.
mypy = "<0.900"
# We install mock in our "external-mock" tox environment to test that we didn't
# break Certbot's test API which used to always use mock objects from the 3rd
# party mock library. We list the mock dependency here so that is pinned, but

View file

@ -91,7 +91,7 @@ mock==4.0.3; python_version >= "3.6"
msgpack==1.0.2; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.4.0"
msrest==0.6.21; python_version >= "3.6"
mypy-extensions==0.4.3; python_version >= "3.6"
mypy==0.812; python_version >= "3.5"
mypy==0.902; python_version >= "3.6"
oauth2client==4.1.3; python_version >= "3.6"
oauthlib==3.1.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.4.0"
packaging==20.9; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.4.0" or python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.4.0" or python_version >= "3.6" and python_full_version >= "3.5.0" or python_full_version >= "3.6.0" and python_version >= "3.6"
@ -170,7 +170,17 @@ tox==3.23.1; python_version >= "3.6" and python_full_version < "3.0.0" or python
tqdm==4.61.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_version >= "3.6" and python_full_version >= "3.4.0"
traitlets==4.3.3
twine==3.3.0; python_version >= "3.6"
typed-ast==1.4.3; python_version >= "3.6" or implementation_name == "cpython" and python_version < "3.8" and python_version >= "3.6"
typed-ast==1.4.3; python_version >= "3.6" and python_version < "3.8" or implementation_name == "cpython" and python_version < "3.8" and python_version >= "3.6"
types-cryptography==0.1.2; python_version >= "3.6"
types-enum34==0.1.5; python_version >= "3.6"
types-ipaddress==0.1.2; python_version >= "3.6"
types-mock==0.1.1; python_version >= "3.6"
types-openssl-python==0.1.2; python_version >= "3.6"
types-pkg-resources==0.1.2; python_version >= "3.6"
types-pyrfc3339==0.1.0; python_version >= "3.6"
types-python-dateutil==0.1.2; python_version >= "3.6"
types-pytz==0.1.0; python_version >= "3.6"
types-requests==0.1.9; python_version >= "3.6"
typing-extensions==3.10.0.0; python_version >= "3.6"
uritemplate==3.0.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
urllib3==1.26.5; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version < "4" and python_version >= "3.6" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.6"