8000 CI Use lock files for Windows builds (#23379) · scikit-learn/scikit-learn@69fee36 · GitHub
[go: up one dir, main page]

Skip to content

Commit 69fee36

Browse files
lesteveglemaitre
authored andcommitted
CI Use lock files for Windows builds (#23379)
1 parent 2c2fd56 commit 69fee36

9 files changed

+280
-40
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,13 @@ jobs:
275275
matrix:
276276
py38_conda_forge_mkl:
277277
DISTRIB: 'conda'
278-
CONDA_CHANNEL: 'conda-forge'
279-
PYTHON_VERSION: '3.8'
278+
LOCK_FILE: ./build_tools/azure/py38_conda_forge_mkl_win-64_conda.lock
280279
CHECK_WARNINGS: 'true'
281-
PYTHON_ARCH: '64'
282-
# Unpin when pytest stalling issue is fixed
283-
PYTEST_VERSION: '6.2.5'
284280
COVERAGE: 'true'
285281
SKLEARN_TESTS_GLOBAL_RANDOM_SEED: '7' # non-default seed
286282
py38_pip_openblas_32bit:
283+
DISTRIB: 'pip-windows'
287284
PYTHON_VERSION: '3.8'
288285
PYTHON_ARCH: '32'
286+
LOCK_FILE: ./build_tools/azure/py38_pip_openblas_32bit_lock.txt
289287
SKLEARN_TESTS_GLOBAL_RANDOM_SEED: '8' # non-default seed

build_tools/azure/install_win.sh

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,23 @@
33
set -e
44
set -x
55

6-
if [[ "$PYTHON_ARCH" == "64" ]]; then
7-
conda create -n $VIRTUALENV -q -y python=$PYTHON_VERSION numpy scipy cython matplotlib wheel pillow joblib
8-
6+
# defines the get_dep and show_installed_libraries functions
7+
source build_tools/shared.sh
8+
9+
if [[ "$DISTRIB" == "conda" ]]; then
10+
conda update -n base conda -y
11+
# TODO: update conda-lock version from time to time
12+
conda install pip -y
13+
pip install conda-lock==1.0.5
14+
conda-lock install --name $VIRTUALENV $LOCK_FILE
915
source activate $VIRTUALENV
10-
11-
pip install threadpoolctl
12-
13-
if [[ "$PYTEST_VERSION" == "*" ]]; then
14-
pip install pytest
15-
else
16-
pip install pytest==$PYTEST_VERSION
17-
fi
1816
else
19-
pip install numpy scipy cython pytest wheel pillow joblib threadpoolctl
20-
fi
21-
22-
if [[ "$PYTEST_XDIST_VERSION" != "none" ]]; then
23-
pip install pytest-xdist
24-
fi
25-
26-
if [[ "$COVERAGE" == "true" ]]; then
27-
# XXX: coverage is temporary pinned to 6.2 because 6.3 is not fork-safe
28-
# cf. https://github.com/nedbat/coveragepy/issues/1310
29-
pip install coverage codecov pytest-cov coverage==6.2
17+
python -m venv $VIRTUALENV
18+
source $VIRTUALENV/Scripts/activate
19+
pip install -r $LOCK_FILE
3020
fi
3121

32-
python --version
33-
pip --version
22+
show_installed_libraries
3423

3524
# Build scikit-learn
3625
python setup.py bdist_wheel
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# DO NOT EDIT: this file is generated from the specification found in the
2+
# following script to centralize the configuration for all Azure CI builds:
3+
# build_tools/update_environments_and_lock_files.py
4+
channels:
5+
- conda-forge
6+
dependencies:
7+
- python=3.8
8+
- numpy
9+
- blas[build=mkl]
10+
- scipy
11+
- cython
12+
- joblib
13+
- threadpoolctl
14+
- matplotlib
15+
- pytest=6.2.5
16+
- pytest-xdist
17+
- pillow
18+
- codecov
19+
- pytest-cov
20+
- coverage=6.2
21+
- wheel
22+
- pip
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
# Generated by conda-lock.
2+
# platform: win-64
3+
# input_hash: 05232660711e1b0074907c31600bace2ace58a920e879f252b9e4e5b3add11d7
4+
@EXPLICIT
5+
https://conda.anaconda.org/conda-forge/win-64/ca-certificates-2021.10.8-h5b45459_0.tar.bz2#2ddd48c9b52f7f65361b9645b2c5d370
6+
https://conda.anaconda.org/conda-forge/win-64/intel-openmp-2022.0.0-h57928b3_3663.tar.bz2#9617f0042f5eea1155970e6861f3ab6b
7+
https://conda.anaconda.org/conda-forge/win-64/mkl-include-2022.0.0-h0e2418a_796.tar.bz2#7e7184f5402aed0e2bf84d0e2cb215d1
8+
https://conda.anaconda.org/conda-forge/win-64/msys2-conda-epoch-20160418-1.tar.bz2#b0309b72560df66f71a9d5e34a5efdfa
9+
https://conda.anaconda.org/conda-forge/win-64/ucrt-10.0.20348.0-h57928b3_0.tar.bz2#6d666b6ea8251231ff508062d1e41f9c
10+
https://conda.anaconda.org/conda-forge/win-64/m2w64-gmp-6.1.0-2.tar.bz2#53a1c73e1e3d185516d7e3af177596d9
11+
https://conda.anaconda.org/conda-forge/win-64/m2w64-libwinpthread-git-5.0.0.4634.697f757-2.tar.bz2#774130a326dee16f1ceb05cc687ee4f0
12+
https://conda.anaconda.org/conda-forge/win-64/vs2015_runtime-14.29.30037-h902a5da_6.tar.bz2#33d07ebe91062743eabc9e53a60d18e1
13+
https://conda.anaconda.org/conda-forge/win-64/m2w64-gcc-libs-core-5.3.0-7.tar.bz2#4289d80fb4d272f1f3b56cfe87ac90bd
14+
https://conda.anaconda.org/conda-forge/win-64/vc-14.2-hb210afc_6.tar.bz2#c2aecbc9b00ba6f352e27d3d61fd31fb
15+
https://conda.anaconda.org/conda-forge/win-64/bzip2-1.0.8-h8ffe710_4.tar.bz2#7c03c66026944073040cb19a4f3ec3c9
16+
https://conda.anaconda.org/conda-forge/win-64/icu-70.1-h0e60522_0.tar.bz2#64073396a905b6df895ab2489fae3847
17+
https://conda.anaconda.org/conda-forge/win-64/jbig-2.1-h8d14728_2003.tar.bz2#37dcc26d63c315f6c0588579dca810da
18+
https://conda.anaconda.org/conda-forge/win-64/jpeg-9e-h8ffe710_1.tar.bz2#cda58df0a6d1165a82a0dfd59e9be5b0
19+
https://conda.anaconda.org/conda-forge/win-64/lerc-3.0-h0e60522_0.tar.bz2#756c8b51a32758df2ed6cddcc7b7ed58
20+
https://conda.anaconda.org/conda-forge/win-64/libbrotlicommon-1.0.9-h8ffe710_7.tar.bz2#e7b12a6cf353395dda7ed36b9041048b
21+
https://conda.anaconda.org/conda-forge/win-64/libdeflate-1.10-h8ffe710_0.tar.bz2#ad4246997621fdf913fe6f958bc16fd4
22+
https://conda.anaconda.org/conda-forge/win-64/libffi-3.4.2-h8ffe710_5.tar.bz2#2c96d1b6915b408893f9472569dee135
23+
https://conda.anaconda.org/conda-forge/win-64/libiconv-1.16-he774522_0.tar.bz2#bdfeadc9348e4d9fbe4821e81bf8f221
24+
https://conda.anaconda.org/conda-forge/win-64/libogg-1.3.4-h8ffe710_1.tar.bz2#04286d905a0dcb7f7d4a12bdfe02516d
25+
https://conda.anaconda.org/conda-forge/win-64/libwebp-base-1.2.2-h8ffe710_1.tar.bz2#24e23990217d3542fb821759a41d6ec2
26+
https://conda.anaconda.org/conda-forge/win-64/libzlib-1.2.11-h8ffe710_1014.tar.bz2#5e57ffcf6d651d94d329a3e9ce1f8f21
27+
https://conda.anaconda.org/conda-forge/win-64/lz4-c-1.9.3-h8ffe710_1.tar.bz2#d12763533276560a931c1bd3df1adf63
28+
https://conda.anaconda.org/conda-forge/win-64/m2w64-gcc-libgfortran-5.3.0-6.tar.bz2#066552ac6b907ec6d72c0ddab29050dc
29+
https://conda.anaconda.org/conda-forge/win-64/openssl-1.1.1o-h8ffe710_0.tar.bz2#afd7ea72111c4cc1fe8101ae2a321bda
30+
https://conda.anaconda.org/conda-forge/win-64/pcre-8.45-h0e60522_0.tar.bz2#3cd3948bb5de74ebef93b6be6d8cf0d5
31+
https://conda.anaconda.org/conda-forge/win-64/sqlite-3.38.5-h8ffe710_0.tar.bz2#9f9c961fc099c7c91a27f38890c42498
32+
https://conda.anaconda.org/conda-forge/win-64/tbb-2021.5.0-h2d74725_1.tar.bz2#8f00f39dbd7deaba11410b0b6e7b2cb4
33+
https://conda.anaconda.org/conda-forge/win-64/tk-8.6.12-h8ffe710_0.tar.bz2#c69a5047cc9291ae40afd4a1ad6f0c0f
34+
https://conda.anaconda.org/conda-forge/win-64/xz-5.2.5-h62dcd97_1.tar.bz2#eabcbfedd14d7c18a514afca09ea0ebb
35+
https://conda.anaconda.org/conda-forge/win-64/gettext-0.19.8.1-ha2e2712_1008.tar.bz2#7097f745c7b794ce3e2a1ffe3195580f
36+
https://conda.anaconda.org/conda-forge/win-64/krb5-1.19.3-h1176d77_0.tar.bz2#2e0d447ab95d58d3ea1222121ec57f9f
37+
https://conda.anaconda.org/conda-forge/win-64/libbrotlidec-1.0.9-h8ffe710_7.tar.bz2#ca57bf17ba92eed4ca2667a4c5df9343
38+
https://conda.anaconda.org/conda-forge/win-64/libbrotlienc-1.0.9-h8ffe710_7.tar.bz2#75c0a84c7f22d57cda6aaf7205b4a27c
39+
https://conda.anaconda.org/conda-forge/win-64/libclang13-14.0.3-default_h77d9078_0.tar.bz2#7e38ed4e8cde97ab81ac251c3cbe8212
40+
https://conda.anaconda.org/conda-forge/win-64/libvorbis-1.3.7-h0e60522_0.tar.bz2#e1a22282de0169c93e4ffe6ce6acc212
41+
https://conda.anaconda.org/conda-forge/win-64/libwebp-1.2.2-h57928b3_0.tar.bz2#80c0ce63cf8f69c5a5781ab7a9645942
42+
https://conda.anaconda.org/conda-forge/win-64/m2w64-gcc-libs-5.3.0-7.tar.bz2#fe759119b8b3bfa720b8762c6fdc35de
43+
https://conda.anaconda.org/conda-forge/win-64/mkl-2022.0.0-h0e2418a_796.tar.bz2#54baa34953c02445bfd6f566c45decbb
44+
https://conda.anaconda.org/conda-forge/win-64/python-3.8.13-h9a09f29_0_cpython.tar.bz2#41de0ad5db009f4f829f9d415a6a4200
45+
https://conda.anaconda.org/conda-forge/win-64/zlib-1.2.11-h8ffe710_1014.tar.bz2#8f3f8b243814bddb2898c314ed024e03
46+
https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.2-h6255e5f_1.tar.bz2#90702967af600ea2e2c7f7968c0ce099
47+
https://conda.anaconda.org/conda-forge/noarch/atomicwrites-1.4.0-pyh9f0ad1d_0.tar.bz2#5e36230ffaf3b7bb599424592684ae53
48+
https://conda.anaconda.org/conda-forge/noarch/attrs-21.4.0-pyhd8ed1ab_0.tar.bz2#f70280205d7044c8b8358c8de3190e5d
49+
https://conda.anaconda.org/conda-forge/win-64/brotli-bin-1.0.9-h8ffe710_7.tar.bz2#fd458f76be2068973734834202ac0352
50+
https://conda.anaconda.org/conda-forge/noarch/charset-normalizer-2.0.12-pyhd8ed1ab_0.tar.bz2#1f5b32dabae0f1893ae3283dac7f799e
51+
https://conda.anaconda.org/conda-forge/noarch/colorama-0.4.4-pyh9f0ad1d_0.tar.bz2#c08b4c1326b880ed44f3ffb04803332f
52+
https://conda.anaconda.org/conda-forge/noarch/cycler-0.11.0-pyhd8ed1ab_0.tar.bz2#a50559fad0affdbb33729a68669ca1cb
53+
https://conda.anaconda.org/conda-forge/noarch/execnet-1.9.0-pyhd8ed1ab_0.tar.bz2#0e521f7a5e60d508b121d38b04874fb2
54+
https://conda.anaconda.org/conda-forge/noarch/idna-3.3-pyhd8ed1ab_0.tar.bz2#40b50b8b030f5f2f22085c062ed013dd
55+
https://conda.anaconda.org/conda-forge/noarch/iniconfig-1.1.1-pyh9f0ad1d_0.tar.bz2#39161f81cc5e5ca45b8226fbb06c6905
56+
https://conda.anaconda.org/conda-forge/win-64/libblas-3.9.0-14_win64_mkl.tar.bz2#5166ac76c8e0607a2977cf3331e F42D d37a9
57+
https://conda.anaconda.org/conda-forge/win-64/libclang-14.0.3-default_h77d9078_0.tar.bz2#1988b8c400db69820a72e9a5015988e7
58+
https://conda.anaconda.org/conda-forge/win-64/libglib-2.70.2-h3be07f2_4.tar.bz2#355750a238b15920d75ec3c49554c3e3
59+
https://conda.anaconda.org/conda-forge/win-64/libpng-1.6.37-h1d00b33_2.tar.bz2#005ddb14b8f876ed6a85b76dfc9892db
60+
https://conda.anaconda.org/conda-forge/win-64/libtiff-4.3.0-hc4061b1_3.tar.bz2#2e9f4af7dd16047f2f370562fb9e81fc
61+
https://conda.anaconda.org/conda-forge/win-64/mkl-devel-2022.0.0-h57928b3_797.tar.bz2#88bea1a9a80bea1270e7017994142816
62+
https://conda.anaconda.org/conda-forge/noarch/munkres-1.1.4-pyh9f0ad1d_0.tar.bz2#2ba8498c1018c1e9c61eb99b973dfe19
63+
https://conda.anaconda.org/conda-forge/win-64/pthread-stubs-0.4-hcd874cb_1001.tar.bz2#a1f820480193ea83582b13249a7e7bd9
64+
https://conda.anaconda.org/conda-forge/noarch/py-1.11.0-pyh6c4a22f_0.tar.bz2#b4613d7e7a493916d867842a6a148054
65+
https://conda.anaconda.org/conda-forge/noarch/pycparser-2.21-pyhd8ed1ab_0.tar.bz2#076becd9e05608f8dc72757d5f3a91ff
66+
https://conda.anaconda.org/conda-forge/noarch/pyparsing-3.0.9-pyhd8ed1ab_0.tar.bz2#e8fbc1b54b25f4b08281467bc13b70cc
67+
https://conda.anaconda.org/conda-forge/win-64/python_abi-3.8-2_cp38.tar.bz2#80b95487563108d4cf92ff6384050751
68+
https://conda.anaconda.org/conda-forge/noarch/six-1.16.0-pyh6c4a22f_0.tar.bz2#e5f25f8dbc060e9a8d912e432202afc2
69+
https://conda.anaconda.org/conda-forge/noarch/threadpoolctl-3.1.0-pyh8a188c0_0.tar.bz2#a2995ee828f65687ac5b1e71a2ab1e0c
70+
https://conda.anaconda.org/conda-forge/noarch/toml-0.10.2-pyhd8ed1ab_0.tar.bz2#f832c45a477c78bebd107098db465095
71+
https://conda.anaconda.org/conda-forge/noarch/tomli-2.0.1-pyhd8ed1ab_0.tar.bz2#5844808ffab9ebdb694585b50ba02a96
72+
https://conda.anaconda.org/conda-forge/noarch/wheel-0.37.1-pyhd8ed1ab_0.tar.bz2#1ca02aaf78d9c70d9a81a3bed5752022
73+
https://conda.anaconda.org/conda-forge/win-64/xorg-libxau-1.0.9-hcd874cb_0.tar.bz2#9cef622e75683c17d05ae62d66e69e6c
74+
https://conda.anaconda.org/conda-forge/win-64/xorg-libxdmcp-1.1.3-hcd874cb_0.tar.bz2#46878ebb6b9cbd8afcf8088d7ef00ece
75+
https://conda.anaconda.org/conda-forge/win-64/brotli-1.0.9-h8ffe710_7.tar.bz2#bdd3236d1f6962e8e6953276d12b7e5b
76+
https://conda.anaconda.org/conda-forge/win-64/certifi-2021.10.8-py38haa244fe_2.tar.bz2#632c416a7b1cda7712254bc58dd3de10
77+
https://conda.anaconda.org/conda-forge/win-64/cffi-1.15.0-py38hd8c33c5_0.tar.bz2#b6a0fcd49b88b2fef6892785c8e33092
78+
https://conda.anaconda.org/conda-forge/win-64/coverage-6.2-py38h294d835_0.tar.bz2#9fcad0bc875eb5cf8b7e45e128cfd886
79+
https://conda.anaconda.org/conda-forge/win-64/cython-0.29.30-py38h885f38d_0.tar.bz2#7cdd65a187c9c04207b394b67c6cf64b
80+
https://conda.anaconda.org/conda-forge/win-64/freetype-2.10.4-h546665d_1.tar.bz2#1215a2e49d23da91c28d97cff8de35ea
81+
https://conda.anaconda.org/conda-forge/win-64/gstreamer-1.20.2-hdff456e_1.tar.bz2#ddebb9004ed53fbf745a2f69faf22b6b
82+
https://conda.anaconda.org/conda-forge/win-64/kiwisolver-1.4.2-py38hbd9d945_1.tar.bz2#171f7a504550a6093548f618df9a76f5
83+
https://conda.anaconda.org/conda-forge/win-64/lcms2-2.12-h2a16943_0.tar.bz2#fee639c27301c4165b4d1f7e442de8a5
84+
https://conda.anaconda.org/conda-forge/win-64/libcblas-3.9.0-14_win64_mkl.tar.bz2#b73477bd66b6efdcbcb8c7fb527794ae
85+
https://conda.anaconda.org/conda-forge/win-64/liblapack-3.9.0-14_win64_mkl.tar.bz2#741ce71c5f5522fbec9508830b05cc32
86+
https://conda.anaconda.org/conda-forge/win-64/libxcb-1.13-hcd874cb_1004.tar.bz2#a6d7fd030532378ecb6ba435cd9f8234
87+
https://conda.anaconda.org/conda-forge/win-64/openjpeg-2.4.0-hb211442_1.tar.bz2#0991d2e943e5ba7ec9b7b32eec14e2e3
88+
https://conda.anaconda.org/conda-forge/noarch/packaging-21.3-pyhd8ed1ab_0.tar.bz2#71f1ab2de48613876becddd496371c85
89+
https://conda.anaconda.org/conda-forge/win-64/pluggy-1.0.0-py38haa244fe_3.tar.bz2#bd23d4e34ce9647a448d8048be89b2dd
90+
https://conda.anaconda.org/conda-forge/noarch/python-dateutil-2.8.2-pyhd8ed1ab_0.tar.bz2#dd999d1cc9f79e67dbb855c8924c7984
< 179B /code>91+
https://conda.anaconda.org/conda-forge/win-64/setuptools-62.3.1-py38haa244fe_0.tar.bz2#920449401ee73243bf2d4c8f9bc40892
92+
https://conda.anaconda.org/conda-forge/win-64/tornado-6.1-py38h294d835_3.tar.bz2#f7ac7c9ee9c07ff085df3564b9ea70f2
93+
https://conda.anaconda.org/conda-forge/win-64/unicodedata2-14.0.0-py38h294d835_1.tar.bz2#957e1074c481cbeba55ac1a5e4c07637
94+
https://conda.anaconda.org/conda-forge/win-64/win_inet_pton-1.1.0-py38haa244fe_4.tar.bz2#8adadd81dc9c22710b69628ec6e6d41a
95+
https://conda.anaconda.org/conda-forge/win-64/brotlipy-0.7.0-py38h294d835_1004.tar.bz2#f12a527d29a252cef0abbfd752d3ab01
96+
https://conda.anaconda.org/conda-forge/win-64/cryptography-36.0.2-py38hb7941b4_1.tar.bz2#e8c71e699193603b90555aec63d5e60f
97+
https://conda.anaconda.org/conda-forge/win-64/fonttools-4.33.3-py38h294d835_0.tar.bz2#092c08f5f754280122530958639839d1
98+
https://conda.anaconda.org/conda-forge/win-64/gst-plugins-base-1.20.2-he07aa86_1.tar.bz2#fb9c7ea19dea6268a5cb8cf6b43ebca9
99+
https://conda.anaconda.org/conda-forge/noarch/joblib-1.1.0-pyhd8ed1ab_0.tar.bz2#07d1b5c8cde14d95998fd4767e1e62d2
100+
https://conda.anaconda.org/conda-forge/win-64/liblapacke-3.9.0-14_win64_mkl.tar.bz2#7f34614de31d915e048f9fc5d50c9529
101+
https://conda.anaconda.org/conda-forge/win-64/numpy-1.22.3-py38h1d2777f_2.tar.bz2#1d64035cbc8ce5ce5659001caf5a019c
102+
https://conda.anaconda.org/conda-forge/win-64/pillow-9.1.1-py38hd8e0db4_0.tar.bz2#c14d08dfe6367ae2d8db3c785094ef9b
103+
https://conda.anaconda.org/conda-forge/noarch/pip-22.1-pyhd8ed1ab_0.tar.bz2#bc23e31a667caa608150cbd34b4e4796
104+
https://conda.anaconda.org/conda-forge/win-64/pysocks-1.7.1-py38haa244fe_5.tar.bz2#81fd9157802c3d99efc4a24563cfe885
105+
https://conda.anaconda.org/conda-forge/win-64/pytest-6.2.5-py38haa244fe_2.tar.bz2#cde2cd74dd2f599d7313ccad592ec0e9
106+
https://conda.anaconda.org/conda-forge/win-64/sip-6.5.1-py38h885f38d_2.tar.bz2#61080bcdb3a9c61ef47d8afc7eae5232
107+
https://conda.anaconda.org/conda-forge/win-64/blas-devel-3.9.0-14_win64_mkl.tar.bz2#5b29a65b3456d68f42b8eb516409316a
108+
https://conda.anaconda.org/conda-forge/win-64/matplotlib-base-3.5.2-py38he529843_0.tar.bz2#437b6a636997b284e69d33360d88e634
109+
https://conda.anaconda.org/conda-forge/noarch/pyopenssl-22.0.0-pyhd8ed1ab_0.tar.bz2#1d7e241dfaf5475e893d4b824bb71b44
110+
https://conda.anaconda.org/conda-forge/win-64/pyqt5-sip-12.9.0-py38h885f38d_0.tar.bz2#61ec05b4445091a90a769785710f2e2c
111+
https://conda.anaconda.org/conda-forge/noarch/pytest-cov-3.0.0-pyhd8ed1ab_0.tar.bz2#0f7cac11bb696b62d378bde725bfc3eb
112+
https://conda.anaconda.org/conda-forge/noarch/pytest-forked-1.4.0-pyhd8ed1ab_0.tar.bz2#95286e05a617de9ebfe3246cecbfb72f
113+
https://conda.anaconda.org/conda-forge/win-64/qt-main-5.15.3-h467ea89_1.tar.bz2#a6148c66e63782296ae0ccbc60745693
114+
https://conda.anaconda.org/conda-forge/win-64/scipy-1.8.0-py38ha1292f7_1.tar.bz2#18623ace6c1d5a2e1c1b294cab3f994c
115+
https://conda.anaconda.org/conda-forge/win-64/blas-2.114-mkl.tar.bz2#df41b867954336603ad9c8d21a829867
116+
https://conda.anaconda.org/conda-forge/win-64/pyqt-5.15.4-py38h885f38d_0.tar.bz2#a7855cbd399e5c173739a1122420db9b
117+
https://conda.anaconda.org/conda-forge/noarch/pytest-xdist-2.5.0-pyhd8ed1ab_0.tar.bz2#1fdd1f3baccf0deb647385c677a1a48e
118+
https://conda.anaconda.org/conda-forge/noarch/urllib3-1.26.9-pyhd8ed1ab_0.tar.bz2#0ea179ee251aa7100807c35bc0252693
119+
https://conda.anaconda.org/conda-forge/win-64/matplotlib-3.5.2-py38haa244fe_0.tar.bz2#3f67b7e43451da103b28f5fab2fe8feb
120+
https://conda.anaconda.org/conda-forge/noarch/requests-2.27.1-pyhd8ed1ab_0.tar.bz2#7c1c427246b057b8fa97200ecdb2ed62
121+
https://conda.anaconda.org/conda-forge/noarch/codecov-2.1.11-pyhd3deb0d_0.tar.bz2#9c661c2c14b4667827218402e6624ad5
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#
2+
# This file is autogenerated by pip-compile with python 3.8
3+
# To update, run:
4+
#
5+
# pip-compile --output-file=build_tools/azure/py38_pip_openblas_32bit_lock.txt build_tools/azure/py38_pip_openblas_32bit_requirements.txt
6+
#
7+
attrs==21.4.0
8+
# via pytest
9+
cython==0.29.30
10+
# via -r build_tools/azure/py38_pip_openblas_32bit_requirements.txt
11+
execnet==1.9.0
12+
# via pytest-xdist
13+
iniconfig==1.1.1
14+
# via pytest
15+
joblib==1.1.0
16+
# via -r build_tools/azure/py38_pip_openblas_32bit_requirements.txt
17+
numpy==1.22.3
18+
# via
19+
# -r build_tools/azure/py38_pip_openblas_32bit_requirements.txt
20+
# scipy
21+
packaging==21.3
22+
# via pytest
23+
pillow==9.1.1
24+
# via -r build_tools/azure/py38_pip_openblas_32bit_requirements.txt
25+
pluggy==1.0.0
26+
# via pytest
27+
py==1.11.0
28+
# via
29+
# pytest
30+
# pytest-forked
31+
pyparsing==3.0.9
32+
# via packaging
33+
pytest==6.2.5
34+
# via
35+
# -r build_tools/azure/py38_pip_openblas_32bit_requirements.txt
36+
# pytest-forked
37+
# pytest-xdist
38+
pytest-forked==1.4.0
39+
# via pytest-xdist
40+
pytest-xdist==2.5.0
41+
# via -r build_tools/azure/py38_pip_openblas_32bit_requirements.txt
42+
scipy==1.8.1
43+
# via -r build_tools/azure/py38_pip_openblas_32bit_requirements.txt
44+
threadpoolctl==3.1.0
45+
# via -r build_tools/azure/py38_pip_openblas_32bit_requirements.txt
46+
toml==0.10.2
47+
# via pytest
48+
wheel==0.37.1
49+
# via -r build_tools/azure/py38_pip_openblas_32bit_requirements.txt
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# DO NOT EDIT: this file is generated from the specification found in the
2+
# following script to centralize the configuration for all Azure CI builds:
3+
# build_tools/update_environments_and_lock_files.py
4+
numpy
5+
scipy
6+
cython
7+
joblib
8+
threadpoolctl
9+
pytest==6.2.5
10+
pytest-xdist
11+
pillow
12+
wheel

build_tools/azure/test_script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ if [[ "$DISTRIB" =~ ^conda.* ]]; then
99
source activate $VIRTUALENV
1010
elif [[ "$DISTRIB" == "ubuntu" || "$DISTRIB" == "debian-32" || "$DISTRIB" == "pip-nogil" ]]; then
1111
source $VIRTUALENV/bin/activate
12+
elif [[ "$DISTRIB" == "pip-windows" ]]; then
13+
source $VIRTUALENV/Scripts/activate
1214
fi
1315

1416
if [[ "$BUILD_WITH_ICC" == "true" ]]; then

build_tools/azure/windows.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
VIRTUALENV: 'testvenv'
1717
JUNITXML: 'test-data.xml'
1818
SKLEARN_SKIP_NETWORK_TESTS: '1'
19-
PYTEST_VERSION: '5.2.1'
2019
PYTEST_XDIST_VERSION: 'latest'
2120
TEST_DIR: '$(Agent.WorkFolder)/tmp_folder'
2221
SHOW_SHORT_SUMMARY: 'false'
@@ -30,8 +29,8 @@ jobs:
3029
displayName: Check selected tests for all random seeds
3130
condition: eq(variables['Build.Reason'], 'PullRequest')
3231
- bash: echo "##vso[task.prependpath]$CONDA/Scripts"
33-
displayName: Add conda to PATH for 64 bit Python
34-
condition: eq(variables['PYTHON_ARCH'], '64')
32+
displayName: Add conda to PATH
33+
condition: startsWith(variables['DISTRIB'], 'conda')
3534
- task: UsePythonVersion@0
3635
inputs:
3736
versionSpec: '$(PYTHON_VERSION)'

0 commit comments

Comments
 (0)
0