blob: c892a4928b36490a4a6bd2a45e6f3e9cb1a54490 [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:
119# chrome/browser/policy/test/policy_testserver.py
120wheel: <
121 name: "infra/python/wheels/protobuf-py2_py3"
122 version: "version:3.2.0"
123>
124wheel: <
125 name: "infra/python/wheels/six-py2_py3"
126 version: "version:1.10.0"
127>
128wheel: <
Robert Iannucciecafcf22018-01-18 22:44:16129 name: "infra/python/wheels/pyftpdlib-py2_py3"
130 version: "version:0.7.0"
131>
132wheel: <
133 name: "infra/python/wheels/simplejson/${vpython_platform}"
134 version: "version:3.13.2"
Robert Iannuccie06dc3092018-01-17 20:41:33135>
Ashley Enstad500b8242018-02-09 19:40:57136
137# Used by:
138# tools/perf/core/results_dashboard.py
139wheel: <
140 name: "infra/python/wheels/httplib2-py2_py3"
141 version: "version:0.10.3"
142>
bsheedy1f5390a2018-02-28 18:37:07143
144# Used by:
Juan Antonio Navarro Perezf1d4bbb62018-11-02 01:17:08145# tools/perf/flakiness_cli
146wheel: <
147 name: "infra/python/wheels/pandas/${vpython_platform}"
148 version: "version:0.23.4"
149 match_tag: <
150 platform: "win32"
151 >
152 match_tag: <
153 platform: "win_amd64"
154 >
155 match_tag: <
156 abi: "cp27mu"
157 platform: "manylinux1_i686"
158 >
159 match_tag: <
160 abi: "cp27mu"
161 platform: "manylinux1_x86_64"
162 >
163 match_tag: <
164 platform: "macosx_10_6_intel"
165 >
166>
167wheel: <
168 name: "infra/python/wheels/pytz-py2_py3"
169 version: "version:2018.4"
170>
171wheel: <
172 name: "infra/python/wheels/python-dateutil-py2_py3"
173 version: "version:2.7.3"
174>
175
176# Used by:
bsheedy1f5390a2018-02-28 18:37:07177# chrome/test/vr/perf/latency/run_latency_test.py
178wheel: <
179 name: "infra/python/wheels/peakutils-py2_py3"
180 version: "version:1.0.3"
181 match_tag: <
182 abi: "cp27mu"
183 platform: "manylinux1_i686"
184 >
185 match_tag: <
186 abi: "cp27mu"
187 platform: "manylinux1_x86_64"
188 >
189>
190wheel: <
bsheedya8a44692018-03-02 00:00:51191 name: "infra/python/wheels/pyserial-py2_py3"
192 version: "version:3.4"
193>
194wheel: <
bsheedy1f5390a2018-02-28 18:37:07195 name: "infra/python/wheels/scipy/${vpython_platform}"
196 version: "version:0.19.0"
197 match_tag: <
198 abi: "cp27mu"
199 platform: "manylinux1_i686"
200 >
201 match_tag: <
202 abi: "cp27mu"
203 platform: "manylinux1_x86_64"
204 >
205>
Kenneth Russellc4782ec12018-03-08 06:34:17206
207# Used by:
208# content/test/gpu/gpu_tests/color_profile_manager_mac.py
209# Note: there's a version of this wheel for even older OS versions,
210# but we don't need it for the GPU tests, and it looks like there are
211# bugs in the not_match_tag implementation.
212wheel: <
213 name: "infra/python/wheels/pyobjc/${vpython_platform}"
214 version: "version:4.1"
215 match_tag: < platform: "macosx_10_10_intel" >
216>
John Budoricka5725a112018-09-21 20:24:01217
218# Used by:
219# third_party/catapult
220wheel: <
221 name: "infra/python/wheels/six-py2_py3"
222 version: "version:1.10.0"
223>
224wheel: <
225 name: "infra/python/wheels/pbr-py2_py3"
226 version: "version:3.0.0"
227>
228wheel: <
229 name: "infra/python/wheels/funcsigs-py2_py3"
230 version: "version:1.0.2"
231>
232wheel: <
233 name: "infra/python/wheels/mock-py2_py3"
234 version: "version:2.0.0"
235>
kyle Juf8cdeac2019-02-07 00:10:01236
237# Used by:
238# chrome/test/chromedriver/test/run_webdriver_tests.py
239
240wheel <
241 name: "infra/python/wheels/pytest-py2_py3"
kyle Ju9afd8172019-02-20 19:15:45242 version: "version:3.6.2"
kyle Juf8cdeac2019-02-07 00:10:01243>
244
245wheel <
246 name: "infra/python/wheels/attrs-py2_py3"
247 version: "version:17.4.0"
248>
249
250wheel <
251 name: "infra/python/wheels/six-py2_py3"
252 version: "version:1.10.0"
253>
254
255wheel <
256 name: "infra/python/wheels/more-itertools-py2_py3"
257 version: "version:4.1.0"
258>
259
260wheel <
261 name: "infra/python/wheels/scandir/${vpython_platform}"
262 version: "version:1.7"
263>
264
265wheel <
266 name: "infra/python/wheels/pluggy-py2_py3"
kyle Ju9afd8172019-02-20 19:15:45267 version: "version:0.7.1"
kyle Juf8cdeac2019-02-07 00:10:01268>
269
270wheel <
271 name: "infra/python/wheels/py-py2_py3"
272 version: "version:1.5.3"
273>
274
275wheel <
276 name: "infra/python/wheels/funcsigs-py2_py3"
277 version: "version:1.0.2"
278>
279wheel: <
280 name: "infra/python/wheels/psutil/${vpython_platform}"
281 version: "version:5.2.2"
282>
283
Stephen Martinisb38b64c2019-04-10 19:30:12284# Used by:
285# tools/infra
286wheel: <
287 name: "infra/python/wheels/requests-py2_py3"
288 version: "version:2.13.0"
289>
kyle Juf8cdeac2019-02-07 00:10:01290wheel: <
291 name: "infra/python/wheels/colorama-py2_py3"
292 version: "version:0.4.1"
293>
Stephen Martinisb38b64c2019-04-10 19:30:12294wheel: <
295 name: "infra/python/wheels/mock-py2_py3"
296 version: "version:2.0.0"
297>
kyle Ju9afd8172019-02-20 19:15:45298
299wheel: <
300 name: "infra/python/wheels/atomicwrites-py2_py3"
301 version: "version:1.3.0"
302>
303
304wheel: <
305 name: "infra/python/wheels/pathlib2-py2_py3"
306 version: "version:2.3.3"
307>
Luke Zielinski218ddea32019-07-15 16:52:24308
309# Used by Web Platform Tests (WPT) codebase in
310# //third_party/blink/web_tests/external/wpt/tools/
311wheel: <
312 name: "infra/python/wheels/html5lib-py2_py3"
313 version: "version:1.0.1"
314>
315wheel: <
316 name: "infra/python/wheels/mozdebug-py2_py3"
317 version: "version:0.1.1"
318>
319wheel: <
320 name: "infra/python/wheels/mozinfo-py2_py3"
321 version: "version:1.1.0"
322>
323wheel: <
324 name: "infra/python/wheels/mozlog-py2_py3"
Luke Zielinski62a4a8b2019-08-05 21:58:03325 version: "version:4.2.0"
Luke Zielinski218ddea32019-07-15 16:52:24326>
327wheel: <
328 name: "infra/python/wheels/mozprocess-py2_py3"
329 version: "version:0.26"
330>
331wheel: <
332 name: "infra/python/wheels/urllib3-py2_py3"
333 version: "version:1.22"
334>
335wheel: <
336 name: "infra/python/wheels/blessings-py2_py3"
337 version: "version:1.7"
338>
339wheel: <
340 name: "infra/python/wheels/mozfile-py2_py3"
341 version: "version:2.0.0"
342>
343wheel: <
344 name: "infra/python/wheels/mozterm-py2_py3"
345 version: "version:1.0.0"
346>
347wheel: <
348 name: "infra/python/wheels/webencodings-py2_py3"
349 version: "version:0.5.1"
350>
351wheel: <
352 name: "infra/python/wheels/certifi-py2_py3"
353 version: "version:2018.11.29"
354>
355wheel: <
356 name: "infra/python/wheels/chardet-py2_py3"
357 version: "version:3.0.4"
358>
359wheel: <
360 name: "infra/python/wheels/idna-py2_py3"
361 version: "version:2.8"
362>
363wheel: <
364 name: "infra/python/wheels/pillow/${vpython_platform}"
365 version: "version:6.0.0"
366 match_tag: <
367 platform: "win32"
368 >
369 match_tag: <
370 platform: "win_amd64"
371 >
372 match_tag: <
373 abi: "cp27mu"
374 platform: "manylinux1_i686"
375 >
376 match_tag: <
377 abi: "cp27mu"
378 platform: "manylinux1_x86_64"
379 >
380 match_tag: <
381 platform: "macosx_10_6_intel"
382 >
383>