sage: ignore werkzeug immutable dict deprecation
This commit is contained in:
parent
f85ce834ce
commit
da7ec1c139
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/src/sage/all.py b/src/sage/all.py
|
||||||
|
index c87c9372e9..862fca4fcc 100644
|
||||||
|
--- a/src/sage/all.py
|
||||||
|
+++ b/src/sage/all.py
|
||||||
|
@@ -306,6 +306,7 @@ warnings.filters.remove(('ignore', None, DeprecationWarning, None, 0))
|
||||||
|
# Ignore all deprecations from IPython etc.
|
||||||
|
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
||||||
|
module='.*(IPython|ipykernel|jupyter_client|jupyter_core|nbformat|notebook|ipywidgets|storemagic)')
|
||||||
|
+warnings.filterwarnings('ignore', category=DeprecationWarning, message=r".*The import 'werkzeug.ImmutableDict' is deprecated")
|
||||||
|
# Ignore collections.abc warnings, there are a lot of them but they are
|
||||||
|
# harmless.
|
||||||
|
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
@ -107,6 +107,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# ignore a deprecation warning for usage of `cmp` in the attrs library in the doctests
|
# ignore a deprecation warning for usage of `cmp` in the attrs library in the doctests
|
||||||
./patches/ignore-cmp-deprecation.patch
|
./patches/ignore-cmp-deprecation.patch
|
||||||
|
|
||||||
|
# Werkzeug has deprecated ImmutableDict, but it is still used in legacy
|
||||||
|
# sagenb. That's no big issue since sagenb will be removed soon anyways.
|
||||||
|
./patches/ignore-werkzeug-immutable-dict-deprecation.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
|
patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user