summarylogtreecommitdiffstats
path: root/sagemath-jedi-0.16.patch
diff options
context:
space:
mode:
authorAntonio Rojas2020-03-29 13:05:13 +0000
committerAntonio Rojas2020-03-29 13:05:13 +0000
commit3d835bfedec7c9dfe018c785bdde866c611901a3 (patch)
treeb3747b3cf661329871a36a0eb2712d5465c673cb /sagemath-jedi-0.16.patch
parent25b2e204efc3a2232e398981a3cf59f3558086a0 (diff)
downloadaur-3d835bfedec7c9dfe018c785bdde866c611901a3.tar.gz
Fix deprecation warnings with jedi 0.16
Diffstat (limited to 'sagemath-jedi-0.16.patch')
-rw-r--r--sagemath-jedi-0.16.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sagemath-jedi-0.16.patch b/sagemath-jedi-0.16.patch
new file mode 100644
index 000000000000..27769bdb8cfd
--- /dev/null
+++ b/sagemath-jedi-0.16.patch
@@ -0,0 +1,13 @@
+--- a/src/sage/all.py
++++ b/src/sage/all.py
+@@ -324,6 +324,9 @@ 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().*')
+ # Python 3.8 deprecation warnings
+ warnings.filterwarnings('ignore', category=DeprecationWarning,
+ message='.*PY_SSIZE_T_CLEAN.*')
+