@@ -1013,14 +1013,14 @@ jobs:
10131013
10141014 test_deploy_pypi :
10151015 docker :
1016- - image : circleci/python:3.7.4
1016+ - image : circleci/python:3.8.5
10171017 working_directory : /tmp/src/fmriprep
10181018 steps :
10191019 - checkout
10201020 - run :
10211021 name : Build fMRIPrep
10221022 command : |
1023- pip install --user --upgrade twine importlib-metadata # For use in checking distributions
1023+ python -m pip install --user twine # For use in checking distributions
10241024 THISVERSION=$( python get_version.py )
10251025 THISVERSION=${THISVERSION%.dirty*}
10261026 THISVERSION=${CIRCLE_TAG:-$THISVERSION}
@@ -1029,7 +1029,7 @@ jobs:
10291029 pip install --upgrade "pip>=19.1" numpy
10301030 echo "${CIRCLE_TAG:-$THISVERSION}" > fmriprep/VERSION
10311031 python setup.py sdist
1032- pip wheel --no-deps -w dist/ .
1032+ python -m pip wheel --no-deps -w dist/ .
10331033 - store_artifacts :
10341034 path : /tmp/src/fmriprep/dist
10351035 - run :
@@ -1038,11 +1038,11 @@ jobs:
10381038 THISVERSION=$( python get_version.py )
10391039 THISVERSION=${THISVERSION%.dirty*}
10401040 THISVERSION=${CIRCLE_TAG:-$THISVERSION}
1041- twine check dist/fmriprep*.tar.gz
1041+ python -m twine check dist/fmriprep*.tar.gz
10421042 virtualenv --python=python sdist
10431043 source sdist/bin/activate
1044- pip install --upgrade "pip>=19.1" numpy
1045- pip install dist/fmriprep*.tar.gz
1044+ python -m pip install --upgrade "pip>=19.1" numpy
1045+ python -m pip install dist/fmriprep*.tar.gz
10461046 which fmriprep | grep sdist\\/bin
10471047 INSTALLED_VERSION=$(fmriprep --version)
10481048 INSTALLED_VERSION=${INSTALLED_VERSION%$'\r'}
@@ -1056,10 +1056,10 @@ jobs:
10561056 THISVERSION=$( python get_version.py )
10571057 THISVERSION=${THISVERSION%.dirty*}
10581058 THISVERSION=${CIRCLE_TAG:-$THISVERSION}
1059- twine check dist/fmriprep*.whl
1059+ python -m twine check dist/fmriprep*.whl
10601060 virtualenv --python=python wheel
10611061 source wheel/bin/activate
1062- pip install dist/fmriprep*.whl
1062+ python -m pip install dist/fmriprep*.whl
10631063 which fmriprep | grep wheel\\/bin
10641064 INSTALLED_VERSION=$(fmriprep --version)
10651065 INSTALLED_VERSION=${INSTALLED_VERSION%$'\r'}
@@ -1075,16 +1075,16 @@ jobs:
10751075 cd wrapper
10761076 virtualenv --python=python build
10771077 source build/bin/activate
1078- pip install --upgrade "pip>=19.1"
1078+ python -m pip install --upgrade "pip>=19.1"
10791079 sed -i -E "s/(__version__ = )'[A-Za-z0-9.-]+'/\1'${CIRCLE_TAG:-$THISVERSION}'/" fmriprep_docker.py
10801080 python setup.py sdist
1081- pip wheel --no-deps -w dist/ .
1081+ python -m pip wheel --no-deps -w dist/ .
10821082 - store_artifacts :
10831083 path : /tmp/src/fmriprep/wrapper/dist
10841084
10851085 deploy_pypi :
10861086 docker :
1087- - image : circleci/python:3.7.4
1087+ - image : circleci/python:3.8.5
10881088 working_directory : /tmp/src/fmriprep
10891089 steps :
10901090 - checkout
@@ -1094,26 +1094,26 @@ jobs:
10941094 THISVERSION=$( python get_version.py )
10951095 virtualenv --python=python build
10961096 source build/bin/activate
1097- pip install --upgrade "pip>=19.1"
1097+ python -m pip install --upgrade "pip>=19.1"
10981098 echo "${CIRCLE_TAG:-$THISVERSION}" > fmriprep/VERSION
10991099 python setup.py sdist
1100- pip wheel --no-deps -w dist/ .
1100+ python -m pip wheel --no-deps -w dist/ .
11011101 - run :
11021102 name : Build fmriprep-docker
11031103 command : |
11041104 THISVERSION=$( python get_version.py )
11051105 cd wrapper
11061106 virtualenv --python=python build
11071107 source build/bin/activate
1108- pip install --upgrade "pip>=19.1"
1108+ python -m pip install --upgrade "pip>=19.1"
11091109 sed -i -E "s/(__version__ = )'[A-Za-z0-9.-]+'/\1'${CIRCLE_TAG:-$THISVERSION}'/" fmriprep_docker.py
11101110 python setup.py sdist
1111- pip wheel --no-deps -w dist/ .
1111+ python -m pip wheel --no-deps -w dist/ .
11121112 - run :
11131113 name : Upload packages to PyPI
11141114 command : |
1115- pip install --user --upgrade twine importlib-metadata
1116- twine upload dist/fmriprep* wrapper/dist/fmriprep*
1115+ python -m pip install --user twine
1116+ python -m twine upload dist/fmriprep* wrapper/dist/fmriprep*
11171117
11181118 deployable :
11191119 docker :
0 commit comments