Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
Revert "settings: Silence CryptographyDeprecationWarning spam from a dependency."
Anders Kaseorgd3dab39b870f
diff --git a/zproject/computed_settings.py b/zproject/computed_settings.pyindex 0e7beb85d7a..e5cba89d2ed 100644--- a/zproject/computed_settings.py+++ b/zproject/computed_settings.py@@ -1,12 +1,10 @@import osimport sysimport time-import warningsfrom copy import deepcopyfrom typing import Any, Dict, List, Tuple, Unionfrom urllib.parse import urljoin-from cryptography.utils import CryptographyDeprecationWarningfrom django.template.loaders import app_directoriesimport zerver.lib.logging_util@@ -1008,11 +1006,6 @@ LOGGING: Dict[str, Any] = {},}-# Silence CryptographyDeprecationWarning spam from a dependency:-# /srv/zulip-py3-venv/lib/python3.6/site-packages/jose/backends/cryptography_backend.py:18: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead-# TODO: Clean this up when possible after future dependency upgrades.-warnings.filterwarnings("ignore", category=CryptographyDeprecationWarning, module="jose.*")-if DEVELOPMENT:CONTRIBUTOR_DATA_FILE_PATH = os.path.join(DEPLOY_ROOT, "var/github-contributors.json")else: