1 # This is a vpython "spec" file.
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).
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/
14 # All python scripts in the repo share this same spec, to avoid dependency
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
22 # Read more about `vpython` and how to modify this file here:
23 # https://chromium.googlesource.com/infra/infra/+/master/doc/users/vpython.md
28 # build/chromeos/test_runner.py
30 name: "infra/python/wheels/jsonlines-py2_py3"
31 version: "version:1.2.0"
35 # build/chromeos/test_runner.py
36 # third_party/catapult
38 # This version must be compatible with the version range specified by
39 # //third_party/catapult/telemetry/telemetry/internal/util/external_modules.py
41 name: "infra/python/wheels/psutil/${vpython_platform}"
42 version: "version:5.2.2"
46 # third_party/catapult
48 # This version must be compatible with the version range specified by
49 # //third_party/catapult/telemetry/telemetry/internal/util/external_modules.py
51 # This version must also be compatible with the "numpy" version, as "cv2"
52 # depends on "numpy". In this case, OpenCV@2.4.13.2 has been built against
55 name: "infra/python/wheels/opencv_python/${vpython_platform}"
56 version: "version:2.4.13.2"
65 platform: "manylinux1_i686"
69 platform: "manylinux1_x86_64"
72 platform: "macosx_10_6_intel"
77 # third_party/catapult
78 # chrome/test/vr/perf/latency/run_latency_test.py
80 # This version must be compatible with the version range specified by
81 # //third_party/catapult/telemetry/telemetry/internal/util/external_modules.py
83 name: "infra/python/wheels/numpy/${vpython_platform}"
84 version: "version:1.11.3"
88 # third_party/catapult
90 name: "infra/python/wheels/pypiwin32/${vpython_platform}"
91 version: "version:219"
101 # tools/perf/fetch_benchmark_deps.py
103 name: "infra/python/wheels/google_compute_engine-py2_py3"
104 version: "version:2.6.2"
107 name: "infra/python/wheels/boto-py2_py3"
108 version: "version:2.48.0"
112 # testing/buildbot/generate_buildbot_json_coveragetest.py
114 name: "infra/python/wheels/coverage/${vpython_platform}"
115 version: "version:4.3.4"
119 # chrome/browser/policy/test/policy_testserver.py
121 name: "infra/python/wheels/protobuf-py2_py3"
122 version: "version:3.2.0"
125 name: "infra/python/wheels/six-py2_py3"
126 version: "version:1.10.0"
129 name: "infra/python/wheels/pyftpdlib-py2_py3"
130 version: "version:0.7.0"
133 name: "infra/python/wheels/simplejson/${vpython_platform}"
134 version: "version:3.13.2"
138 # tools/perf/core/results_dashboard.py
140 name: "infra/python/wheels/httplib2-py2_py3"
141 version: "version:0.10.3"
145 # tools/perf/flakiness_cli
147 name: "infra/python/wheels/pandas/${vpython_platform}"
148 version: "version:0.23.4"
153 platform: "win_amd64"
157 platform: "manylinux1_i686"
161 platform: "manylinux1_x86_64"
164 platform: "macosx_10_6_intel"
168 name: "infra/python/wheels/pytz-py2_py3"
169 version: "version:2018.4"
172 name: "infra/python/wheels/python-dateutil-py2_py3"
173 version: "version:2.7.3"
177 # chrome/test/vr/perf/latency/run_latency_test.py
179 name: "infra/python/wheels/peakutils-py2_py3"
180 version: "version:1.0.3"
183 platform: "manylinux1_i686"
187 platform: "manylinux1_x86_64"
191 name: "infra/python/wheels/pyserial-py2_py3"
192 version: "version:3.4"
195 name: "infra/python/wheels/scipy/${vpython_platform}"
196 version: "version:0.19.0"
199 platform: "manylinux1_i686"
203 platform: "manylinux1_x86_64"
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.
213 name: "infra/python/wheels/pyobjc/${vpython_platform}"
214 version: "version:4.1"
215 match_tag: < platform: "macosx_10_10_intel" >
219 # third_party/catapult
221 name: "infra/python/wheels/six-py2_py3"
222 version: "version:1.10.0"
225 name: "infra/python/wheels/pbr-py2_py3"
226 version: "version:3.0.0"
229 name: "infra/python/wheels/funcsigs-py2_py3"
230 version: "version:1.0.2"
233 name: "infra/python/wheels/mock-py2_py3"
234 version: "version:2.0.0"
238 # chrome/test/chromedriver/test/run_webdriver_tests.py
241 name: "infra/python/wheels/pytest-py2_py3"
242 version: "version:3.6.2"
246 name: "infra/python/wheels/attrs-py2_py3"
247 version: "version:17.4.0"
251 name: "infra/python/wheels/six-py2_py3"
252 version: "version:1.10.0"
256 name: "infra/python/wheels/more-itertools-py2_py3"
257 version: "version:4.1.0"
261 name: "infra/python/wheels/scandir/${vpython_platform}"
262 version: "version:1.7"
266 name: "infra/python/wheels/pluggy-py2_py3"
267 version: "version:0.7.1"
271 name: "infra/python/wheels/py-py2_py3"
272 version: "version:1.5.3"
276 name: "infra/python/wheels/funcsigs-py2_py3"
277 version: "version:1.0.2"
280 name: "infra/python/wheels/psutil/${vpython_platform}"
281 version: "version:5.2.2"
287 name: "infra/python/wheels/requests-py2_py3"
288 version: "version:2.13.0"
291 name: "infra/python/wheels/colorama-py2_py3"
292 version: "version:0.4.1"
295 name: "infra/python/wheels/mock-py2_py3"
296 version: "version:2.0.0"
300 name: "infra/python/wheels/atomicwrites-py2_py3"
301 version: "version:1.3.0"
305 name: "infra/python/wheels/pathlib2-py2_py3"
306 version: "version:2.3.3"
309 # Used by Web Platform Tests (WPT) codebase in
310 # //third_party/blink/web_tests/external/wpt/tools/
312 name: "infra/python/wheels/html5lib-py2_py3"
313 version: "version:1.0.1"
316 name: "infra/python/wheels/mozdebug-py2_py3"
317 version: "version:0.1.1"
320 name: "infra/python/wheels/mozinfo-py2_py3"
321 version: "version:1.1.0"
324 name: "infra/python/wheels/mozlog-py2_py3"
325 version: "version:4.2.0"
328 name: "infra/python/wheels/mozprocess-py2_py3"
329 version: "version:0.26"
332 name: "infra/python/wheels/urllib3-py2_py3"
333 version: "version:1.22"
336 name: "infra/python/wheels/blessings-py2_py3"
337 version: "version:1.7"
340 name: "infra/python/wheels/mozfile-py2_py3"
341 version: "version:2.0.0"
344 name: "infra/python/wheels/mozterm-py2_py3"
345 version: "version:1.0.0"
348 name: "infra/python/wheels/webencodings-py2_py3"
349 version: "version:0.5.1"
352 name: "infra/python/wheels/certifi-py2_py3"
353 version: "version:2018.11.29"
356 name: "infra/python/wheels/chardet-py2_py3"
357 version: "version:3.0.4"
360 name: "infra/python/wheels/idna-py2_py3"
361 version: "version:2.8"
364 name: "infra/python/wheels/pillow/${vpython_platform}"
365 version: "version:6.0.0"
370 platform: "win_amd64"
374 platform: "manylinux1_i686"
378 platform: "manylinux1_x86_64"
381 platform: "macosx_10_6_intel"