blob: bbdc3023d41b7c22c7e83d9ee19e38fa91270bb9 [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
24
25python_version: "2.7"
26
27# Used by:
Ben Pasteneba744c00f2019-04-26 23:59:1928# build/chromeos/test_runner.py
29wheel: <
30 name: "infra/python/wheels/jsonlines-py2_py3"
31 version: "version:1.2.0"
32>
33
34# Used by:
35# build/chromeos/test_runner.py
Robert Iannucci11a975f2017-08-31 17:31:4136# third_party/catapult
Dan Jacques8bc58822017-10-17 02:00:1337#
38# This version must be compatible with the version range specified by
39# //third_party/catapult/telemetry/telemetry/internal/util/external_modules.py
Robert Iannucci11a975f2017-08-31 17:31:4140wheel: <
Nodir Turakulove2d81c32017-11-10 07:47:2741 name: "infra/python/wheels/psutil/${vpython_platform}"
Robert Iannucci11a975f2017-08-31 17:31:4142 version: "version:5.2.2"
43>
Dan Jacques8bc58822017-10-17 02:00:1344
45# Used by:
46# third_party/catapult
47#
48# This version must be compatible with the version range specified by
49# //third_party/catapult/telemetry/telemetry/internal/util/external_modules.py
50#
51# This version must also be compatible with the "numpy" version, as "cv2"
52# depends on "numpy". In this case, [email protected] has been built against
53# [email protected].
Dan Jacques271694702017-09-08 21:38:4854wheel: <
Nodir Turakulove2d81c32017-11-10 07:47:2755 name: "infra/python/wheels/opencv_python/${vpython_platform}"
Dan Jacques8bc58822017-10-17 02:00:1356 version: "version:2.4.13.2"
Dan Jacques271694702017-09-08 21:38:4857 match_tag: <
58 platform: "win32"
59 >
60 match_tag: <
61 platform: "win_amd64"
62 >
63 match_tag: <
64 abi: "cp27mu"
65 platform: "manylinux1_i686"
66 >
67 match_tag: <
68 abi: "cp27mu"
69 platform: "manylinux1_x86_64"
70 >
71 match_tag: <
72 platform: "macosx_10_6_intel"
73 >
74>
Dan Jacques8bc58822017-10-17 02:00:1375
76# Used by:
77# third_party/catapult
bsheedya8a44692018-03-02 00:00:5178# chrome/test/vr/perf/latency/run_latency_test.py
Dan Jacques8bc58822017-10-17 02:00:1379#
80# This version must be compatible with the version range specified by
81# //third_party/catapult/telemetry/telemetry/internal/util/external_modules.py
Dan Jacques271694702017-09-08 21:38:4882wheel: <
Nodir Turakulove2d81c32017-11-10 07:47:2783 name: "infra/python/wheels/numpy/${vpython_platform}"
Dan Jacques8bc58822017-10-17 02:00:1384 version: "version:1.11.3"
Dan Jacques271694702017-09-08 21:38:4885>
Nodir Turakulove2d81c32017-11-10 07:47:2786
87# Used by:
88# third_party/catapult
89wheel: <
90 name: "infra/python/wheels/pypiwin32/${vpython_platform}"
91 version: "version:219"
92 match_tag: <
93 platform: "win32"
94 >
95 match_tag: <
96 platform: "win_amd64"
97 >
98>
Benjamin Pasteneb948e0752017-11-14 17:47:1099
100# Used by:
101# tools/perf/fetch_benchmark_deps.py
102wheel: <
103 name: "infra/python/wheels/google_compute_engine-py2_py3"
104 version: "version:2.6.2"
105>
106wheel: <
107 name: "infra/python/wheels/boto-py2_py3"
108 version: "version:2.48.0"
109>
Benjamin Pastenef88f17c2017-12-07 17:50:32110
111# Used by:
112# testing/buildbot/generate_buildbot_json_coveragetest.py
113wheel: <
114 name: "infra/python/wheels/coverage/${vpython_platform}"
115 version: "version:4.3.4"
116>
Robert Iannuccie06dc3092018-01-17 20:41:33117
118# Used by:
John Budorick0c4f3b42019-11-15 21:08:18119# build/android/pylib/local/emulator/avd.py
120# components/policy/test_support/policy_testserver.py
Robert Iannuccie06dc3092018-01-17 20:41:33121wheel: <
122 name: "infra/python/wheels/protobuf-py2_py3"
John Budorick0c4f3b42019-11-15 21:08:18123 version: "version:3.6.1"
Robert Iannuccie06dc3092018-01-17 20:41:33124>
125wheel: <
126 name: "infra/python/wheels/six-py2_py3"
127 version: "version:1.10.0"
128>
129wheel: <
Robert Iannucciecafcf22018-01-18 22:44:16130 name: "infra/python/wheels/pyftpdlib-py2_py3"
131 version: "version:0.7.0"
132>
133wheel: <
134 name: "infra/python/wheels/simplejson/${vpython_platform}"
135 version: "version:3.13.2"
Robert Iannuccie06dc3092018-01-17 20:41:33136>
Ashley Enstad500b8242018-02-09 19:40:57137
138# Used by:
139# tools/perf/core/results_dashboard.py
140wheel: <
141 name: "infra/python/wheels/httplib2-py2_py3"
142 version: "version:0.10.3"
143>
bsheedy1f5390a2018-02-28 18:37:07144
145# Used by:
Juan Antonio Navarro Perezf1d4bbb62018-11-02 01:17:08146# tools/perf/flakiness_cli
147wheel: <
148 name: "infra/python/wheels/pandas/${vpython_platform}"
149 version: "version:0.23.4"
150 match_tag: <
151 platform: "win32"
152 >
153 match_tag: <
154 platform: "win_amd64"
155 >
156 match_tag: <
157 abi: "cp27mu"
158 platform: "manylinux1_i686"
159 >
160 match_tag: <
161 abi: "cp27mu"
162 platform: "manylinux1_x86_64"
163 >
164 match_tag: <
165 platform: "macosx_10_6_intel"
166 >
167>
168wheel: <
169 name: "infra/python/wheels/pytz-py2_py3"
170 version: "version:2018.4"
171>
172wheel: <
173 name: "infra/python/wheels/python-dateutil-py2_py3"
174 version: "version:2.7.3"
175>
176
177# Used by:
bsheedy1f5390a2018-02-28 18:37:07178# chrome/test/vr/perf/latency/run_latency_test.py
179wheel: <
180 name: "infra/python/wheels/peakutils-py2_py3"
181 version: "version:1.0.3"
182 match_tag: <
183 abi: "cp27mu"
184 platform: "manylinux1_i686"
185 >
186 match_tag: <
187 abi: "cp27mu"
188 platform: "manylinux1_x86_64"
189 >
190>
191wheel: <
bsheedya8a44692018-03-02 00:00:51192 name: "infra/python/wheels/pyserial-py2_py3"
193 version: "version:3.4"
194>
195wheel: <
bsheedy1f5390a2018-02-28 18:37:07196 name: "infra/python/wheels/scipy/${vpython_platform}"
197 version: "version:0.19.0"
198 match_tag: <
199 abi: "cp27mu"
200 platform: "manylinux1_i686"
201 >
202 match_tag: <
203 abi: "cp27mu"
204 platform: "manylinux1_x86_64"
205 >
206>
Kenneth Russellc4782ec12018-03-08 06:34:17207
208# Used by:
209# content/test/gpu/gpu_tests/color_profile_manager_mac.py
210# Note: there's a version of this wheel for even older OS versions,
211# but we don't need it for the GPU tests, and it looks like there are
212# bugs in the not_match_tag implementation.
213wheel: <
214 name: "infra/python/wheels/pyobjc/${vpython_platform}"
215 version: "version:4.1"
216 match_tag: < platform: "macosx_10_10_intel" >
217>
John Budoricka5725a112018-09-21 20:24:01218
219# Used by:
220# third_party/catapult
221wheel: <
222 name: "infra/python/wheels/six-py2_py3"
223 version: "version:1.10.0"
224>
225wheel: <
226 name: "infra/python/wheels/pbr-py2_py3"
227 version: "version:3.0.0"
228>
229wheel: <
230 name: "infra/python/wheels/funcsigs-py2_py3"
231 version: "version:1.0.2"
232>
233wheel: <
234 name: "infra/python/wheels/mock-py2_py3"
235 version: "version:2.0.0"
236>
kyle Juf8cdeac2019-02-07 00:10:01237
238# Used by:
239# chrome/test/chromedriver/test/run_webdriver_tests.py
240
241wheel <
242 name: "infra/python/wheels/pytest-py2_py3"
kyle Ju9afd8172019-02-20 19:15:45243 version: "version:3.6.2"
kyle Juf8cdeac2019-02-07 00:10:01244>
245
246wheel <
247 name: "infra/python/wheels/attrs-py2_py3"
248 version: "version:17.4.0"
249>
250
251wheel <
252 name: "infra/python/wheels/six-py2_py3"
253 version: "version:1.10.0"
254>
255
256wheel <
257 name: "infra/python/wheels/more-itertools-py2_py3"
258 version: "version:4.1.0"
259>
260
261wheel <
262 name: "infra/python/wheels/scandir/${vpython_platform}"
263 version: "version:1.7"
264>
265
266wheel <
267 name: "infra/python/wheels/pluggy-py2_py3"
kyle Ju9afd8172019-02-20 19:15:45268 version: "version:0.7.1"
kyle Juf8cdeac2019-02-07 00:10:01269>
270
271wheel <
272 name: "infra/python/wheels/py-py2_py3"
273 version: "version:1.5.3"
274>
275
276wheel <
277 name: "infra/python/wheels/funcsigs-py2_py3"
278 version: "version:1.0.2"
279>
280wheel: <
281 name: "infra/python/wheels/psutil/${vpython_platform}"
282 version: "version:5.2.2"
283>
284
Stephen Martinisb38b64c2019-04-10 19:30:12285# Used by:
286# tools/infra
287wheel: <
288 name: "infra/python/wheels/requests-py2_py3"
289 version: "version:2.13.0"
290>
kyle Juf8cdeac2019-02-07 00:10:01291wheel: <
292 name: "infra/python/wheels/colorama-py2_py3"
293 version: "version:0.4.1"
294>
Stephen Martinisb38b64c2019-04-10 19:30:12295wheel: <
296 name: "infra/python/wheels/mock-py2_py3"
297 version: "version:2.0.0"
298>
kyle Ju9afd8172019-02-20 19:15:45299
300wheel: <
301 name: "infra/python/wheels/atomicwrites-py2_py3"
302 version: "version:1.3.0"
303>
304
305wheel: <
306 name: "infra/python/wheels/pathlib2-py2_py3"
307 version: "version:2.3.3"
308>
Luke Zielinski218ddea32019-07-15 16:52:24309
310# Used by Web Platform Tests (WPT) codebase in
311# //third_party/blink/web_tests/external/wpt/tools/
312wheel: <
313 name: "infra/python/wheels/html5lib-py2_py3"
314 version: "version:1.0.1"
315>
316wheel: <
317 name: "infra/python/wheels/mozdebug-py2_py3"
318 version: "version:0.1.1"
319>
320wheel: <
321 name: "infra/python/wheels/mozinfo-py2_py3"
322 version: "version:1.1.0"
323>
324wheel: <
325 name: "infra/python/wheels/mozlog-py2_py3"
Luke Zielinski62a4a8b2019-08-05 21:58:03326 version: "version:4.2.0"
Luke Zielinski218ddea32019-07-15 16:52:24327>
328wheel: <
329 name: "infra/python/wheels/mozprocess-py2_py3"
330 version: "version:0.26"
331>
332wheel: <
333 name: "infra/python/wheels/urllib3-py2_py3"
334 version: "version:1.22"
335>
336wheel: <
337 name: "infra/python/wheels/blessings-py2_py3"
338 version: "version:1.7"
339>
340wheel: <
341 name: "infra/python/wheels/mozfile-py2_py3"
342 version: "version:2.0.0"
343>
344wheel: <
345 name: "infra/python/wheels/mozterm-py2_py3"
346 version: "version:1.0.0"
347>
348wheel: <
349 name: "infra/python/wheels/webencodings-py2_py3"
350 version: "version:0.5.1"
351>
352wheel: <
353 name: "infra/python/wheels/certifi-py2_py3"
354 version: "version:2018.11.29"
355>
356wheel: <
357 name: "infra/python/wheels/chardet-py2_py3"
358 version: "version:3.0.4"
359>
360wheel: <
361 name: "infra/python/wheels/idna-py2_py3"
362 version: "version:2.8"
363>
364wheel: <
365 name: "infra/python/wheels/pillow/${vpython_platform}"
366 version: "version:6.0.0"
367 match_tag: <
368 platform: "win32"
369 >
370 match_tag: <
371 platform: "win_amd64"
372 >
373 match_tag: <
374 abi: "cp27mu"
375 platform: "manylinux1_i686"
376 >
377 match_tag: <
378 abi: "cp27mu"
379 platform: "manylinux1_x86_64"
380 >
381 match_tag: <
382 platform: "macosx_10_6_intel"
383 >
384>
ehmaldonado0fbaadc2019-10-25 21:14:30385
386# Used by:
387# //third_party/blink/tools/blinkpy/web_tests/port/server_process.py
388wheel: <
389 name: "infra/python/wheels/pywin32/${vpython_platform}"
390 version: "version:224"
391 match_tag: <
392 platform: "win32"
393 >
394 match_tag: <
395 platform: "win_amd64"
396 >
397>