From 0ff5d5bbfa5ddc3acaf92e7a571ba9068c5f3d06 Mon Sep 17 00:00:00 2001 From: Kim Pevey Date: Wed, 22 Feb 2023 12:18:12 -0600 Subject: [PATCH] update environment, use new env in ci --- .github/workflows/testdev.yml | 2 +- .github/workflows/testmaster.yml | 2 +- environment.yml | 2 ++ environment_dev.yml | 31 +++++++++++++++++++++++++++++++ 4 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 environment_dev.yml diff --git a/.github/workflows/testdev.yml b/.github/workflows/testdev.yml index f8af6635..c7b88a00 100644 --- a/.github/workflows/testdev.yml +++ b/.github/workflows/testdev.yml @@ -23,7 +23,7 @@ jobs: uses: conda-incubator/setup-miniconda@v2 with: activate-environment: pyleo - environment-file: environment.yml + environment-file: environment_dev.yml python-version: "3.10" auto-activate-base: false diff --git a/.github/workflows/testmaster.yml b/.github/workflows/testmaster.yml index a9e1b1b2..973198ee 100644 --- a/.github/workflows/testmaster.yml +++ b/.github/workflows/testmaster.yml @@ -23,7 +23,7 @@ jobs: uses: conda-incubator/setup-miniconda@v2 with: activate-environment: pyleo - environment-file: environment.yml + environment-file: environment_dev.yml python-version: "3.10" auto-activate-base: false diff --git a/environment.yml b/environment.yml index e5591c53..0f33f4b5 100644 --- a/environment.yml +++ b/environment.yml @@ -1,3 +1,5 @@ +# This environment is used for JupyterHub + name: pyleo channels: - conda-forge diff --git a/environment_dev.yml b/environment_dev.yml new file mode 100644 index 00000000..228034fd --- /dev/null +++ b/environment_dev.yml @@ -0,0 +1,31 @@ +# Development environment. This environment includes all the required +# packages for this repo including running the test suite. +name: pyleo +channels: + - LinkedEarth + - conda-forge + - default +dependencies: + - python>=3.8 + - cartopy + - matplotlib + - nitime + - numba + - numpy + - pathos + - pip + - pytest + - pyyaml + - requests + - scikit-learn + - scipy + - seaborn + - statsmodels + - tabulate + - tqdm + - wget + - pip: + - pyhht + - '-e .' + - "--pre --extra-index https://pypi.anaconda.org/scipy-wheels-nightly/simple" + - pandas>=1.9