@@ -260,7 +260,7 @@ jobs:
260
260
261
261
build_docs :
262
262
docker :
263
- - image : python:latest
263
+ - image : python:latest
264
264
working_directory : /tmp/src/fmriprep
265
265
environment :
266
266
- FSLOUTPUTTYPE : ' NIFTI'
@@ -771,16 +771,15 @@ jobs:
771
771
fi
772
772
773
773
test_deploy_pypi :
774
- machine :
775
- image : circleci/classic:201711-01
774
+ docker :
775
+ - image : circleci/python:3.7.4
776
776
working_directory : /tmp/src/fmriprep
777
777
steps :
778
778
- checkout
779
779
- run :
780
780
name : Build fMRIPrep
781
781
command : |
782
- pyenv local 3.5.2
783
- pip install twine # For use in checking distributions
782
+ pip install --user twine # For use in checking distributions
784
783
THISVERSION=$( python get_version.py )
785
784
THISVERSION=${THISVERSION%.dirty*}
786
785
THISVERSION=${CIRCLE_TAG:-$THISVERSION}
@@ -795,7 +794,6 @@ jobs:
795
794
- run :
796
795
name : Check sdist distribution
797
796
command : |
798
- pyenv local 3.5.2
799
797
THISVERSION=$( python get_version.py )
800
798
THISVERSION=${THISVERSION%.dirty*}
801
799
THISVERSION=${CIRCLE_TAG:-$THISVERSION}
@@ -814,7 +812,6 @@ jobs:
814
812
- run :
815
813
name : Check wheel distribution
816
814
command : |
817
- pyenv local 3.5.2
818
815
THISVERSION=$( python get_version.py )
819
816
THISVERSION=${THISVERSION%.dirty*}
820
817
THISVERSION=${CIRCLE_TAG:-$THISVERSION}
@@ -832,7 +829,6 @@ jobs:
832
829
- run :
833
830
name : Build fmriprep-docker
834
831
command : |
835
- pyenv local 3.5.2
836
832
THISVERSION=$( python get_version.py )
837
833
THISVERSION=${THISVERSION%.dirty*}
838
834
cd wrapper
@@ -846,15 +842,14 @@ jobs:
846
842
path : /tmp/src/fmriprep/wrapper/dist
847
843
848
844
deploy_pypi :
849
- machine :
850
- image : circleci/classic:201711-01
845
+ docker :
846
+ - image : circleci/python:3.7.4
851
847
working_directory : /tmp/src/fmriprep
852
848
steps :
853
849
- checkout
854
850
- run :
855
851
name : Build fMRIPrep
856
852
command : |
857
- pyenv local 3.5.2
858
853
THISVERSION=$( python get_version.py )
859
854
virtualenv --python=python build
860
855
source build/bin/activate
@@ -866,7 +861,6 @@ jobs:
866
861
- run :
867
862
name : Build fmriprep-docker
868
863
command : |
869
- pyenv local 3.5.2
870
864
THISVERSION=$( python get_version.py )
871
865
cd wrapper
872
866
virtualenv --python=python build
@@ -878,8 +872,7 @@ jobs:
878
872
- run :
879
873
name : Upload packages to PyPI
880
874
command : |
881
- pyenv local 3.5.2
882
- pip install twine
875
+ pip install --user twine
883
876
twine upload dist/fmriprep* wrapper/dist/fmriprep*
884
877
885
878
deployable :
0 commit comments