Skip to content

Commit

Permalink
Bump Python to 3.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
stubbiali committed Sep 29, 2021
1 parent 0141214 commit 32bc713
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
10 changes: 5 additions & 5 deletions bootstrap_venv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@

MODULES=( )
# MODULES=( daint-gpu cray-python/3.6.5.7 cudatoolkit )
PYTHON=python3.8
PYTHON=python3.9
PIP_UPGRADE=1
DISABLE_CEXT=1
GT4PY_EXTRAS=
VENV=venv
FRESH_INSTALL=1
FRESH_INSTALL=0

function install()
{
# activate environment
source $VENV/bin/activate

# upgrade pip
# upgrade pip and setuptools
if [ "$PIP_UPGRADE" -gt 0 ]; then
pip install --upgrade pip
pip install --upgrade pip setuptools
fi

# install tasmania and required dependencies
Expand All @@ -59,7 +59,7 @@ function install()
pip install -r requirements_dev.txt

# deactivate environment
deactivate
deactivate

# On OSX only: change matplotlib backend from macosx to TkAgg
if [[ "$OSTYPE" == "darwin"* ]]; then
Expand Down
4 changes: 2 additions & 2 deletions prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

export GT_CACHE_ROOT=/Users/subbiali/Desktop/phd/tasmania/oop/gt_cache
mkdir -p /Users/subbiali/Desktop/phd/tasmania/master/gt_cache
export GT_CACHE_ROOT=/Users/subbiali/Desktop/phd/tasmania/master/gt_cache
export GT_CACHE_DIR_NAME=.gt_cache
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jupyter-highlight-selected-word>=0.1.0
jupyter-latex-envs>=1.4.4
jupyter-nbextensions-configurator>=0.4.0
jupyterhub>=0.8.1
mypy
nbconvert==5.3.1
nbformat==4.4.0
notebook>=4.4.1
Expand Down

0 comments on commit 32bc713

Please sign in to comment.