diff options
author | David Robertson <davidr@element.io> | 2022-03-16 15:33:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-16 15:33:23 +0000 |
commit | 4c988172646877bbafa8284e0faa4deb35a1c7d1 (patch) | |
tree | 47d4313dea652688008dad21f45f86fda78a3e98 | |
parent | Handle cancellation in `DatabasePool.runInteraction()` (#12199) (diff) | |
download | synapse-github/dmr/debug-check-deps.tar.xz |
debug check deps for #12223 github/dmr/debug-check-deps dmr/debug-check-deps
Diffstat (limited to '')
-rw-r--r-- | synapse/util/check_dependencies.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/util/check_dependencies.py b/synapse/util/check_dependencies.py index 12cd804939..199109342e 100644 --- a/synapse/util/check_dependencies.py +++ b/synapse/util/check_dependencies.py @@ -25,6 +25,7 @@ from typing import Iterable, NamedTuple, Optional from packaging.requirements import Requirement +logger = logging.getLogger(__name__) DISTRIBUTION_NAME = "matrix-synapse" try: @@ -164,6 +165,10 @@ def check_requirements(extra: Optional[str] = None) -> None: errors.append(_not_installed(requirement, extra)) else: # We specify prereleases=True to allow prereleases such as RCs. + logger.warning( + "DEP CHECK: %s, %s, %s, %r", + requirement, must_be_installed, dist, dist.version, + ) if not requirement.specifier.contains(dist.version, prereleases=True): deps_unfulfilled.append(requirement.name) errors.append(_incorrect_version(requirement, dist.version, extra)) |