From 86f6bcdb58dc34202df7e42585464e313da0e7e6 Mon Sep 17 00:00:00 2001 From: Benjamin Hugo Date: Tue, 8 Oct 2024 11:22:51 +0200 Subject: [PATCH] Breakage in CASA dependency (#64) * Downgrade CASA dependency and pin to numpy <2.0. This fixes an issue with the latest casa version where casa ephemeris data distributed through Debian is no longer read correctly. --- pyproject.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4cbbc1b..923df50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "simms" -version = "2.0.0" +version = "2.0.1" description = "Empty MS creation tool" authors = ["Sphesihle Makhathini "] license = "GPL2" @@ -9,9 +9,10 @@ homepage="https://github.com/radio-astro/simms" [tool.poetry.dependencies] python = "^3.6" -numpy = "*" -casatasks = "*" -casatools = "*" +numpy = "<2.0" +# Breakage in handling of system-wide ephem directories in casa 6.6.3 and beyond +casatasks = "<6.6.3" +casatools = "<6.6.3" [tool.poetry.scripts] simms = "simms.core:main"