@@ -342,6 +342,20 @@ jobs:
342
342
pip install --upgrade twine future wheel readme_renderer setuptools
343
343
python setup.py check -r -s
344
344
python setup.py sdist bdist_wheel
345
+ - run :
346
+ name : Validate Python 2 installation
347
+ command : |
348
+ pyenv local 2.7.12
349
+ pip install dist/nipype-*-py2.py3-none-any.whl
350
+ # Futures should install in Python 2
351
+ pip show futures 2>/dev/null | grep "Name: futures"
352
+ - run :
353
+ name : Validate Python 3 installation
354
+ command : |
355
+ pyenv local 3.5.2
356
+ pip install dist/nipype-*-py2.py3-none-any.whl
357
+ # Futures should not install in Python 3
358
+ test $(pip show futures 2>/dev/null | wc -l) = "0"
345
359
- store_artifacts :
346
360
path : /home/circleci/nipype/dist
347
361
@@ -354,7 +368,7 @@ jobs:
354
368
- run :
355
369
name : Deploy to PyPI
356
370
command : |
357
- pip install twine future wheel readme_renderer
371
+ pip install --upgrade twine future wheel readme_renderer setuptools
358
372
python setup.py check -r -s
359
373
python setup.py sdist bdist_wheel
360
374
twine upload dist/*
@@ -395,6 +409,7 @@ workflows:
395
409
version : 2
396
410
build_test_deploy :
397
411
jobs :
412
+ - pypi_precheck
398
413
- compare_base_dockerfiles :
399
414
filters :
400
415
tags :
@@ -430,6 +445,7 @@ workflows:
430
445
tags :
431
446
only : /.*/
432
447
requires :
448
+ - pypi_precheck
433
449
- test_pytest
434
450
- update_feedstock :
435
451
context : nipybot
@@ -438,4 +454,3 @@ workflows:
438
454
only : /rel\/.*/
439
455
tags :
440
456
only : /.*/
441
- - pypi_precheck
0 commit comments