Explain the purpose of the "tests" conditional dependency requirement (#7751)

This commit is contained in:
Andrew Morgan 2020-06-30 10:11:36 +01:00 committed by GitHub
parent 831b31e563
commit 2f6afdd8b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

1
changelog.d/7751.misc Normal file
View File

@ -0,0 +1 @@
Explain the "test" conditional requirement for dependencies is not all of the modules necessary to run the unit tests.

View File

@ -93,6 +93,10 @@ CONDITIONAL_REQUIREMENTS = {
"oidc": ["authlib>=0.14.0"],
"systemd": ["systemd-python>=231"],
"url_preview": ["lxml>=3.5.0"],
# Dependencies which are exclusively required by unit test code. This is
# NOT a list of all modules that are necessary to run the unit tests.
# Tests assume that all optional dependencies are installed.
#
# parameterized_class decorator was introduced in parameterized 0.7.0
"test": ["mock>=2.0", "parameterized>=0.7.0"],
"sentry": ["sentry-sdk>=0.7.2"],