From ebd804aba9d2bbac926c6b7ec1fddbfd0c880d85 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Mon, 22 Jul 2024 18:26:39 -0400 Subject: [PATCH] Update local environment installation and instructions (#487) * Update conda command syntax * Pin to Python<3.12 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- environment.yml | 4 ++-- preamble/how-to-use.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/environment.yml b/environment.yml index d84da15af..b0cf4723e 100644 --- a/environment.yml +++ b/environment.yml @@ -13,11 +13,11 @@ dependencies: - dask - pyproj - pythia-datasets - - python + - python<3.12 # Waiting on https://github.com/jupyter/jupyter_events/issues/99 - scipy - ffmpeg - xarray - python-graphviz - graphviz - - setuptools>=69.0.3 + - setuptools - sphinx-pythia-theme diff --git a/preamble/how-to-use.md b/preamble/how-to-use.md index e4e887102..c404989e2 100644 --- a/preamble/how-to-use.md +++ b/preamble/how-to-use.md @@ -96,7 +96,7 @@ can be done with two commands from the terminal, one to create the environment and one to activate it: ``` -conda env create --force -f https://raw.githubusercontent.com/ProjectPythia/pythia-foundations/main/environment.yml +conda env create --yes -f https://raw.githubusercontent.com/ProjectPythia/pythia-foundations/main/environment.yml conda activate pythia-book-dev ```