From 3d5b9d9a5d42b4fb2d6add245ea4874fa309d669 Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Mon, 23 Oct 2023 13:35:41 +0100 Subject: [PATCH 1/2] Fix compatibility with latest developer version of astropy --- glue/plugins/coordinate_helpers/link_helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glue/plugins/coordinate_helpers/link_helpers.py b/glue/plugins/coordinate_helpers/link_helpers.py index 1ac9bea9d..217a798f6 100644 --- a/glue/plugins/coordinate_helpers/link_helpers.py +++ b/glue/plugins/coordinate_helpers/link_helpers.py @@ -21,12 +21,12 @@ class BaseCelestialMultiLink(BaseMultiLink): def forwards(self, in_lon, in_lat): cin = self.frame_in(in_lon * u.deg, in_lat * u.deg) - cout = cin.transform_to(self.frame_out) + cout = cin.transform_to(self.frame_out()) return cout.spherical.lon.degree, cout.spherical.lat.degree def backwards(self, out_lon, out_lat): cout = self.frame_out(out_lon * u.deg, out_lat * u.deg) - cin = cout.transform_to(self.frame_in) + cin = cout.transform_to(self.frame_in()) return cin.spherical.lon.degree, cin.spherical.lat.degree # Backward-compatibility with glue-core <0.15 From b479bc0db10f6ccf7494722e9d9643015b37e60a Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Mon, 23 Oct 2023 13:37:19 +0100 Subject: [PATCH 2/2] Fix RTD configuration --- .readthedocs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 309f6d1bf..2d9052f0f 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,7 +1,9 @@ version: 2 build: - image: latest + os: "ubuntu-22.04" + tools: + python: "3" sphinx: builder: html @@ -9,7 +11,6 @@ sphinx: fail_on_warning: true python: - version: 3.8 install: - method: pip path: .