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

code_spécifique_watcha
Andrew Morgan 4 years ago committed by GitHub
parent 831b31e563
commit 2f6afdd8b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/7751.misc
  2. 4
      synapse/python_dependencies.py

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

@ -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"],

Loading…
Cancel
Save