[go: nahoru, domu]

blob: 45fd1b75becd48803eb97d241add106a60264af3 [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
43# components/policy/test_support/policy_testserver.py
44wheel: <
45 name: "infra/python/wheels/protobuf-py2_py3"
Takuto Ikutacbc8a0b2021-05-21 10:26:3646 version: "version:3.15.8"
Weizhong Xiae87d2572021-03-21 16:53:5147>
Brian Sheedy234580e52019-09-10 17:42:5148
49# TODO(https://crbug.com/898348): Add in necessary wheels as Python3 versions
50# become available.
Daniel Cheng826af0e2020-06-04 21:14:3251wheel: <
52 name: "infra/python/wheels/six-py2_py3"
John Budorick2f6445a2020-12-18 20:32:3353 version: "version:1.15.0"
Daniel Cheng826af0e2020-06-04 21:14:3254>
Ben Pasteneefdcb842021-01-29 01:38:2155
56# Common utilities.
Brian Sheedy50000e22021-09-24 00:59:2757# Use the same versions specified by //third_party/catapult/.vpython3 so that
58# Chromium tests using Telemetry function properly.
Brian Sheedy9d952022021-05-15 00:38:0259wheel: <
60 name: "infra/python/wheels/numpy/${vpython_platform}"
Brian Sheedy50000e22021-09-24 00:59:2761 version: "version:1.20.3"
Brian Sheedy9d952022021-05-15 00:38:0262>
Ben Pasteneefdcb842021-01-29 01:38:2163wheel: <
Weizhong Xiae87d2572021-03-21 16:53:5164 name: "infra/python/wheels/psutil/${vpython_platform}"
Brian Ryner4547a992021-08-05 22:24:4165 version: "version:5.8.0.chromium.2"
Ben Pasteneefdcb842021-01-29 01:38:2166>
67wheel: <
68 name: "infra/python/wheels/requests-py2_py3"
69 version: "version:2.13.0"
70>
71
72# Used by various python unit tests.
73wheel: <
74 name: "infra/python/wheels/mock-py2_py3"
75 version: "version:2.0.0"
76>
77wheel: <
78 name: "infra/python/wheels/parameterized-py2_py3"
79 version: "version:0.7.1"
80>
81wheel: <
82 name: "infra/python/wheels/pbr-py2_py3"
83 version: "version:3.0.0"
84>
85
Brian Sheedy9d952022021-05-15 00:38:0286wheel: <
87 name: "infra/python/wheels/pyfakefs-py2_py3"
88 version: "version:3.7.2"
89>
90
Ben Pasteneefdcb842021-01-29 01:38:2191# Used by:
92# build/chromeos/test_runner.py
93wheel: <
94 name: "infra/python/wheels/jsonlines-py2_py3"
95 version: "version:1.2.0"
96>
97wheel: <
98 name: "infra/python/wheels/python-dateutil-py2_py3"
99 version: "version:2.7.3"
100>
Luke Zielinski57397c7c2021-03-04 22:53:51101
102# Used by Web Platform Tests (WPT) codebase in
103# //third_party/blink/web_tests/external/wpt/tools/
104wheel: <
105 name: "infra/python/wheels/html5lib-py2_py3"
106 version: "version:1.0.1"
107>
108wheel: <
109 name: "infra/python/wheels/mozdebug-py2_py3"
110 version: "version:0.2"
111>
112wheel: <
113 name: "infra/python/wheels/mozinfo-py2_py3"
114 version: "version:1.2.2"
115>
116wheel: <
117 name: "infra/python/wheels/mozlog-py2_py3"
118 version: "version:7.1.0"
119>
120wheel: <
121 name: "infra/python/wheels/mozprocess-py2_py3"
122 version: "version:1.2.1"
123>
124wheel: <
125 name: "infra/python/wheels/urllib3-py2_py3"
126 version: "version:1.24.3"
127>
128wheel: <
129 name: "infra/python/wheels/blessings-py2_py3"
130 version: "version:1.7"
131>
132wheel: <
133 name: "infra/python/wheels/mozfile-py2_py3"
134 version: "version:2.0.0"
135>
136wheel: <
137 name: "infra/python/wheels/mozterm-py2_py3"
138 version: "version:1.0.0"
139>
140wheel: <
141 name: "infra/python/wheels/webencodings-py2_py3"
142 version: "version:0.5.1"
143>
144wheel: <
145 name: "infra/python/wheels/certifi-py2_py3"
146 version: "version:2020.11.8"
147>
148wheel: <
149 name: "infra/python/wheels/chardet-py2_py3"
150 version: "version:3.0.4"
151>
152wheel: <
153 name: "infra/python/wheels/idna-py2_py3"
154 version: "version:2.8"
155>
156wheel: <
157 name: "infra/python/wheels/distro-py2_py3"
158 version: "version:1.4.0"
159>
Luke Zielinski5b0bcde32021-03-17 16:14:14160wheel: <
161 name: "infra/python/wheels/pillow/linux-amd64_cp38_cp38"
162 version: "version:8.1.2"
163>
Stephen McGruer367e9b202021-03-19 13:32:18164
165# Used by:
166# chrome/test/chromedriver/test/run_webdriver_tests.py
Luke Zielinski04b275de2021-03-24 19:30:00167wheel: <
168 name: "infra/python/wheels/iniconfig-py3"
169 version: "version:1.1.1"
170>
171
172wheel: <
173 name: "infra/python/wheels/packaging-py2_py3"
174 version: "version:16.8"
175>
176
177wheel: <
178 name: "infra/python/wheels/pyparsing-py2_py3"
179 version: "version:2.2.0"
180>
181
182wheel: <
183 name: "infra/python/wheels/toml-py3"
184 version: "version:0.10.1"
185>
Stephen McGruer367e9b202021-03-19 13:32:18186
187wheel <
Luke Zielinski04b275de2021-03-24 19:30:00188 name: "infra/python/wheels/pytest-py3"
189 version: "version:6.2.2"
190>
191
192wheel <
193 name: "infra/python/wheels/pytest-asyncio-py3"
194 version: "version:0.14.0"
Stephen McGruer367e9b202021-03-19 13:32:18195>
196
197wheel <
198 name: "infra/python/wheels/attrs-py2_py3"
Luke Zielinski04b275de2021-03-24 19:30:00199 version: "version:20.3.0"
Stephen McGruer367e9b202021-03-19 13:32:18200>
201
202wheel <
203 name: "infra/python/wheels/six-py2_py3"
204 version: "version:1.15.0"
205>
206
207wheel <
208 name: "infra/python/wheels/more-itertools-py2_py3"
209 version: "version:4.1.0"
210>
211
212wheel <
Luke Zielinski04b275de2021-03-24 19:30:00213 name: "infra/python/wheels/pluggy-py3"
214 version: "version:0.13.1"
Stephen McGruer367e9b202021-03-19 13:32:18215>
216
217wheel <
218 name: "infra/python/wheels/py-py2_py3"
Brian Rynera2b0fa8e2021-07-22 18:54:22219 version: "version:1.10.0"
Stephen McGruer367e9b202021-03-19 13:32:18220>
221
222wheel <
223 name: "infra/python/wheels/funcsigs-py2_py3"
224 version: "version:1.0.2"
225>
226
227wheel: <
228 name: "infra/python/wheels/atomicwrites-py2_py3"
229 version: "version:1.3.0"
230>
Jamie Madillcf4f8c72021-05-20 19:24:23231
232wheel: <
233 name: "infra/python/wheels/colorama-py2_py3"
234 version: "version:0.4.1"
235>
236
237# Used by:
238# testing/buildbot/generate_buildbot_json_coveragetest.py
239wheel: <
240 name: "infra/python/wheels/coverage/${vpython_platform}"
Brian Rynercadfea52021-08-27 21:04:21241 version: "version:5.5.chromium.2"
Jamie Madillcf4f8c72021-05-20 19:24:23242>
Brian Sheedycb1ba88e2021-06-17 18:12:55243
244# Used by:
245# //content/test/gpu
246wheel: <
247 name: "infra/python/wheels/pathos/${vpython_platform}"
248 version: "version:0.2.7.chromium.4"
249 not_match_tag <
250 abi: "cp27mu"
251 platform: "manylinux1_i686"
252 >
253 not_match_tag <
254 abi: "cp27mu"
255 platform: "linux_mips64"
256 >
257 not_match_tag <
258 abi: "cp27mu"
259 platform: "linux_armv6l"
260 >
261 not_match_tag <
262 abi: "cp27mu"
263 platform: "linux_armv7l"
264 >
265>
Preethi Mohane41c29a52021-08-13 17:01:03266
267# Used by:
Victor Hugo Vianna Silva02442ef02021-09-01 10:48:11268# //tools/infra/find_bad_builds.py
269wheel: <
270 name: "infra/python/wheels/pytz-py2_py3"
271 version: "version:2018.4"
272>
273
274# Used by:
Preethi Mohane41c29a52021-08-13 17:01:03275# //third_party/blink/tools/blinkpy/web_tests/port/server_process.py
276wheel: <
277 name: "infra/python/wheels/pywin32/${vpython_platform}"
278 version: "version:300"
279 match_tag: <
280 platform: "win32"
281 >
282 match_tag: <
283 platform: "win_amd64"
284 >
285>
Brian Sheedy50000e22021-09-24 00:59:27286
287# Used by:
288# //content/test/gpu/gpu_tests/color_profile_manager_mac.py
289wheel: <
290 name: "infra/python/wheels/pyobjc/${vpython_platform}"
291 version: "version:7.3.chromium.1"
292 match_tag: <
293 platform: "macosx_10_10_intel"
294 >
295>