blob: 43cd4d5c118331e2db8926baa20709da62250a9d [file] [log] [blame]
Brian Sheedy234580e52019-09-10 17:42:511# 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:
John Palmer0e0f72bf2021-06-07 09:10:2012# https://chromium.googlesource.com/infra/infra/+/main/infra/tools/dockerbuild/
Brian Sheedy234580e52019-09-10 17:42:5113#
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:
John Palmer0e0f72bf2021-06-07 09:10:2023# https://chromium.googlesource.com/infra/infra/+/main/doc/users/vpython.md
Brian Sheedy234580e52019-09-10 17:42:5124
25python_version: "3.8"
Brian Rynerf82bfc22021-09-16 15:30:4426
27# The default set of platforms vpython checks does not yet include mac-arm64.
28# Setting `verify_pep425_tag` to the list of platforms we explicitly must support
29# allows us to ensure that vpython specs stay mac-arm64-friendly
30verify_pep425_tag: [
31 {python: "cp38", abi: "cp38", platform: "manylinux1_x86_64"},
32 {python: "cp38", abi: "cp38", platform: "linux_arm64"},
33
34 {python: "cp38", abi: "cp38", platform: "macosx_10_10_intel"},
35 {python: "cp38", abi: "cp38", platform: "macosx_11_0_arm64"},
36
37 {python: "cp38", abi: "cp38", platform: "win32"},
38 {python: "cp38", abi: "cp38", platform: "win_amd64"}
39]
40
Weizhong Xiae87d2572021-03-21 16:53:5141# Used by:
42# build/android/pylib/local/emulator/avd.py
Weizhong Xiae87d2572021-03-21 16:53:5143wheel: <
44 name: "infra/python/wheels/protobuf-py2_py3"
Takuto Ikutacbc8a0b2021-05-21 10:26:3645 version: "version:3.15.8"
Weizhong Xiae87d2572021-03-21 16:53:5146>
Brian Sheedy234580e52019-09-10 17:42:5147
48# TODO(https://crbug.com/898348): Add in necessary wheels as Python3 versions
49# become available.
Daniel Cheng826af0e2020-06-04 21:14:3250wheel: <
51 name: "infra/python/wheels/six-py2_py3"
John Budorick2f6445a2020-12-18 20:32:3352 version: "version:1.15.0"
Daniel Cheng826af0e2020-06-04 21:14:3253>
Ben Pasteneefdcb842021-01-29 01:38:2154
55# Common utilities.
Brian Sheedy50000e22021-09-24 00:59:2756# Use the same versions specified by //third_party/catapult/.vpython3 so that
57# Chromium tests using Telemetry function properly.
Brian Sheedy9d952022021-05-15 00:38:0258wheel: <
59 name: "infra/python/wheels/numpy/${vpython_platform}"
Chenlin Fan8cdf4e62022-02-16 02:53:3460 version: "version:1.2x.supported.1"
Brian Sheedy9d952022021-05-15 00:38:0261>
Ben Pasteneefdcb842021-01-29 01:38:2162wheel: <
Weizhong Xiae87d2572021-03-21 16:53:5163 name: "infra/python/wheels/psutil/${vpython_platform}"
Brian Rynerf3bbf3f2022-02-24 08:48:3164 version: "version:5.8.0.chromium.3"
Ben Pasteneefdcb842021-01-29 01:38:2165>
66wheel: <
67 name: "infra/python/wheels/requests-py2_py3"
Weizhong Xia5be26202021-10-25 19:05:5568 version: "version:2.26.0"
Ben Pasteneefdcb842021-01-29 01:38:2169>
Brian Sheedyabc5d462022-03-04 20:45:4070wheel: <
71 name: "infra/python/wheels/pillow/${vpython_platform}"
72 version: "version:8.3.1"
73 # There is currently no Linux arm/arm64 version in CIPD.
74 not_match_tag <
75 platform: "linux_aarch64"
76 >
77>
Ben Pasteneefdcb842021-01-29 01:38:2178
79# Used by various python unit tests.
80wheel: <
81 name: "infra/python/wheels/mock-py2_py3"
82 version: "version:2.0.0"
83>
84wheel: <
85 name: "infra/python/wheels/parameterized-py2_py3"
86 version: "version:0.7.1"
87>
88wheel: <
89 name: "infra/python/wheels/pbr-py2_py3"
90 version: "version:3.0.0"
91>
92
Brian Sheedy9d952022021-05-15 00:38:0293wheel: <
94 name: "infra/python/wheels/pyfakefs-py2_py3"
95 version: "version:3.7.2"
96>
97
Ben Pasteneefdcb842021-01-29 01:38:2198# Used by:
99# build/chromeos/test_runner.py
100wheel: <
101 name: "infra/python/wheels/jsonlines-py2_py3"
102 version: "version:1.2.0"
103>
104wheel: <
105 name: "infra/python/wheels/python-dateutil-py2_py3"
106 version: "version:2.7.3"
107>
Luke Zielinski57397c7c2021-03-04 22:53:51108
Weizhong Xia5be26202021-10-25 19:05:55109# Used by WPT importer
110wheel: <
111 name: "infra/python/wheels/charset_normalizer-py3"
112 version: "version:2.0.4"
113>
114wheel: <
115 name: "infra/python/wheels/pyasn1-py2_py3"
116 version: "version:0.4.5"
117>
118wheel: <
119 name: "infra/python/wheels/pyasn1_modules-py2_py3"
120 version: "version:0.2.4"
121>
122wheel: <
123 name: "infra/python/wheels/rsa-py2_py3"
124 version: "version:3.4.2"
125>
126wheel: <
127 name: "infra/python/wheels/cachetools-py2_py3"
128 version: "version:2.0.1"
129>
130wheel: <
131 name: "infra/python/wheels/uritemplate-py2_py3"
132 version: "version:3.0.0"
133>
134wheel: <
135 name: "infra/python/wheels/google-auth-py2_py3"
136 version: "version:1.25.0"
137>
138wheel: <
139 name: "infra/python/wheels/googleapis-common-protos-py2_py3"
140 version: "version:1.52.0"
141>
142wheel: <
143 name: "infra/python/wheels/google-api-core-py2_py3"
144 version: "version:1.25.1"
145>
146wheel: <
147 name: "infra/python/wheels/google-auth-httplib2-py2_py3"
148 version: "version:0.1.0"
149>
150wheel: <
151 name: "infra/python/wheels/google-api-python-client-py3"
152 version: "version:2.2.0"
153>
Weizhong Xia73783402021-10-26 18:39:44154wheel: <
155 name: "infra/python/wheels/oauth2client-py2_py3"
156 version: "version:3.0.0"
157>
Weizhong Xia5be26202021-10-25 19:05:55158
Luke Zielinski57397c7c2021-03-04 22:53:51159# Used by Web Platform Tests (WPT) codebase in
160# //third_party/blink/web_tests/external/wpt/tools/
161wheel: <
162 name: "infra/python/wheels/html5lib-py2_py3"
163 version: "version:1.0.1"
164>
165wheel: <
Jonathan Lee007ef5f2022-03-31 00:23:55166 name: "infra/python/wheels/mozdebug-py3"
167 version: "version:0.3.0"
Luke Zielinski57397c7c2021-03-04 22:53:51168>
169wheel: <
170 name: "infra/python/wheels/mozinfo-py2_py3"
171 version: "version:1.2.2"
172>
173wheel: <
174 name: "infra/python/wheels/mozlog-py2_py3"
175 version: "version:7.1.0"
176>
177wheel: <
Jonathan Lee007ef5f2022-03-31 00:23:55178 name: "infra/python/wheels/mozprocess-py3"
179 version: "version:1.3.0"
Luke Zielinski57397c7c2021-03-04 22:53:51180>
181wheel: <
182 name: "infra/python/wheels/urllib3-py2_py3"
183 version: "version:1.24.3"
184>
185wheel: <
186 name: "infra/python/wheels/blessings-py2_py3"
187 version: "version:1.7"
188>
189wheel: <
190 name: "infra/python/wheels/mozfile-py2_py3"
191 version: "version:2.0.0"
192>
193wheel: <
194 name: "infra/python/wheels/mozterm-py2_py3"
195 version: "version:1.0.0"
196>
197wheel: <
198 name: "infra/python/wheels/webencodings-py2_py3"
199 version: "version:0.5.1"
200>
201wheel: <
202 name: "infra/python/wheels/certifi-py2_py3"
203 version: "version:2020.11.8"
204>
205wheel: <
206 name: "infra/python/wheels/chardet-py2_py3"
207 version: "version:3.0.4"
208>
209wheel: <
210 name: "infra/python/wheels/idna-py2_py3"
211 version: "version:2.8"
212>
213wheel: <
214 name: "infra/python/wheels/distro-py2_py3"
215 version: "version:1.4.0"
216>
Luke Zielinski5b0bcde32021-03-17 16:14:14217wheel: <
Kenichi Ishibashi7449f1c2021-10-19 00:20:36218 name: "infra/python/wheels/aioquic/${vpython_platform}"
219 version: "version:0.9.15"
220>
221wheel: <
222 name: "infra/python/wheels/pylsqpack/${vpython_platform}"
223 version: "version:0.3.12"
224>
225wheel: <
226 name: "infra/python/wheels/cryptography/${vpython_platform}"
Brian Ryner6c5601932021-11-09 18:30:02227 version: "version:3.3.1.chromium.1"
Kenichi Ishibashi7449f1c2021-10-19 00:20:36228>
229wheel: <
230 name: "infra/python/wheels/cffi/${vpython_platform}"
Brian Rynerf3bbf3f2022-02-24 08:48:31231 version: "version:1.14.5.chromium.7"
Kenichi Ishibashi7449f1c2021-10-19 00:20:36232>
233wheel: <
234 name: "infra/python/wheels/pycparser-py2_py3"
235 version: "version:2.19"
236>
Stephen McGruer367e9b202021-03-19 13:32:18237
238# Used by:
239# chrome/test/chromedriver/test/run_webdriver_tests.py
Luke Zielinski04b275de2021-03-24 19:30:00240wheel: <
241 name: "infra/python/wheels/iniconfig-py3"
242 version: "version:1.1.1"
243>
244
245wheel: <
246 name: "infra/python/wheels/packaging-py2_py3"
247 version: "version:16.8"
248>
249
250wheel: <
251 name: "infra/python/wheels/pyparsing-py2_py3"
Brian Sheedyf9ffd522021-09-30 20:40:46252 version: "version:2.4.7"
Luke Zielinski04b275de2021-03-24 19:30:00253>
254
255wheel: <
256 name: "infra/python/wheels/toml-py3"
257 version: "version:0.10.1"
258>
Stephen McGruer367e9b202021-03-19 13:32:18259
260wheel <
Luke Zielinski04b275de2021-03-24 19:30:00261 name: "infra/python/wheels/pytest-py3"
262 version: "version:6.2.2"
263>
264
265wheel <
266 name: "infra/python/wheels/pytest-asyncio-py3"
267 version: "version:0.14.0"
Stephen McGruer367e9b202021-03-19 13:32:18268>
269
270wheel <
271 name: "infra/python/wheels/attrs-py2_py3"
Luke Zielinski04b275de2021-03-24 19:30:00272 version: "version:20.3.0"
Stephen McGruer367e9b202021-03-19 13:32:18273>
274
275wheel <
276 name: "infra/python/wheels/six-py2_py3"
277 version: "version:1.15.0"
278>
279
280wheel <
281 name: "infra/python/wheels/more-itertools-py2_py3"
282 version: "version:4.1.0"
283>
284
285wheel <
Luke Zielinski04b275de2021-03-24 19:30:00286 name: "infra/python/wheels/pluggy-py3"
287 version: "version:0.13.1"
Stephen McGruer367e9b202021-03-19 13:32:18288>
289
290wheel <
291 name: "infra/python/wheels/py-py2_py3"
Brian Rynera2b0fa8e2021-07-22 18:54:22292 version: "version:1.10.0"
Stephen McGruer367e9b202021-03-19 13:32:18293>
294
295wheel <
296 name: "infra/python/wheels/funcsigs-py2_py3"
297 version: "version:1.0.2"
298>
299
300wheel: <
301 name: "infra/python/wheels/atomicwrites-py2_py3"
302 version: "version:1.3.0"
303>
Jamie Madillcf4f8c72021-05-20 19:24:23304
305wheel: <
306 name: "infra/python/wheels/colorama-py2_py3"
307 version: "version:0.4.1"
308>
309
310# Used by:
311# testing/buildbot/generate_buildbot_json_coveragetest.py
312wheel: <
313 name: "infra/python/wheels/coverage/${vpython_platform}"
Brian Rynerf3bbf3f2022-02-24 08:48:31314 version: "version:5.5.chromium.3"
Jamie Madillcf4f8c72021-05-20 19:24:23315>
Brian Sheedycb1ba88e2021-06-17 18:12:55316
317# Used by:
318# //content/test/gpu
319wheel: <
320 name: "infra/python/wheels/pathos/${vpython_platform}"
Brian Rynerf3bbf3f2022-02-24 08:48:31321 version: "version:0.2.7.chromium.5"
Brian Sheedycb1ba88e2021-06-17 18:12:55322 not_match_tag <
323 abi: "cp27mu"
324 platform: "manylinux1_i686"
325 >
326 not_match_tag <
327 abi: "cp27mu"
328 platform: "linux_mips64"
329 >
330 not_match_tag <
331 abi: "cp27mu"
332 platform: "linux_armv6l"
333 >
334 not_match_tag <
335 abi: "cp27mu"
336 platform: "linux_armv7l"
337 >
338>
Preethi Mohane41c29a52021-08-13 17:01:03339
Brian Sheedya46a9b82022-03-22 21:46:36340wheel: <
341 name: "infra/python/wheels/websockets-py3"
342 version: "version:10.1"
343>
344
Preethi Mohane41c29a52021-08-13 17:01:03345# Used by:
Victor Hugo Vianna Silva02442ef02021-09-01 10:48:11346# //tools/infra/find_bad_builds.py
347wheel: <
348 name: "infra/python/wheels/pytz-py2_py3"
349 version: "version:2018.4"
350>
351
352# Used by:
Preethi Mohane41c29a52021-08-13 17:01:03353# //third_party/blink/tools/blinkpy/web_tests/port/server_process.py
354wheel: <
355 name: "infra/python/wheels/pywin32/${vpython_platform}"
356 version: "version:300"
357 match_tag: <
358 platform: "win32"
359 >
360 match_tag: <
361 platform: "win_amd64"
362 >
363>
Brian Sheedy50000e22021-09-24 00:59:27364
365# Used by:
366# //content/test/gpu/gpu_tests/color_profile_manager_mac.py
367wheel: <
368 name: "infra/python/wheels/pyobjc/${vpython_platform}"
369 version: "version:7.3.chromium.1"
370 match_tag: <
371 platform: "macosx_10_10_intel"
372 >
Brian Sheedyac599fd2021-11-18 22:05:30373 match_tag: <
374 platform: "macosx_11_0_arm64"
375 >
Brian Sheedy50000e22021-09-24 00:59:27376>
Brian Sheedyf9ffd522021-09-30 20:40:46377
378# Used by:
379# tools/perf/core/results_dashboard.py
380wheel: <
381 name: "infra/python/wheels/httplib2-py3"
382 version: "version:0.19.1"
383>
384
385# Used by:
386# tools/perf/flakiness_cli
387wheel: <
388 name: "infra/python/wheels/pandas/${vpython_platform}"
Brian Sheedyadf503e92021-10-26 18:06:52389 version: "version:1.3.2.chromium.1"
Brian Sheedy38a48fc82021-11-17 00:48:02390 not_match_tag: <
391 platform: "linux_aarch64"
Brian Sheedyf9ffd522021-09-30 20:40:46392 >
393>
Arthur Wang763ce262022-02-03 02:46:49394
395# Used by:
396# testing/script/run_variations_smoke_tests.py
397wheel: <
398 name: "infra/python/wheels/selenium-py3"
399 version: "version:3.14.0"
400>