blob: 0a28e76064296edea609eb52e57555689c23c0a3 [file] [log] [blame]
Robert Iannucci11a975f2017-08-31 17:31:411# This is a vpython "spec" file.
2#
3# It describes patterns for python wheel dependencies of the python scripts in
4# the chromium repo, particularly for dependencies that have compiled components
5# (since pure-python dependencies can be easily vendored into third_party).
6#
7# When vpython is invoked, it finds this file and builds a python VirtualEnv,
8# containing all of the dependencies described in this file, fetching them from
9# CIPD (the "Chrome Infrastructure Package Deployer" service). Unlike `pip`,
10# this never requires the end-user machine to have a working python extension
11# compilation environment. All of these packages are built using:
12# https://chromium.googlesource.com/infra/infra/+/master/infra/tools/dockerbuild/
13#
14# All python scripts in the repo share this same spec, to avoid dependency
15# fragmentation.
16#
17# If you have depot_tools installed in your $PATH, you can invoke python scripts
18# in this repo by running them as you normally would run them, except
19# substituting `vpython` instead of `python` on the command line, e.g.:
20# vpython path/to/script.py some --arguments
21#
22# Read more about `vpython` and how to modify this file here:
23# https://chromium.googlesource.com/infra/infra/+/master/doc/users/vpython.md
Ben Pastene006cf3e2020-02-10 23:56:5124#
25# For the definition of this spec, see:
26# https://chromium.googlesource.com/infra/luci/luci-go/+/master/vpython/api/vpython/spec.proto
Robert Iannucci11a975f2017-08-31 17:31:4127
28python_version: "2.7"
29
30# Used by:
Ben Pasteneba744c00f2019-04-26 23:59:1931# build/chromeos/test_runner.py
32wheel: <
33 name: "infra/python/wheels/jsonlines-py2_py3"
34 version: "version:1.2.0"
35>
Ben Pastene006cf3e2020-02-10 23:56:5136wheel: <
37 name: "infra/python/wheels/subprocess32/${vpython_platform}"
38 version: "version:3.5.0rc1"
39 # Only download for linux since we shouldn't be running CrOS tests on mac/win.
40 match_tag: <
41 abi: "cp27mu"
42 platform: "manylinux1_i686"
43 >
44 match_tag: <
45 abi: "cp27mu"
46 platform: "manylinux1_x86_64"
47 >
48>
Ben Pasteneba744c00f2019-04-26 23:59:1949
50# Used by:
51# build/chromeos/test_runner.py
Robert Iannucci11a975f2017-08-31 17:31:4152# third_party/catapult
Dan Jacques8bc58822017-10-17 02:00:1353#
54# This version must be compatible with the version range specified by
55# //third_party/catapult/telemetry/telemetry/internal/util/external_modules.py
Robert Iannucci11a975f2017-08-31 17:31:4156wheel: <
Nodir Turakulove2d81c32017-11-10 07:47:2757 name: "infra/python/wheels/psutil/${vpython_platform}"
Robert Iannucci11a975f2017-08-31 17:31:4158 version: "version:5.2.2"
59>
Dan Jacques8bc58822017-10-17 02:00:1360
61# Used by:
62# third_party/catapult
63#
64# This version must be compatible with the version range specified by
65# //third_party/catapult/telemetry/telemetry/internal/util/external_modules.py
66#
67# This version must also be compatible with the "numpy" version, as "cv2"
68# depends on "numpy". In this case, [email protected] has been built against
69# [email protected].
Dan Jacques271694702017-09-08 21:38:4870wheel: <
Nodir Turakulove2d81c32017-11-10 07:47:2771 name: "infra/python/wheels/opencv_python/${vpython_platform}"
Dan Jacques8bc58822017-10-17 02:00:1372 version: "version:2.4.13.2"
Dan Jacques271694702017-09-08 21:38:4873 match_tag: <
74 platform: "win32"
75 >
76 match_tag: <
77 platform: "win_amd64"
78 >
79 match_tag: <
80 abi: "cp27mu"
81 platform: "manylinux1_i686"
82 >
83 match_tag: <
84 abi: "cp27mu"
85 platform: "manylinux1_x86_64"
86 >
87 match_tag: <
88 platform: "macosx_10_6_intel"
89 >
90>
Dan Jacques8bc58822017-10-17 02:00:1391
92# Used by:
93# third_party/catapult
94#
95# This version must be compatible with the version range specified by
96# //third_party/catapult/telemetry/telemetry/internal/util/external_modules.py
Dan Jacques271694702017-09-08 21:38:4897wheel: <
Nodir Turakulove2d81c32017-11-10 07:47:2798 name: "infra/python/wheels/numpy/${vpython_platform}"
Dan Jacques8bc58822017-10-17 02:00:1399 version: "version:1.11.3"
Dan Jacques271694702017-09-08 21:38:48100>
Nodir Turakulove2d81c32017-11-10 07:47:27101
102# Used by:
103# third_party/catapult
104wheel: <
105 name: "infra/python/wheels/pypiwin32/${vpython_platform}"
106 version: "version:219"
107 match_tag: <
108 platform: "win32"
109 >
110 match_tag: <
111 platform: "win_amd64"
112 >
113>
Benjamin Pasteneb948e0752017-11-14 17:47:10114
115# Used by:
Arthur Wang95d62d42020-06-03 04:53:25116# chrome/test/data/android/upload_download_utils_test.py
117wheel: <
118 name: "infra/python/wheels/pyfakefs-py2_py3"
119 version: "version:3.7.2"
120>
121
122# Used by:
Benjamin Pasteneb948e0752017-11-14 17:47:10123# tools/perf/fetch_benchmark_deps.py
124wheel: <
125 name: "infra/python/wheels/google_compute_engine-py2_py3"
126 version: "version:2.6.2"
127>
128wheel: <
129 name: "infra/python/wheels/boto-py2_py3"
130 version: "version:2.48.0"
131>
Benjamin Pastenef88f17c2017-12-07 17:50:32132
133# Used by:
134# testing/buildbot/generate_buildbot_json_coveragetest.py
135wheel: <
136 name: "infra/python/wheels/coverage/${vpython_platform}"
137 version: "version:4.3.4"
138>
Robert Iannuccie06dc3092018-01-17 20:41:33139
140# Used by:
John Budorick0c4f3b42019-11-15 21:08:18141# build/android/pylib/local/emulator/avd.py
142# components/policy/test_support/policy_testserver.py
Robert Iannuccie06dc3092018-01-17 20:41:33143wheel: <
144 name: "infra/python/wheels/protobuf-py2_py3"
John Budorick0c4f3b42019-11-15 21:08:18145 version: "version:3.6.1"
Robert Iannuccie06dc3092018-01-17 20:41:33146>
147wheel: <
148 name: "infra/python/wheels/six-py2_py3"
149 version: "version:1.10.0"
150>
151wheel: <
Robert Iannucciecafcf22018-01-18 22:44:16152 name: "infra/python/wheels/pyftpdlib-py2_py3"
153 version: "version:0.7.0"
154>
155wheel: <
156 name: "infra/python/wheels/simplejson/${vpython_platform}"
157 version: "version:3.13.2"
Robert Iannuccie06dc3092018-01-17 20:41:33158>
Ashley Enstad500b8242018-02-09 19:40:57159
160# Used by:
161# tools/perf/core/results_dashboard.py
162wheel: <
163 name: "infra/python/wheels/httplib2-py2_py3"
164 version: "version:0.10.3"
165>
bsheedy1f5390a2018-02-28 18:37:07166
167# Used by:
Juan Antonio Navarro Perezf1d4bbb62018-11-02 01:17:08168# tools/perf/flakiness_cli
169wheel: <
170 name: "infra/python/wheels/pandas/${vpython_platform}"
171 version: "version:0.23.4"
172 match_tag: <
173 platform: "win32"
174 >
175 match_tag: <
176 platform: "win_amd64"
177 >
178 match_tag: <
179 abi: "cp27mu"
180 platform: "manylinux1_i686"
181 >
182 match_tag: <
183 abi: "cp27mu"
184 platform: "manylinux1_x86_64"
185 >
186 match_tag: <
187 platform: "macosx_10_6_intel"
188 >
189>
190wheel: <
191 name: "infra/python/wheels/pytz-py2_py3"
192 version: "version:2018.4"
193>
194wheel: <
195 name: "infra/python/wheels/python-dateutil-py2_py3"
196 version: "version:2.7.3"
197>
198
199# Used by:
Kenneth Russellc4782ec12018-03-08 06:34:17200# content/test/gpu/gpu_tests/color_profile_manager_mac.py
201# Note: there's a version of this wheel for even older OS versions,
202# but we don't need it for the GPU tests, and it looks like there are
203# bugs in the not_match_tag implementation.
204wheel: <
205 name: "infra/python/wheels/pyobjc/${vpython_platform}"
206 version: "version:4.1"
207 match_tag: < platform: "macosx_10_10_intel" >
208>
John Budoricka5725a112018-09-21 20:24:01209
210# Used by:
211# third_party/catapult
212wheel: <
213 name: "infra/python/wheels/six-py2_py3"
214 version: "version:1.10.0"
215>
216wheel: <
217 name: "infra/python/wheels/pbr-py2_py3"
218 version: "version:3.0.0"
219>
220wheel: <
221 name: "infra/python/wheels/funcsigs-py2_py3"
222 version: "version:1.0.2"
223>
224wheel: <
225 name: "infra/python/wheels/mock-py2_py3"
226 version: "version:2.0.0"
227>
kyle Juf8cdeac2019-02-07 00:10:01228
229# Used by:
230# chrome/test/chromedriver/test/run_webdriver_tests.py
231
232wheel <
233 name: "infra/python/wheels/pytest-py2_py3"
kyle Ju9afd8172019-02-20 19:15:45234 version: "version:3.6.2"
kyle Juf8cdeac2019-02-07 00:10:01235>
236
237wheel <
238 name: "infra/python/wheels/attrs-py2_py3"
239 version: "version:17.4.0"
240>
241
242wheel <
243 name: "infra/python/wheels/six-py2_py3"
244 version: "version:1.10.0"
245>
246
247wheel <
248 name: "infra/python/wheels/more-itertools-py2_py3"
249 version: "version:4.1.0"
250>
251
252wheel <
253 name: "infra/python/wheels/scandir/${vpython_platform}"
254 version: "version:1.7"
255>
256
257wheel <
258 name: "infra/python/wheels/pluggy-py2_py3"
kyle Ju9afd8172019-02-20 19:15:45259 version: "version:0.7.1"
kyle Juf8cdeac2019-02-07 00:10:01260>
261
262wheel <
263 name: "infra/python/wheels/py-py2_py3"
264 version: "version:1.5.3"
265>
266
267wheel <
268 name: "infra/python/wheels/funcsigs-py2_py3"
269 version: "version:1.0.2"
270>
271wheel: <
272 name: "infra/python/wheels/psutil/${vpython_platform}"
273 version: "version:5.2.2"
274>
275
Stephen Martinisb38b64c2019-04-10 19:30:12276# Used by:
277# tools/infra
278wheel: <
279 name: "infra/python/wheels/requests-py2_py3"
280 version: "version:2.13.0"
281>
kyle Juf8cdeac2019-02-07 00:10:01282wheel: <
283 name: "infra/python/wheels/colorama-py2_py3"
284 version: "version:0.4.1"
285>
Stephen Martinisb38b64c2019-04-10 19:30:12286wheel: <
287 name: "infra/python/wheels/mock-py2_py3"
288 version: "version:2.0.0"
289>
kyle Ju9afd8172019-02-20 19:15:45290
291wheel: <
292 name: "infra/python/wheels/atomicwrites-py2_py3"
293 version: "version:1.3.0"
294>
295
296wheel: <
297 name: "infra/python/wheels/pathlib2-py2_py3"
298 version: "version:2.3.3"
299>
Luke Zielinski218ddea32019-07-15 16:52:24300
301# Used by Web Platform Tests (WPT) codebase in
302# //third_party/blink/web_tests/external/wpt/tools/
303wheel: <
304 name: "infra/python/wheels/html5lib-py2_py3"
305 version: "version:1.0.1"
306>
307wheel: <
308 name: "infra/python/wheels/mozdebug-py2_py3"
309 version: "version:0.1.1"
310>
311wheel: <
312 name: "infra/python/wheels/mozinfo-py2_py3"
313 version: "version:1.1.0"
314>
315wheel: <
316 name: "infra/python/wheels/mozlog-py2_py3"
Luke Zielinskicf16864a2020-03-04 17:46:09317 version: "version:5.0"
Luke Zielinski218ddea32019-07-15 16:52:24318>
319wheel: <
320 name: "infra/python/wheels/mozprocess-py2_py3"
321 version: "version:0.26"
322>
323wheel: <
324 name: "infra/python/wheels/urllib3-py2_py3"
325 version: "version:1.22"
326>
327wheel: <
328 name: "infra/python/wheels/blessings-py2_py3"
329 version: "version:1.7"
330>
331wheel: <
332 name: "infra/python/wheels/mozfile-py2_py3"
333 version: "version:2.0.0"
334>
335wheel: <
336 name: "infra/python/wheels/mozterm-py2_py3"
337 version: "version:1.0.0"
338>
339wheel: <
340 name: "infra/python/wheels/webencodings-py2_py3"
341 version: "version:0.5.1"
342>
343wheel: <
344 name: "infra/python/wheels/certifi-py2_py3"
345 version: "version:2018.11.29"
346>
347wheel: <
348 name: "infra/python/wheels/chardet-py2_py3"
349 version: "version:3.0.4"
350>
351wheel: <
352 name: "infra/python/wheels/idna-py2_py3"
353 version: "version:2.8"
354>
355wheel: <
356 name: "infra/python/wheels/pillow/${vpython_platform}"
357 version: "version:6.0.0"
358 match_tag: <
359 platform: "win32"
360 >
361 match_tag: <
362 platform: "win_amd64"
363 >
364 match_tag: <
365 abi: "cp27mu"
366 platform: "manylinux1_i686"
367 >
368 match_tag: <
369 abi: "cp27mu"
370 platform: "manylinux1_x86_64"
371 >
372 match_tag: <
373 platform: "macosx_10_6_intel"
374 >
375>
ehmaldonado0fbaadc2019-10-25 21:14:30376
377# Used by:
378# //third_party/blink/tools/blinkpy/web_tests/port/server_process.py
379wheel: <
380 name: "infra/python/wheels/pywin32/${vpython_platform}"
Chan Li64806d042020-04-23 20:39:49381 version: "version:227"
ehmaldonado0fbaadc2019-10-25 21:14:30382 match_tag: <
383 platform: "win32"
384 >
385 match_tag: <
386 platform: "win_amd64"
387 >
388>