From: Stuart Prescott Date: Sun, 14 Dec 2025 05:17:43 +0100 Subject: Tweak lower bound on Astropy deprecation fix --- gammapy/data/obs_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gammapy/data/obs_table.py b/gammapy/data/obs_table.py index ed1af00..149ec9e 100644 --- a/gammapy/data/obs_table.py +++ b/gammapy/data/obs_table.py @@ -74,7 +74,7 @@ class ObservationTable(Table): except IndexError: self.add_index("OBS_ID") - if minversion("astropy", "7.0"): + if minversion("astropy", "7.2"): return self.__class__(self.loc.with_index("OBS_ID")[obs_id]) else: return self.__class__(self.loc["OBS_ID", obs_id])