File tree Expand file tree Collapse file tree 1 file changed +27
-21
lines changed
Expand file tree Collapse file tree 1 file changed +27
-21
lines changed Original file line number Diff line number Diff line change 3939 "cryptography < 39.0.0; python_version == '3.7'" ,
4040]
4141
42+ reauth_extra_require = ["pyu2f>=0.1.5" ]
43+
4244# Unit test requirements.
43- testing_extra_require = [
44- "flask" ,
45- "freezegun" ,
46- "mock" ,
47- "pyopenssl" ,
48- "pytest" ,
49- "pytest-cov" ,
50- "pytest-localserver" ,
51- "pyu2f" ,
52- "responses" ,
53- # TODO(): Remove `grpcio` from testing requirements once an extra is added for `grpcio` dependency.
54- "grpcio" ,
55- # TODO(): Remove `oauth2client` from testing requirements once an extra is added for `grpcio` dependency.
56- "oauth2client" ,
57- # Async Dependencies
58- # TODO(https://github.com/googleapis/google-auth-library-python/issues/1722): `test_aiohttp_requests` depend on
59- # aiohttp < 3.10.0 which is a bug. Investigate and remove the pinned aiohttp version and use `aiohttp_extra_require`.
60- "aiohttp < 3.10.0" ,
61- "pytest-asyncio; python_version > '3.0'" ,
62- "aioresponses; python_version > '3.0'" ,
63- ]
45+ testing_extra_require = (
46+ [
47+ "flask" ,
48+ "freezegun" ,
49+ "mock" ,
50+ "pyopenssl" ,
51+ "pytest" ,
52+ "pytest-cov" ,
53+ "pytest-localserver" ,
54+ "pyu2f" ,
55+ "responses" ,
56+ # TODO(): Remove `grpcio` from testing requirements once an extra is added for `grpcio` dependency.
57+ "grpcio" ,
58+ # TODO(): Remove `oauth2client` from testing requirements once an extra is added for `grpcio` dependency.
59+ "oauth2client" ,
60+ # Async Dependencies
61+ # TODO(https://github.com/googleapis/google-auth-library-python/issues/1722): `test_aiohttp_requests` depend on
62+ # aiohttp < 3.10.0 which is a bug. Investigate and remove the pinned aiohttp version and use `aiohttp_extra_require`.
63+ "aiohttp < 3.10.0" ,
64+ "pytest-asyncio" ,
65+ "aioresponses" ,
66+ ]
67+ + pyjwt_extra_require
68+ + reauth_extra_require
69+ )
6470
6571extras = {
6672 "aiohttp" : aiohttp_extra_require ,
You can’t perform that action at this time.
0 commit comments