1+ trigger :
2+ branches :
3+ include :
4+ - master
5+ - release/*
6+ tags :
7+ include :
8+ - v*
9+
110variables :
211 IMAGECODECS_CIBW : 1
3- CIBW_MANYLINUX_X86_64_IMAGE : cgohlke/imagecodecs_manylinux2014_x86_64:2022.12.22
4- CIBW_MANYLINUX_I686_IMAGE : cgohlke/imagecodecs_manylinux2014_i686:2022.12.22
5- CIBW_MANYLINUX_PYPY_X86_64_IMAGE : cgohlke/imagecodecs_manylinux2014_x86_64:2022.12.22
6- CIBW_ENVIRONMENT : " AEC_TEST_EXTENDED=1 IMAGECODECS_CIBW=1"
7- CIBW_BEFORE_BUILD : " pip install oldest-supported-numpy cython auditwheel==4.0.0"
8- CIBW_TEST_COMMAND : python -m pytest {project}/imagecodecs_src/tests/ --timeout=300
9- CIBW_TEST_REQUIRES : -r requirements_azure.txt
1012 AEC_TEST_EXTENDED : 1
1113 BASE_PATH : $(Build.Repository.LocalPath)
1214 LD_LIBRARY_PATH : $(Build.Repository.LocalPath)/build_utils/libs_build/lib
@@ -61,7 +63,7 @@ stages:
6163 python -m pip install numpy cython wheel
6264 displayName: "Install dependencies"
6365
64- - bash : pip install ${CIBW_TEST_REQUIRES}
66+ - bash : pip install -r requirements_azure.txt
6567 displayName : " install test dependencies"
6668
6769 - script : pip install -e imagecodecs_src
@@ -76,7 +78,6 @@ stages:
7678 pool : { vmImage: "macos-11" }
7779 timeoutInMinutes : 100
7880 variables :
79- CIBW_SKIP : " pp*"
8081 LIBRARY_PATH : $(LD_LIBRARY_PATH)
8182 LD_RUNPATH_SEARCH_PATH : $(LD_LIBRARY_PATH)
8283 DYLD_FALLBACK_LIBRARY_PATH : $(LD_LIBRARY_PATH)
@@ -134,7 +135,6 @@ stages:
134135 pool : { vmImage: "macos-11" }
135136 timeoutInMinutes : 150
136137 variables :
137- CIBW_SKIP : " pp* cp37*"
138138 LIBRARY_PATH : $(LD_LIBRARY_PATH)
139139 DYLD_LIBRARY_PATH : $(LD_LIBRARY_PATH)
140140 LD_RUNPATH_SEARCH_PATH : $(LD_LIBRARY_PATH)
@@ -179,7 +179,7 @@ stages:
179179 python -m pip install cibuildwheel
180180 displayName: "Install dependencies"
181181
182- - script : cibuildwheel ./imagecodecs_src
182+ - script : cibuildwheel ./imagecodecs_src --config-file pyproject.toml
183183 displayName : " cibuildwheel"
184184
185185 - task : PublishBuildArtifacts@1
@@ -199,13 +199,6 @@ stages:
199199 manylinux2014_i686 :
200200 CIBW_SKIP : " *64 pp* cp37* cp310* *-musllinux_i686"
201201 pool : { vmImage: "Ubuntu-20.04" }
202- variables :
203- # work around ... to "manylinux2014_x86_64" ABI because of the presence of too-recent versioned symbols
204- # use auditwheel=4.0.0
205- # CIBW_REPAIR_WHEEL_COMMAND: "python -m auditwheel --verbose repair -w {dest_dir} {wheel}"
206- CIBW_REPAIR_WHEEL_COMMAND : " python -m auditwheel repair -w {dest_dir} {wheel}"
207- # snappy-devel is required for building python-snappy
208- CIBW_BEFORE_TEST : " yum install -y snappy-devel;pip install scikit_build; pip install cmake"
209202 steps :
210203 - checkout : self
211204 submodules : true
@@ -220,7 +213,7 @@ stages:
220213 python -m pip install cibuildwheel
221214 displayName: "Install dependencies"
222215
223- - script : cibuildwheel ./imagecodecs_src
216+ - script : cibuildwheel ./imagecodecs_src --config-file pyproject.toml
224217 displayName : " cibuildwheel"
225218
226219 - task : PublishBuildArtifacts@1
0 commit comments