2424 install : ['setup']
2525 check : ['test']
2626 pip-flags : ['']
27- depends : ['DEFAULT_DEPENDS']
27+ depends : ['REQUIREMENTS']
28+ optional-depends : ['DEFAULT_OPT_DEPENDS']
2829 include :
2930 # Basic dependencies only
3031 - os : ubuntu-latest
@@ -33,20 +34,23 @@ jobs:
3334 check : test
3435 pip-flags : ' '
3536 depends : REQUIREMENTS
37+ optional-depends : ' '
3638 # Absolute minimum dependencies
3739 - os : ubuntu-latest
3840 python-version : 3.6
3941 install : setup
4042 check : test
4143 pip-flags : ' '
4244 depends : MIN_REQUIREMENTS
45+ optional-depends : ' '
4346 # Absolute minimum dependencies plus old MPL, Pydicom, Pillow
4447 - os : ubuntu-latest
4548 python-version : 3.6
4649 install : setup
4750 check : test
4851 pip-flags : ' '
49- depends : MIN_REQUIREMENTS_PLUS
52+ depends : MIN_REQUIREMENTS
53+ optional-depends : MIN_OPT_DEPENDS
5054 # Clean install imports only with package-declared dependencies
5155 - os : ubuntu-latest
5256 python-version : 3.6
@@ -60,39 +64,30 @@ jobs:
6064 install : wheel
6165 check : test
6266 pip-flags : ' '
63- depends : DEFAULT_DEPENDS
67+ depends : REQUIREMENTS
68+ optional-depends : DEFAULT_OPT_DEPENDS
6469 - os : ubuntu-latest
6570 python-version : 3.8
6671 install : sdist
6772 check : test
6873 pip-flags : ' '
69- depends : DEFAULT_DEPENDS
74+ depends : REQUIREMENTS
75+ optional-depends : DEFAULT_OPT_DEPENDS
7076 - os : ubuntu-latest
7177 python-version : 3.8
7278 install : archive
7379 check : test
7480 pip-flags : ' '
75- depends : DEFAULT_DEPENDS
81+ depends : REQUIREMENTS
82+ optional-depends : DEFAULT_OPT_DEPENDS
7683 exclude :
7784 - os : ubuntu-latest
7885 architecture : x86
7986 - os : macos-latest
8087 architecture : x86
8188 env :
82- # Options
83- SETUP_REQUIRES : ' pip setuptools>=30.3.0 wheel'
84- # Dependencies that should always be installable
85- DEFAULT_DEPENDS : ' numpy scipy matplotlib pillow pydicom'
86- REQUIREMENTS : ' -r requirements.txt'
87- # Full advertised range
88- MIN_REQUIREMENTS : ' -r min-requirements.txt'
89- MIN_REQUIREMENTS_PLUS : ' -r min-requirements.txt matplotlib==1.5.3 pydicom==0.9.9 pillow==2.6'
90- PYDICOM_MASTER : ' numpy git+https://github.com/pydicom/pydicom.git@master'
91- # Might not find wheels for these
92- OPTIONAL_DEPENDS : ' h5py indexed_gzip'
93- PRE_PIP_FLAGS : ' --pre --extra-index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple'
94- # Selection
9589 DEPENDS : ${{ matrix.depends }}
90+ OPTIONAL_DEPENDS : ${{ matrix.optional-depends }}
9691 INSTALL_TYPE : ${{ matrix.install }}
9792 CHECK_TYPE : ${{ matrix.check }}
9893 EXTRA_PIP_FLAGS : ${{ matrix.pip-flags }}
@@ -110,7 +105,7 @@ jobs:
110105 - name : Display Python version
111106 run : python -c "import sys; print(sys.version)"
112107 - name : Create virtual environment
113- run : tools/ci/create_env .sh
108+ run : tools/ci/create_venv .sh
114109 - name : Build archive
115110 run : |
116111 source tools/ci/build_archive.sh
0 commit comments