Skip to content

Commit

Permalink
Merge pull request #2156 from mgxd/maint/ci-build
Browse files Browse the repository at this point in the history
MAINT: Use legacy pip/setuptools for py2 checking
  • Loading branch information
oesteban authored May 29, 2020
2 parents ea35110 + 790be9b commit 36c290a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ jobs:
pyenv local $PY2
echo -n "Python version: "
python --version
pip install --upgrade pip setuptools
pip install --upgrade "pip<21" "setuptools<45"
pip install --upgrade wrapper/
which fmriprep-docker
fmriprep-docker -i poldracklab/fmriprep:latest --help
Expand Down Expand Up @@ -392,6 +392,9 @@ jobs:
- run:
name: Setting up test
command: |
export PY3=$(pyenv versions | grep '3\.' |
sed -e 's/.* 3\./3./' -e 's/ .*//')
pyenv local $PY3
mkdir -p /tmp/${DATASET}/derivatives
sudo setfacl -d -m group:$(id -gn):rwx /tmp/${DATASET}/derivatives
sudo setfacl -m group:$(id -gn):rwx /tmp/${DATASET}/derivatives
Expand Down Expand Up @@ -569,6 +572,9 @@ jobs:
- run:
name: Setting up test
command: |
export PY3=$(pyenv versions | grep '3\.' |
sed -e 's/.* 3\./3./' -e 's/ .*//')
pyenv local $PY3
mkdir -p /tmp/${DATASET}/derivatives
sudo setfacl -d -m group:$(id -gn):rwx /tmp/${DATASET}/derivatives
sudo setfacl -m group:$(id -gn):rwx /tmp/${DATASET}/derivatives
Expand Down Expand Up @@ -724,6 +730,9 @@ jobs:
- run:
name: Setting up test
command: |
export PY3=$(pyenv versions | grep '3\.' |
sed -e 's/.* 3\./3./' -e 's/ .*//')
pyenv local $PY3
mkdir -p /tmp/${DATASET}/derivatives && sudo setfacl -d -m group:$(id -gn):rwx /tmp/${DATASET}/derivatives && sudo setfacl -m group:$(id -gn):rwx /tmp/${DATASET}/derivatives
pip install --upgrade pip setuptools
pip install --upgrade /tmp/src/fmriprep/wrapper/
Expand Down

0 comments on commit 36c290a

Please sign in to comment.