Personal CASA Channel Build (rxue)¶
pclean depends on a personal conda channel (rxue) that ships a patched
CASA build based on the upstream modular release. This channel provides
Python 3.12 support and several improvements that are not yet merged into
official NRAO releases.
Channel and version¶
Item |
Value |
|---|---|
Conda channel |
|
CASA version |
Modular 6.7.3.21 |
Python |
3.12 |
Applied patches¶
The build is assembled from four personal-fork feedstocks hosted under github.com/r-xue. Each repo is a fork of the corresponding conda-forge feedstock with additional patches on a personal branch. The Origin column in each table indicates whether a patch originated in the official conda-forge feedstock or was added by r-xue. Patches that apply only on macOS are marked [osx].
casatools (v6.7.3.21)¶
Source: r-xue/casatools-feedstock — recipe/
Patch file |
Origin |
Description |
|---|---|---|
|
conda-forge |
Disable the GCC library copy step in |
|
r-xue |
Add |
|
r-xue |
CAS-14520 — expose the |
|
r-xue |
CAS-14761 — three-part fix targeting cube+standard parallel imaging performance, bundling three upstream tickets: (1) CAS-14759 (@r-xue) — skip the redundant |
casacpp (v6.7.3.21)¶
Source: r-xue/casacpp-feedstock — recipe/
Patch file |
Origin |
Description |
|---|---|---|
|
conda-forge |
Remove the |
|
conda-forge |
Improve gRPC/Protobuf CMake detection so that both distro-packaged and source-compiled installations are found reliably. |
|
conda-forge |
Fix the move constructor of |
casacore (v3.8.0)¶
Source: r-xue/casacore-feedstock — recipe/
Patch file |
Origin |
Description |
|---|---|---|
|
conda-forge |
Link readline against |
|
conda-forge |
Inject |
|
conda-forge |
Filter the conda |
|
conda-forge |
Fix Boost-Python CMake target detection for Boost ≥ 1.67, which changed the component naming scheme. |
|
conda-forge |
Remove the explicit |
|
conda-forge |
Include |
|
conda-forge (modified) |
Require ADIOS2 ≥ 2.8.0 and request the |
|
r-xue |
Fix a dimensionality mismatch in |
|
r-xue |
Open Adios2StMan tables with |
casatasks (v6.7.3.21)¶
Source: r-xue/casatasks-feedstock — recipe/
Patch file |
Origin |
Description |
|---|---|---|
|
conda-forge |
Same as in |
|
r-xue |
CAS-14761 — mirror of the |
Environment setup¶
Option 1: pixi (recommended)¶
In pyproject.toml (used by this project):
[tool.pixi.workspace]
channels = ["https://conda.anaconda.org/rxue", "conda-forge"]
In a standalone pixi.toml (for lightweight environments outside this project):
[workspace]
name = "micasa"
channels = ["rxue", "conda-forge"]
platforms = ["linux-64", "linux-aarch64", "osx-arm64"]
[dependencies]
conda-ecosystem-user-package-isolation = "*"
python = "3.12.*"
ipython = "*"
pip = ">=23.0"
casatasks = ">=6.7.3"
Install and activate the runtime environment:
pixi install
pixi shell
For development (includes pytest, ruff, etc.):
pixi install -e dev
pixi shell -e dev
Option 2: conda / mamba¶
A standalone environment.yml is provided in the feedstock notes for
environments that do not use pixi:
name: micasa
channels:
- rxue
- conda-forge
- nodefaults
dependencies:
- conda-ecosystem-user-package-isolation
- python=3.12
- ipython
- pip>=23.0
- casatasks>=6.7.3
Create and activate:
conda env create -f environment.yml
conda activate micasa
Update after changes:
conda env update -f environment.yml --prune