@@ -204,61 +204,6 @@ jobs:
204
204
- /tmp/docker/cache/Dockerfile.base-pruned
205
205
key : dockerfile-cache-v1-{{ .Branch }}-{{ checksum "/tmp/docker/cache/Dockerfile.base-pruned" }}
206
206
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
-
262
207
update_feedstock :
263
208
machine : *machine_kwds
264
209
working_directory : /home/circleci/nipype
@@ -295,12 +240,6 @@ workflows:
295
240
version : 2
296
241
build_test_deploy :
297
242
jobs :
298
- - pypi_precheck :
299
- filters :
300
- branches :
301
- only : /(rel|dev)\/.*/
302
- tags :
303
- only : /.*/
304
243
- compare_base_dockerfiles :
305
244
filters :
306
245
branches :
@@ -325,15 +264,6 @@ workflows:
325
264
only : /.*/
326
265
requires :
327
266
- test_pytest
328
- - deploy_pypi :
329
- filters :
330
- branches :
331
- ignore : /.*/
332
- tags :
333
- only : /.*/
334
- requires :
335
- - pypi_precheck
336
- - test_pytest
337
267
- update_feedstock :
338
268
context : nipybot
339
269
filters :
0 commit comments