@@ -204,61 +204,6 @@ jobs:
204204 - /tmp/docker/cache/Dockerfile.base-pruned
205205 key : dockerfile-cache-v1-{{ .Branch }}-{{ checksum "/tmp/docker/cache/Dockerfile.base-pruned" }}
206206
207- pypi_precheck :
208- machine : *machine_kwds
209- working_directory : /home/circleci/nipype
210- steps :
211- - checkout :
212- path : /home/circleci/nipype
213- - run :
214- name : Check pypi preconditions
215- command : |
216- pyenv local 3.6.5
217- pip install --upgrade pip twine future wheel readme_renderer setuptools
218- python setup.py sdist bdist_wheel
219- twine check dist/*
220- - run :
221- name : Validate Python 3 installation
222- command : |
223- pyenv local 3.6.5
224- pip install --upgrade pip
225- pip install dist/nipype-*-py3-none-any.whl
226- - run :
227- name : Validate Python 3.7 installation
228- command : |
229- pyenv local 3.7.0
230- pip install --upgrade pip
231- # Pre-install a version of numpy that will not pass
232- pip install numpy==1.15.0
233- pip install dist/nipype-*-py3-none-any.whl
234- # Numpy should be upgraded to >= 1.15.3
235- test "$(pip show numpy | grep Version)" \> "Version: 1.15.2"
236- - run :
237- name : Check python_requires prevents installation on Python 3.3
238- command : |
239- pyenv install 3.3.7
240- pyenv local 3.3.7
241- FAIL=false
242- pip install dist/nipype-*-py2.py3-none-any.whl || FAIL=true
243- $FAIL
244- - store_artifacts :
245- path : /home/circleci/nipype/dist
246-
247- deploy_pypi :
248- machine : *machine_kwds
249- working_directory : /home/circleci/nipype
250- steps :
251- - checkout :
252- path : /home/circleci/nipype
253- - run :
254- name : Deploy to PyPI
255- command : |
256- pyenv local 3.6.5
257- pip install --upgrade twine wheel readme_renderer setuptools
258- python setup.py check -r -s
259- python setup.py sdist bdist_wheel
260- twine upload dist/*
261-
262207 update_feedstock :
263208 machine : *machine_kwds
264209 working_directory : /home/circleci/nipype
@@ -295,12 +240,6 @@ workflows:
295240 version : 2
296241 build_test_deploy :
297242 jobs :
298- - pypi_precheck :
299- filters :
300- branches :
301- only : /(rel|dev)\/.*/
302- tags :
303- only : /.*/
304243 - compare_base_dockerfiles :
305244 filters :
306245 branches :
@@ -325,15 +264,6 @@ workflows:
325264 only : /.*/
326265 requires :
327266 - test_pytest
328- - deploy_pypi :
329- filters :
330- branches :
331- ignore : /.*/
332- tags :
333- only : /.*/
334- requires :
335- - pypi_precheck
336- - test_pytest
337267 - update_feedstock :
338268 context : nipybot
339269 filters :
0 commit comments