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: Filter Python 3.14 SyntaxWarning from IPython.

Anders Kaseorg7c4e2a2ef2d7
diff --git a/tools/python-warnings.bash b/tools/python-warnings.bash
index a05b904cc39..6cff52e89e0 100644
--- a/tools/python-warnings.bash
+++ b/tools/python-warnings.bash
@@ -11,6 +11,9 @@ PYTHONWARNINGS+=',default:Attribute s is deprecated and will be removed in Pytho
PYTHONWARNINGS+=',ignore:invalid escape sequence '\'\\' '\'':DeprecationWarning'
PYTHONWARNINGS+=',ignore:invalid escape sequence '\'\\' '\'':SyntaxWarning'
+# https://github.com/ipython/ipython/pull/14876
+PYTHONWARNINGS+=',ignore:'\''return'\'' in a '\''finally'\'' block:SyntaxWarning'
+
# https://github.com/SAML-Toolkits/python3-saml/pull/420
PYTHONWARNINGS+=',ignore:datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version.:DeprecationWarning:onelogin.saml2.utils'
PYTHONWARNINGS+=',ignore:datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version.:DeprecationWarning:onelogin.saml2.utils'