[go: nahoru, domu]

blob: 3c47efad140efb315102f81f2f9b4dfb0f7f61da [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"
Weizhong Xiae87d2572021-03-21 16:53:5126# 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"
Takuto Ikutacbc8a0b2021-05-21 10:26:3631 version: "version:3.15.8"
Weizhong Xiae87d2572021-03-21 16:53:5132>
Brian Sheedy234580e52019-09-10 17:42:5133
34# TODO(https://crbug.com/898348): Add in necessary wheels as Python3 versions
35# become available.
Daniel Cheng826af0e2020-06-04 21:14:3236wheel: <
37 name: "infra/python/wheels/six-py2_py3"
John Budorick2f6445a2020-12-18 20:32:3338 version: "version:1.15.0"
Daniel Cheng826af0e2020-06-04 21:14:3239>
Ben Pasteneefdcb842021-01-29 01:38:2140
41# Common utilities.
Brian Sheedy9d952022021-05-15 00:38:0242# 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:2151wheel: <
Weizhong Xiae87d2572021-03-21 16:53:5152 name: "infra/python/wheels/psutil/${vpython_platform}"
Brian Ryner4547a992021-08-05 22:24:4153 version: "version:5.8.0.chromium.2"
Ben Pasteneefdcb842021-01-29 01:38:2154>
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:0274wheel: <
75 name: "infra/python/wheels/pyfakefs-py2_py3"
76 version: "version:3.7.2"
77>
78
Ben Pasteneefdcb842021-01-29 01:38:2179# 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 Zielinski57397c7c2021-03-04 22:53:5189
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 Zielinski5b0bcde32021-03-17 16:14:14148wheel: <
149 name: "infra/python/wheels/pillow/linux-amd64_cp38_cp38"
150 version: "version:8.1.2"
151>
Stephen McGruer367e9b202021-03-19 13:32:18152
153# Used by:
154# chrome/test/chromedriver/test/run_webdriver_tests.py
Luke Zielinski04b275de2021-03-24 19:30:00155wheel: <
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 McGruer367e9b202021-03-19 13:32:18174
175wheel <
Luke Zielinski04b275de2021-03-24 19:30:00176 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 McGruer367e9b202021-03-19 13:32:18183>
184
185wheel <
186 name: "infra/python/wheels/attrs-py2_py3"
Luke Zielinski04b275de2021-03-24 19:30:00187 version: "version:20.3.0"
Stephen McGruer367e9b202021-03-19 13:32:18188>
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 Zielinski04b275de2021-03-24 19:30:00201 name: "infra/python/wheels/pluggy-py3"
202 version: "version:0.13.1"
Stephen McGruer367e9b202021-03-19 13:32:18203>
204
205wheel <
206 name: "infra/python/wheels/py-py2_py3"
Brian Rynera2b0fa8e2021-07-22 18:54:22207 version: "version:1.10.0"
Stephen McGruer367e9b202021-03-19 13:32:18208>
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:23219
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>
Brian Sheedycb1ba88e2021-06-17 18:12:55231
232# Used by:
233# //content/test/gpu
234wheel: <
235 name: "infra/python/wheels/pathos/${vpython_platform}"
236 version: "version:0.2.7.chromium.4"
237 not_match_tag <
238 abi: "cp27mu"
239 platform: "manylinux1_i686"
240 >
241 not_match_tag <
242 abi: "cp27mu"
243 platform: "linux_mips64"
244 >
245 not_match_tag <
246 abi: "cp27mu"
247 platform: "linux_armv6l"
248 >
249 not_match_tag <
250 abi: "cp27mu"
251 platform: "linux_armv7l"
252 >
253>