summarylogtreecommitdiffstats
path: root/sagemath-jedi-0.16.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sagemath-jedi-0.16.patch')
-rw-r--r--sagemath-jedi-0.16.patch21
1 files changed, 10 insertions, 11 deletions
diff --git a/sagemath-jedi-0.16.patch b/sagemath-jedi-0.16.patch
index 083496fbf9e4..f62e96affc17 100644
--- a/sagemath-jedi-0.16.patch
+++ b/sagemath-jedi-0.16.patch
@@ -1,14 +1,13 @@
+diff --git a/src/sage/all.py b/src/sage/all.py
+index 94337b4..88682c1 100644
--- a/src/sage/all.py
+++ b/src/sage/all.py
-@@ -99,6 +99,11 @@ warnings.filterwarnings('ignore', category=DeprecationWarning,
- # However, be sure to keep OUR deprecation warnings
- warnings.filterwarnings('default', category=DeprecationWarning,
- message=r'[\s\S]*See https\?://trac\.sagemath\.org/[0-9]* for details.')
-+# jedi 0.16 deprecation warnings
-+warnings.filterwarnings('ignore', category=DeprecationWarning,
-+ message='.*Use get_signatures().*')
-+warnings.filterwarnings('ignore', category=DeprecationWarning,
-+ message='.*Providing the .* is now done in the functions themselves.*')
- # Python 3.8 deprecation warnings
+@@ -91,7 +91,7 @@ warnings.filterwarnings('ignore', category=RuntimeWarning,
+
+ # Ignore all deprecations from IPython etc.
+ warnings.filterwarnings('ignore', category=DeprecationWarning,
+- module='.*(IPython|ipykernel|jupyter_client|jupyter_core|nbformat|notebook|ipywidgets|storemagic)')
++ module='.*(IPython|ipykernel|jupyter_client|jupyter_core|nbformat|notebook|ipywidgets|storemagic|jedi)')
+ # Ignore collections.abc warnings, there are a lot of them but they are
+ # harmless.
warnings.filterwarnings('ignore', category=DeprecationWarning,
- message='.*PY_SSIZE_T_CLEAN.*')