Skip to content

Commit 400cd3b

Browse files
committed
link issues
1 parent 386eecb commit 400cd3b

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

setup.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,12 @@
2828
)
2929

3030
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1440): Unit test fails with
31-
# No module named 'cryptography.hazmat.backends.openssl.x509' for Python 3.7.
31+
# `No module named 'cryptography.hazmat.backends.openssl.x509' for Python 3.7``.
3232
cryptography_base_require = [
3333
"cryptography>=38.0.3",
3434
"cryptography < 39.0.0; python_version < '3.8'",
3535
]
3636

37-
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1665): Remove `pyopenssl_testing_require` once
38-
# `TestDecryptPrivateKey::test_success` is updated to remove the deprecated `OpenSSL.crypto.sign` and
39-
# `OpenSSL.crypto.verify` methods. See: https://www.pyopenssl.org/en/latest/changelog.html#id3.
40-
pyopenssl_testing_require = [
41-
"pyopenssl < 24.3.0",
42-
]
43-
4437
requests_extra_require = ["requests >= 2.20.0, < 3.0.0.dev0"]
4538

4639
aiohttp_extra_require = ["aiohttp >= 3.6.2, < 4.0.0.dev0", *requests_extra_require]
@@ -62,6 +55,8 @@
6255
cryptography_base_require,
6356
]
6457

58+
urllib3_extra_require = [["urllib3", "packaging"]]
59+
6560
# Unit test requirements.
6661
testing_extra_require = [
6762
"flask",
@@ -71,33 +66,38 @@
7166
"pytest-cov",
7267
"pytest-localserver",
7368
"responses",
74-
"pytest-asyncio",
69+
*pyjwt_extra_require,
70+
*pyopenssl_extra_require,
71+
*reauth_extra_require,
72+
*urllib3_extra_require,
73+
# Async Dependencies
7574
"aioresponses",
76-
# TODO(): Remove `grpcio` from testing requirements once an extra is added for `grpcio` dependency.
75+
"pytest-asyncio",
76+
*aiohttp_extra_require,
77+
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1735): Remove `grpcio` from testing requirements once an extra is added for `grpcio` dependency.
7778
"grpcio",
78-
# TODO(): Remove `oauth2client` from testing requirements once an extra is added for `grpcio` dependency.
79+
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1736): Remove `oauth2client` from testing requirements once an extra is added for `oauth2client` dependency.
7980
"oauth2client",
80-
# Async Dependencies
81+
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1665): Remove the pinned version of pyopenssl
82+
# once `TestDecryptPrivateKey::test_success` is updated to remove the deprecated `OpenSSL.crypto.sign` and
83+
# `OpenSSL.crypto.verify` methods. See: https://www.pyopenssl.org/en/latest/changelog.html#id3.
84+
"pyopenssl < 24.3.0",
8185
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1722): `test_aiohttp_requests` depend on
82-
# aiohttp < 3.10.0 which is a bug. Investigate and remove the pinned aiohttp version and use `aiohttp_extra_require`.
86+
# aiohttp < 3.10.0 which is a bug. Investigate and remove the pinned aiohttp version.
8387
"aiohttp < 3.10.0",
84-
*pyjwt_extra_require,
85-
*reauth_extra_require,
86-
*pyopenssl_extra_require,
8788
]
8889

8990
extras = {
9091
"aiohttp": aiohttp_extra_require,
9192
"pyopenssl": pyopenssl_extra_require,
9293
"requests": requests_extra_require,
93-
"urllib3": ["urllib3", "packaging"],
94+
"urllib3": urllib3_extra_require,
9495
"reauth": reauth_extra_require,
9596
"enterprise_cert": enterprise_cert_extra_require,
9697
"pyjwt": pyjwt_extra_require,
9798
"testing": testing_extra_require,
98-
# TODO(): Add an extra for `grpcio` dependency.
99-
# TODO(): Add an extra for `oauth2client` dependency.
100-
# TODO(): Add an extra for `urllib3` dependency.
99+
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1735): Add an extra for `grpcio` dependency.
100+
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1736): Add an extra for `oauth2client` dependency.
101101
}
102102

103103
with io.open("README.rst", "r") as fh:

0 commit comments

Comments
 (0)