Skip to content

Commit

Permalink
pin tardis (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvshields committed Aug 16, 2024
1 parent fd02471 commit a07a1a8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: benchmarks

env:
TARDIS_VER: master
TARDIS_VER: release-2024.08.12 # master

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
id: install-tardis
# shell: bash -l {0}
run: |
pip install git+https://github.com/tardis-sn/tardis.git # @release-2023.04.16
pip install git+https://github.com/tardis-sn/tardis.git@release-2024.08.12
- name: Install STARDIS
id: install-stardis
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
id: install-tardis
# shell: bash -l {0}
run: |
pip install git+https://github.com/tardis-sn/tardis.git
pip install git+https://github.com/tardis-sn/tardis.git@release-2024.08.12
- name: Install STARDIS
id: install-stardis
Expand Down
7 changes: 3 additions & 4 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ Setting Up the Environment
* STARDIS packages and dependencies are distributed only through the `conda <https://docs.conda.io/en/latest/>`__ package management system, therefore installation requires a conda distribution to be installed on your system. STARDIS uses `Miniconda <https://conda.io/projects/conda/en/latest/user-guide/install/index.html>`__ or `Mamba <https://mamba.readthedocs.io/en/latest/installation.html>`__ by default. Other distributions are untested.

STARDIS uses exclusively the packages in the TARDIS enviroment, as well
as using the TARDIS code itself. It uses a shared environment with TARDIS,
as well as the TARDIS code itself. We strongly suggest that users create a separate
as using the TARDIS code itself. We strongly suggest that users create a separate
environment for STARDIS. To do this, run
the following in the terminal (replacing ``{platform}`` with
``linux-64``, ``linux-64-cuda``, or ``osx-64`` as applicable).
Expand All @@ -26,7 +25,7 @@ the following in the terminal (replacing ``{platform}`` with
$ wget -q https://raw.githubusercontent.com/tardis-sn/tardis/master/conda-{platform}.lock
$ conda create --name stardis --file conda-{platform}.lock
$ conda activate stardis
$ pip install git+https://github.com/tardis-sn/tardis.git
$ pip install git+https://github.com/tardis-sn/tardis.git@release-2024.08.12
The third command (``conda activate stardis``) activates the
environment, which is necessary to correctly install STARDIS using the directions below.
Expand All @@ -39,7 +38,7 @@ If you are using Mamba, the steps are similar:
$ wget -q https://raw.githubusercontent.com/tardis-sn/tardis/master/conda-{platform}.lock
$ mamba create --name stardis --file conda-{platform}.lock
$ mamba activate stardis
$ pip install git+https://github.com/tardis-sn/tardis.git
$ pip install git+https://github.com/tardis-sn/tardis.git@release-2024.08.12
Downloading and Installing STARDIS
----------------------------------
Expand Down
2 changes: 1 addition & 1 deletion stardis_env3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies:
- qgrid =1.3.1=pyhd8ed1ab_4 # qgrid-feedstock/issues/18

- pip:
- git+https://github.com/tardis-sn/tardis.git # @release-2023.04.16
- git+https://github.com/tardis-sn/tardis.git@release-2024.08.12

# --- Packages not required for conda-forge recipe ---

Expand Down
2 changes: 1 addition & 1 deletion stardis_env3_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ dependencies:
- cupy

- pip:
- git+https://github.com/tardis-sn/tardis.git # @release-2023.04.16
- git+https://github.com/tardis-sn/tardis.git@release-2024.08.12

# --- Packages not required for conda-forge recipe ---

Expand Down

0 comments on commit a07a1a8

Please sign in to comment.