Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

python-warnings: Remove obsolete ignores.

Anders Kaseorg29fdcb176fd0
diff --git a/tools/python-warnings.bash b/tools/python-warnings.bash
index 54b6ec63c6f..9d4877b006f 100644
--- a/tools/python-warnings.bash
+++ b/tools/python-warnings.bash
@@ -4,9 +4,6 @@ export PYTHONWARNINGS=error
PYTHONWARNINGS+=',ignore::ResourceWarning'
-# https://github.com/disqus/django-bitfield/pull/135
-PYTHONWARNINGS+=',default:Attribute s is deprecated and will be removed in Python 3.14; use value instead:DeprecationWarning:__main__'
-
# https://github.com/mahmoud/glom/pull/258
PYTHONWARNINGS+=',ignore:invalid escape sequence '\'\\' '\'':DeprecationWarning'
PYTHONWARNINGS+=',ignore:invalid escape sequence '\'\\' '\'':SyntaxWarning'
@@ -25,7 +22,4 @@ PYTHONWARNINGS+=',ignore:The asyncore module is deprecated and will be removed i
# Semgrep still supports Python 3.8
PYTHONWARNINGS+=',ignore:path is deprecated.:DeprecationWarning:semgrep.semgrep_core'
-# https://github.com/adamchainz/time-machine/pull/486
-PYTHONWARNINGS+=',ignore:datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version.:DeprecationWarning:time_machine'
-
export SQLALCHEMY_WARN_20=1