From dbc087c864e1a358d9261fca7b9cd8c2af10087a Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Thu, 20 Jul 2023 21:17:27 -0500
Subject: [PATCH] Drop inverse trig functions with C names from actx.np

---
 arraycontext/loopy.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/arraycontext/loopy.py b/arraycontext/loopy.py
index f8e54b5..2b89d76 100644
--- a/arraycontext/loopy.py
+++ b/arraycontext/loopy.py
@@ -138,11 +138,8 @@ class LoopyBasedFakeNumpyNamespace(BaseFakeNumpyNamespace):
             return outputs["out"]
 
         if name in self._c_to_numpy_arc_functions:
-            from warnings import warn
-            warn(f"'{name}' in ArrayContext.np is deprecated. "
-                    f"Use '{self._c_to_numpy_arc_functions[name]}' as in numpy. "
-                    "The old name will stop working in 2022.",
-                    DeprecationWarning, stacklevel=3)
+            raise RuntimeError(f"'{name}' in ArrayContext.np has been removed. "
+                    f"Use '{self._c_to_numpy_arc_functions[name]}' as in numpy. ")
 
         # normalize to C names anyway
         c_name = self._numpy_to_c_arc_functions.get(name, name)
-- 
GitLab