Skip to content

Commit

Permalink
Merge pull request #213 from tjgalvin/casa-option
Browse files Browse the repository at this point in the history
Make casacore optional
  • Loading branch information
AlecThomson authored Jan 9, 2025
2 parents 4297c3c + 07a192e commit 75f03dc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ initial-content = """
python = "^3.11"
astropy = "6.1.3" # fixing until units change in 6.1.4 addressed in radio-beam
numpy = "^1.26.0"
python-casacore = "3.5.2" # newer version caused MS errors (maybe related to pre-built wheel)
pydantic = "2.8.2" # version 2.9.0 caused prefect model validation error
scipy = "*"
spython = "^0.3.1"
Expand Down Expand Up @@ -74,6 +73,12 @@ sphinx-copybutton = "*"
sphinx-autoapi = "*"
furo = "*"

[tool.poetry.group.casa]
optional = true

[tool.poetry.group.casa.dependencies]
python-casacore = "3.5.2" # newer version caused MS errors (maybe related to pre-built wheel)

[tool.poetry.extras]
dev = [
"black",
Expand All @@ -90,6 +95,7 @@ dev = [
"sphinx-autoapi",
"furo"
]
casa = ["python-casacore"]

[tool.poetry.scripts]
flint_skymodel = "flint.sky_model:cli"
Expand Down

0 comments on commit 75f03dc

Please sign in to comment.