blob: 2a3172b783a7a7b2a35b89cc00cf47165afd1566 [file] [log] [blame]
nednguyence5742e2018-06-11 11:42:27 -04001# 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: "2.7"
26
27
28# Used by:
Brian Sheedy309eb9b2020-11-13 11:47:07 -080029# dashboard/
30wheel: <
31 name: "infra/python/wheels/flask-py2_py3"
32 version: "version:1.0.2"
33>
34wheel: <
35 name: "infra/python/wheels/jinja2-py2_py3"
36 version: "version:2.10"
37>
38wheel: <
39 name: "infra/python/wheels/markupsafe/${vpython_platform}"
40 version: "version:1.1.1"
41>
42wheel: <
43 name: "infra/python/wheels/itsdangerous-py2_py3"
44 version: "version:1.1.0"
45>
46wheel: <
47 name: "infra/python/wheels/werkzeug-py2_py3"
Wenbin Zhang861067d2022-09-09 13:54:32 -070048 version: "version:1.0.1"
Brian Sheedy309eb9b2020-11-13 11:47:07 -080049>
50wheel: <
51 name: "infra/python/wheels/click-py2_py3"
52 version: "version:7.0"
53>
54
55# Used by:
nednguyence5742e2018-06-11 11:42:27 -040056# telemetry/
57#
58# This version must be compatible with the version range specified by
59# //telemetry/telemetry/internal/util/external_modules.py
60wheel: <
61 name: "infra/python/wheels/numpy/${vpython_platform}"
62 version: "version:1.11.3"
63>
64
65# Used by:
Brian Sheedy309eb9b2020-11-13 11:47:07 -080066# dashboard/
nednguyence5742e2018-06-11 11:42:27 -040067# telemetry/
68wheel: <
69 name: "infra/python/wheels/pypiwin32/${vpython_platform}"
70 version: "version:219"
71 match_tag: <
72 platform: "win32"
73 >
74 match_tag: <
75 platform: "win_amd64"
76 >
77>
78
79# Used by:
80# third_party/typ/
81wheel: <
82 name: "infra/python/wheels/coverage/${vpython_platform}"
83 version: "version:4.3.4"
84>
Brian Sheedy309eb9b2020-11-13 11:47:07 -080085wheel: <
86 name: "infra/python/wheels/requests-py2_py3"
87 version: "version:2.13.0"
88>
Nghia Nguyenfdacd162018-06-12 00:29:08 -040089
90# Used by:
91# telemetry/
92# This version must be compatible with the version range specified by
93# //telemetry/telemetry/internal/util/external_modules.py
94wheel: <
95 name: "infra/python/wheels/psutil/${vpython_platform}"
96 version: "version:5.2.2"
97>
Ben Pastene34429bf2018-06-21 13:18:58 -070098
99# Used by:
100# third_party/gsutil/
101wheel: <
102 name: "infra/python/wheels/google_compute_engine-py2_py3"
103 version: "version:2.6.2"
104>
105wheel: <
106 name: "infra/python/wheels/boto-py2_py3"
107 version: "version:2.48.0"
108>
Juan Antonio Navarro Perezb81a9c72018-11-13 15:34:27 +0000109
110# Used by:
111# experimental/soundwave
112wheel: <
113 name: "infra/python/wheels/pandas/${vpython_platform}"
114 version: "version:0.23.4"
115 match_tag: <
116 platform: "win32"
117 >
118 match_tag: <
119 platform: "win_amd64"
120 >
121 match_tag: <
122 abi: "cp27mu"
123 platform: "manylinux1_i686"
124 >
125 match_tag: <
126 abi: "cp27mu"
127 platform: "manylinux1_x86_64"
128 >
129 match_tag: <
130 platform: "macosx_10_6_intel"
131 >
132>
133wheel: <
134 name: "infra/python/wheels/httplib2-py2_py3"
135 version: "version:0.10.3"
136>
137wheel: <
John Budorick6da8f822021-03-02 18:00:34 +0000138 name: "infra/python/wheels/six-py2_py3"
Wenbin Zhangebf22ea2021-08-20 13:35:59 -0700139 version: "version:1.15.0"
John Budorick6da8f822021-03-02 18:00:34 +0000140>
141wheel: <
Juan Antonio Navarro Perezb81a9c72018-11-13 15:34:27 +0000142 name: "infra/python/wheels/pytz-py2_py3"
143 version: "version:2018.4"
144>
145wheel: <
146 name: "infra/python/wheels/python-dateutil-py2_py3"
147 version: "version:2.7.3"
148>
Sadrul Habib Chowdhurydf7f6a42020-02-10 16:15:06 -0500149
150# Used by:
151# telemetry/
152wheel: <
153 name: "infra/python/wheels/pillow/${vpython_platform}"
154 version: "version:6.0.0"
155 match_tag: <
156 platform: "win32"
157 >
158 match_tag: <
159 platform: "win_amd64"
160 >
161 match_tag: <
162 abi: "cp27mu"
163 platform: "manylinux1_i686"
164 >
165 match_tag: <
166 abi: "cp27mu"
167 platform: "manylinux1_x86_64"
168 >
169 match_tag: <
170 platform: "macosx_10_6_intel"
171 >
172>
Ben Pastenefb23afc2020-04-24 12:18:48 -0700173
174# Used by:
175# telemetry/bin/fetch_telemetry_binary_dependencies
176wheel: <
177 name: "infra/python/wheels/pywin32/${vpython_platform}"
178 version: "version:227"
179 match_tag: <
180 platform: "win32"
181 >
182 match_tag: <
183 platform: "win_amd64"
184 >
185>
Chong Guf3641e42022-03-30 12:20:11 -0700186
187# Used by:
188# telemetry/telemetry/internal/backends/chrome/remote_cast_browser_backend.py
189wheel: <
190 name: "infra/python/wheels/pexpect/${vpython_platform}"
191 version: "version:4.8.0.chromium.1"
192>