Skip to content

Commit

Permalink
JP-3840: Include gwcs install warning and stasis install details (#9066)
Browse files Browse the repository at this point in the history
  • Loading branch information
tapastro authored Jan 13, 2025
1 parent 5d639da commit fb1d541
Showing 1 changed file with 31 additions and 7 deletions.
38 changes: 31 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
> Linux and MacOS platforms are tested and supported. Windows is not currently supported.
> [!WARNING]
> Installation of `jwst` versions `1.15.1` through `1.16.1` will pull an incompatible version of the `gwcs` dependency -
> this can be remedied by downgrading the gwcs version through e.g. `pip install 'gwcs<0.22'`
>
> Installation on MacOS Mojave 10.14 will fail due to lack of a stable build for dependency ``opencv-python``.
## Installation
Expand Down Expand Up @@ -87,6 +90,34 @@ details of each command vary, due to the use of environment snapshot files that
all of the particular packages to install. Also note that different snapshot files are
used for Linux and Mac OS systems.

Linux:

conda env create --file https://ssb.stsci.edu/stasis/releases/jwst/JWSTDP-1.17.1/delivery/latest-py312-linux-x86_64.yml
conda activate JWSTDP-1.17.1-1-py312-linux-x86_64

MacOS arm64:

conda env create --file https://ssb.stsci.edu/stasis/releases/jwst/JWSTDP-1.17.1/delivery/latest-py312-macos-arm64.yml
conda activate JWSTDP-1.17.1-1-py312-macos-arm64

MacOS x86_64:

conda env create --file https://ssb.stsci.edu/stasis/releases/jwst/JWSTDP-1.17.1/delivery/latest-py312-macos-x86_64.yml
conda activate JWSTDP-1.17.1-1-py312-macos-x86_64


Starting with the jwst 1.16.1 release, we updated our release procedures to use
[stasis](https://github.com/spacetelescope/stasis). Each DMS delivery has its own installation instructions,
which may be found in the corresponding release documentation, e.g.:
https://ssb.stsci.edu/stasis/releases/jwst/JWSTDP-1.16.1/delivery/README-py312-macos-x86_64.html
The installation procedures may change from time to time, so consulting the
documentation page for the specific version in question is the best way to get
that version installed. You can find the list of available releases at the
[top-level stasis domain](https://ssb.stsci.edu/stasis/releases/jwst/).

For releases prior to 1.16.1, please instead follow the directions below. The complete list of releases prior to 1.16.1
is available on [astroconda-releases](https://github.com/astroconda/astroconda-releases/tree/master/jwstdp).

Linux:

conda create -n jwstdp-1.16.1 --file https://ssb.stsci.edu/releases/jwstdp/1.16.1/conda_python_stable-deps.txt
Expand All @@ -99,13 +130,6 @@ MacOS:
conda activate jwstdp-1.16.1
pip install -r https://ssb.stsci.edu/releases/jwstdp/1.16.1/reqs_macos-stable-deps.txt

Each DMS delivery has its own installation instructions, which may be found in
the corresponding release documentation linked from this page:
https://github.com/astroconda/astroconda-releases/tree/master/jwstdp
The installation procedures may change from time to time, so consulting the
documentation page for the specific version in question is the best way to get
that version installed.


### Installing for Developers

Expand Down

0 comments on commit fb1d541

Please sign in to comment.