blob: 52b621f78463f26e57f2b636ec1d3ec823d1cc12 [file] [log] [blame]
Brian Sheedy234580e2019-09-10 17:42:51 +00001# 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: "3.8"
Weizhong Xiae87d2572021-03-21 16:53:51 +000026# Used by:
27# build/android/pylib/local/emulator/avd.py
28# components/policy/test_support/policy_testserver.py
29wheel: <
30 name: "infra/python/wheels/protobuf-py2_py3"
Tim Sergeante30fcda2021-05-20 05:59:41 +000031 version: "version:3.6.1"
Weizhong Xiae87d2572021-03-21 16:53:51 +000032>
Brian Sheedy234580e2019-09-10 17:42:51 +000033
34# TODO(https://crbug.com/898348): Add in necessary wheels as Python3 versions
35# become available.
Daniel Cheng826af0e2020-06-04 21:14:32 +000036wheel: <
37 name: "infra/python/wheels/six-py2_py3"
John Budorick2f6445a2020-12-18 20:32:33 +000038 version: "version:1.15.0"
Daniel Cheng826af0e2020-06-04 21:14:32 +000039>
Ben Pasteneefdcb842021-01-29 01:38:21 +000040
41# Common utilities.
Brian Sheedy9d952022021-05-15 00:38:02 +000042# For Python 2, this version needed to be compatible with the version range
43# specified by
44# //third_party/catapult/telemetry/telemetry/internal/util/external_modules.py
45# However, the hope is that Telemetry's Python 3 migration will fix this, so
46# use the newer version that's currently available in CIPD for now.
47wheel: <
48 name: "infra/python/wheels/numpy/${vpython_platform}"
49 version: "version:1.19.5"
50>
Ben Pasteneefdcb842021-01-29 01:38:21 +000051wheel: <
Weizhong Xiae87d2572021-03-21 16:53:51 +000052 name: "infra/python/wheels/psutil/${vpython_platform}"
Ben Pasteneefdcb842021-01-29 01:38:21 +000053 version: "version:5.7.2"
54>
55wheel: <
56 name: "infra/python/wheels/requests-py2_py3"
57 version: "version:2.13.0"
58>
59
60# Used by various python unit tests.
61wheel: <
62 name: "infra/python/wheels/mock-py2_py3"
63 version: "version:2.0.0"
64>
65wheel: <
66 name: "infra/python/wheels/parameterized-py2_py3"
67 version: "version:0.7.1"
68>
69wheel: <
70 name: "infra/python/wheels/pbr-py2_py3"
71 version: "version:3.0.0"
72>
73
Brian Sheedy9d952022021-05-15 00:38:02 +000074wheel: <
75 name: "infra/python/wheels/pyfakefs-py2_py3"
76 version: "version:3.7.2"
77>
78
Ben Pasteneefdcb842021-01-29 01:38:21 +000079# Used by:
80# build/chromeos/test_runner.py
81wheel: <
82 name: "infra/python/wheels/jsonlines-py2_py3"
83 version: "version:1.2.0"
84>
85wheel: <
86 name: "infra/python/wheels/python-dateutil-py2_py3"
87 version: "version:2.7.3"
88>
Luke Zielinski57397c72021-03-04 22:53:51 +000089
90# Used by Web Platform Tests (WPT) codebase in
91# //third_party/blink/web_tests/external/wpt/tools/
92wheel: <
93 name: "infra/python/wheels/html5lib-py2_py3"
94 version: "version:1.0.1"
95>
96wheel: <
97 name: "infra/python/wheels/mozdebug-py2_py3"
98 version: "version:0.2"
99>
100wheel: <
101 name: "infra/python/wheels/mozinfo-py2_py3"
102 version: "version:1.2.2"
103>
104wheel: <
105 name: "infra/python/wheels/mozlog-py2_py3"
106 version: "version:7.1.0"
107>
108wheel: <
109 name: "infra/python/wheels/mozprocess-py2_py3"
110 version: "version:1.2.1"
111>
112wheel: <
113 name: "infra/python/wheels/urllib3-py2_py3"
114 version: "version:1.24.3"
115>
116wheel: <
117 name: "infra/python/wheels/blessings-py2_py3"
118 version: "version:1.7"
119>
120wheel: <
121 name: "infra/python/wheels/mozfile-py2_py3"
122 version: "version:2.0.0"
123>
124wheel: <
125 name: "infra/python/wheels/mozterm-py2_py3"
126 version: "version:1.0.0"
127>
128wheel: <
129 name: "infra/python/wheels/webencodings-py2_py3"
130 version: "version:0.5.1"
131>
132wheel: <
133 name: "infra/python/wheels/certifi-py2_py3"
134 version: "version:2020.11.8"
135>
136wheel: <
137 name: "infra/python/wheels/chardet-py2_py3"
138 version: "version:3.0.4"
139>
140wheel: <
141 name: "infra/python/wheels/idna-py2_py3"
142 version: "version:2.8"
143>
144wheel: <
145 name: "infra/python/wheels/distro-py2_py3"
146 version: "version:1.4.0"
147>
Luke Zielinski5b0bcde2021-03-17 16:14:14 +0000148wheel: <
149 name: "infra/python/wheels/pillow/linux-amd64_cp38_cp38"
150 version: "version:8.1.2"
151>
Stephen McGruer367e9b22021-03-19 13:32:18 +0000152
153# Used by:
154# chrome/test/chromedriver/test/run_webdriver_tests.py
Luke Zielinski04b275d2021-03-24 19:30:00 +0000155wheel: <
156 name: "infra/python/wheels/iniconfig-py3"
157 version: "version:1.1.1"
158>
159
160wheel: <
161 name: "infra/python/wheels/packaging-py2_py3"
162 version: "version:16.8"
163>
164
165wheel: <
166 name: "infra/python/wheels/pyparsing-py2_py3"
167 version: "version:2.2.0"
168>
169
170wheel: <
171 name: "infra/python/wheels/toml-py3"
172 version: "version:0.10.1"
173>
Stephen McGruer367e9b22021-03-19 13:32:18 +0000174
175wheel <
Luke Zielinski04b275d2021-03-24 19:30:00 +0000176 name: "infra/python/wheels/pytest-py3"
177 version: "version:6.2.2"
178>
179
180wheel <
181 name: "infra/python/wheels/pytest-asyncio-py3"
182 version: "version:0.14.0"
Stephen McGruer367e9b22021-03-19 13:32:18 +0000183>
184
185wheel <
186 name: "infra/python/wheels/attrs-py2_py3"
Luke Zielinski04b275d2021-03-24 19:30:00 +0000187 version: "version:20.3.0"
Stephen McGruer367e9b22021-03-19 13:32:18 +0000188>
189
190wheel <
191 name: "infra/python/wheels/six-py2_py3"
192 version: "version:1.15.0"
193>
194
195wheel <
196 name: "infra/python/wheels/more-itertools-py2_py3"
197 version: "version:4.1.0"
198>
199
200wheel <
Luke Zielinski04b275d2021-03-24 19:30:00 +0000201 name: "infra/python/wheels/pluggy-py3"
202 version: "version:0.13.1"
Stephen McGruer367e9b22021-03-19 13:32:18 +0000203>
204
205wheel <
206 name: "infra/python/wheels/py-py2_py3"
Brian Ryner5e3d1202021-08-03 18:47:25 +0000207 version: "version:1.10.0"
Stephen McGruer367e9b22021-03-19 13:32:18 +0000208>
209
210wheel <
211 name: "infra/python/wheels/funcsigs-py2_py3"
212 version: "version:1.0.2"
213>
214
215wheel: <
216 name: "infra/python/wheels/atomicwrites-py2_py3"
217 version: "version:1.3.0"
218>
Jamie Madillcf4f8c72021-05-20 19:24:23 +0000219
220wheel: <
221 name: "infra/python/wheels/colorama-py2_py3"
222 version: "version:0.4.1"
223>
224
225# Used by:
226# testing/buildbot/generate_buildbot_json_coveragetest.py
227wheel: <
228 name: "infra/python/wheels/coverage/${vpython_platform}"
229 version: "version:5.5"
230>