From 96d5e06f71157012e9b96c73de1f934ab9beb603 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Fri, 29 Nov 2024 15:45:07 -0600
Subject: [PATCH] Drop deprecated 'tag' argument to cross_rank_trace_pairs

---
 grudge/trace_pair.py | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/grudge/trace_pair.py b/grudge/trace_pair.py
index 235aebe..c076510 100644
--- a/grudge/trace_pair.py
+++ b/grudge/trace_pair.py
@@ -557,7 +557,6 @@ class _RankBoundaryCommunicationLazy:
 
 def cross_rank_trace_pairs(
         dcoll: DiscretizationCollection, ary: ArrayOrContainer,
-        tag: Hashable = None,
         *, comm_tag: Hashable = None,
         volume_dd: DOFDesc | None = None) -> list[TracePair]:
     r"""Get a :class:`list` of *ary* trace pairs for each partition boundary.
@@ -598,16 +597,6 @@ def cross_rank_trace_pairs(
     if volume_dd.discretization_tag != DISCR_TAG_BASE:
         raise TypeError(f"expected a base-discretized DOFDesc, got '{volume_dd}'")
 
-    if tag is not None:
-        warn("Specifying 'tag' is deprecated and will stop working in July of 2022. "
-                "Specify 'comm_tag' (keyword-only) instead.",
-                DeprecationWarning, stacklevel=2)
-        if comm_tag is not None:
-            raise TypeError("may only specify one of 'tag' and 'comm_tag'")
-        else:
-            comm_tag = tag
-    del tag
-
     # }}}
 
     if isinstance(ary, Number):
-- 
GitLab