From 87bd9f6bcf8b23e8408e0bc10649392a6bb84421 Mon Sep 17 00:00:00 2001 From: Bryna Hazelton Date: Tue, 22 Oct 2024 08:49:21 -0700 Subject: [PATCH] Set this to be version 3.1.0 update a few deprecation warnings that were missing version limits --- CHANGELOG.md | 2 +- src/pyuvdata/telescopes.py | 2 +- src/pyuvdata/utils/pol.py | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fd2f04ab..00ff04ab3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file. ## [Unreleased] -## [3.0.1] - 2024-7-1 +## [3.1.0] - 2024-10-22 ### Added - New analytic beam classes: AiryBeam, GaussianBeam, ShortDipoleBeam, UniformBeam diff --git a/src/pyuvdata/telescopes.py b/src/pyuvdata/telescopes.py index 314d52113..edd23994c 100644 --- a/src/pyuvdata/telescopes.py +++ b/src/pyuvdata/telescopes.py @@ -133,7 +133,7 @@ def __getitem__(self, key): "Directly accessing the KNOWN_TELESCOPES dict is deprecated. If you " "need a telescope location, use the known_telescope_location function. " "For a full Telescope object use the classmethod " - "Telescope.from_known_telescopes.", + "Telescope.from_known_telescopes. This will become an error in version 3.2", DeprecationWarning, ) if key in ["latitude", "longitude", "altitude", "center_xyz"]: diff --git a/src/pyuvdata/utils/pol.py b/src/pyuvdata/utils/pol.py index d58f9170a..8b02b78de 100644 --- a/src/pyuvdata/utils/pol.py +++ b/src/pyuvdata/utils/pol.py @@ -92,7 +92,8 @@ def _x_orientation_rep_dict(x_orientation): """ warnings.warn( "This function (_x_orientation_rep_dict) is deprecated, use " - "pyuvdata.utils.pol.x_orientation_pol_map instead.", + "pyuvdata.utils.pol.x_orientation_pol_map instead." + " This will become an error in version 3.2", DeprecationWarning, )