Robert Iannucci | 11a975f | 2017-08-31 17:31:41 | [diff] [blame] | 1 | # 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 |
Ben Pastene | 006cf3e | 2020-02-10 23:56:51 | [diff] [blame] | 24 | # |
| 25 | # For the definition of this spec, see: |
| 26 | # https://chromium.googlesource.com/infra/luci/luci-go/+/master/vpython/api/vpython/spec.proto |
Robert Iannucci | 11a975f | 2017-08-31 17:31:41 | [diff] [blame] | 27 | |
| 28 | python_version: "2.7" |
| 29 | |
| 30 | # Used by: |
Ben Pastene | ba744c00f | 2019-04-26 23:59:19 | [diff] [blame] | 31 | # build/chromeos/test_runner.py |
| 32 | wheel: < |
| 33 | name: "infra/python/wheels/jsonlines-py2_py3" |
| 34 | version: "version:1.2.0" |
| 35 | > |
Ben Pastene | 006cf3e | 2020-02-10 23:56:51 | [diff] [blame] | 36 | wheel: < |
| 37 | name: "infra/python/wheels/subprocess32/${vpython_platform}" |
| 38 | version: "version:3.5.0rc1" |
| 39 | # Only download for linux since we shouldn't be running CrOS tests on mac/win. |
| 40 | match_tag: < |
| 41 | abi: "cp27mu" |
| 42 | platform: "manylinux1_i686" |
| 43 | > |
| 44 | match_tag: < |
| 45 | abi: "cp27mu" |
| 46 | platform: "manylinux1_x86_64" |
| 47 | > |
| 48 | > |
Ben Pastene | ba744c00f | 2019-04-26 23:59:19 | [diff] [blame] | 49 | |
| 50 | # Used by: |
| 51 | # build/chromeos/test_runner.py |
Robert Iannucci | 11a975f | 2017-08-31 17:31:41 | [diff] [blame] | 52 | # third_party/catapult |
Dan Jacques | 8bc5882 | 2017-10-17 02:00:13 | [diff] [blame] | 53 | # |
| 54 | # This version must be compatible with the version range specified by |
| 55 | # //third_party/catapult/telemetry/telemetry/internal/util/external_modules.py |
Robert Iannucci | 11a975f | 2017-08-31 17:31:41 | [diff] [blame] | 56 | wheel: < |
Nodir Turakulov | e2d81c3 | 2017-11-10 07:47:27 | [diff] [blame] | 57 | name: "infra/python/wheels/psutil/${vpython_platform}" |
Robert Iannucci | 11a975f | 2017-08-31 17:31:41 | [diff] [blame] | 58 | version: "version:5.2.2" |
| 59 | > |
Dan Jacques | 8bc5882 | 2017-10-17 02:00:13 | [diff] [blame] | 60 | |
| 61 | # Used by: |
Yuke Liao | 0ccddac | 2020-07-18 02:05:06 | [diff] [blame] | 62 | # build/lacros/test_runner.py |
| 63 | wheel: < |
| 64 | name: "infra/python/wheels/parameterized-py2_py3" |
| 65 | version: "version:0.7.1" |
| 66 | > |
| 67 | |
| 68 | # Used by: |
Dan Jacques | 8bc5882 | 2017-10-17 02:00:13 | [diff] [blame] | 69 | # third_party/catapult |
| 70 | # |
| 71 | # This version must be compatible with the version range specified by |
| 72 | # //third_party/catapult/telemetry/telemetry/internal/util/external_modules.py |
| 73 | # |
| 74 | # This version must also be compatible with the "numpy" version, as "cv2" |
| 75 | # depends on "numpy". In this case, [email protected] has been built against |
| 76 | # [email protected]. |
Dan Jacques | 27169470 | 2017-09-08 21:38:48 | [diff] [blame] | 77 | wheel: < |
Nodir Turakulov | e2d81c3 | 2017-11-10 07:47:27 | [diff] [blame] | 78 | name: "infra/python/wheels/opencv_python/${vpython_platform}" |
Dan Jacques | 8bc5882 | 2017-10-17 02:00:13 | [diff] [blame] | 79 | version: "version:2.4.13.2" |
Dan Jacques | 27169470 | 2017-09-08 21:38:48 | [diff] [blame] | 80 | match_tag: < |
| 81 | platform: "win32" |
| 82 | > |
| 83 | match_tag: < |
| 84 | platform: "win_amd64" |
| 85 | > |
| 86 | match_tag: < |
| 87 | abi: "cp27mu" |
| 88 | platform: "manylinux1_i686" |
| 89 | > |
| 90 | match_tag: < |
| 91 | abi: "cp27mu" |
| 92 | platform: "manylinux1_x86_64" |
| 93 | > |
| 94 | match_tag: < |
| 95 | platform: "macosx_10_6_intel" |
| 96 | > |
| 97 | > |
Dan Jacques | 8bc5882 | 2017-10-17 02:00:13 | [diff] [blame] | 98 | |
| 99 | # Used by: |
| 100 | # third_party/catapult |
| 101 | # |
| 102 | # This version must be compatible with the version range specified by |
| 103 | # //third_party/catapult/telemetry/telemetry/internal/util/external_modules.py |
Dan Jacques | 27169470 | 2017-09-08 21:38:48 | [diff] [blame] | 104 | wheel: < |
Nodir Turakulov | e2d81c3 | 2017-11-10 07:47:27 | [diff] [blame] | 105 | name: "infra/python/wheels/numpy/${vpython_platform}" |
Dan Jacques | 8bc5882 | 2017-10-17 02:00:13 | [diff] [blame] | 106 | version: "version:1.11.3" |
Dan Jacques | 27169470 | 2017-09-08 21:38:48 | [diff] [blame] | 107 | > |
Nodir Turakulov | e2d81c3 | 2017-11-10 07:47:27 | [diff] [blame] | 108 | |
| 109 | # Used by: |
| 110 | # third_party/catapult |
| 111 | wheel: < |
| 112 | name: "infra/python/wheels/pypiwin32/${vpython_platform}" |
| 113 | version: "version:219" |
| 114 | match_tag: < |
| 115 | platform: "win32" |
| 116 | > |
| 117 | match_tag: < |
| 118 | platform: "win_amd64" |
| 119 | > |
| 120 | > |
Benjamin Pastene | b948e075 | 2017-11-14 17:47:10 | [diff] [blame] | 121 | |
| 122 | # Used by: |
Arthur Wang | 95d62d4 | 2020-06-03 04:53:25 | [diff] [blame] | 123 | # chrome/test/data/android/upload_download_utils_test.py |
| 124 | wheel: < |
| 125 | name: "infra/python/wheels/pyfakefs-py2_py3" |
| 126 | version: "version:3.7.2" |
| 127 | > |
| 128 | |
| 129 | # Used by: |
Benjamin Pastene | b948e075 | 2017-11-14 17:47:10 | [diff] [blame] | 130 | # tools/perf/fetch_benchmark_deps.py |
| 131 | wheel: < |
| 132 | name: "infra/python/wheels/google_compute_engine-py2_py3" |
| 133 | version: "version:2.6.2" |
| 134 | > |
| 135 | wheel: < |
| 136 | name: "infra/python/wheels/boto-py2_py3" |
| 137 | version: "version:2.48.0" |
| 138 | > |
Benjamin Pastene | f88f17c | 2017-12-07 17:50:32 | [diff] [blame] | 139 | |
| 140 | # Used by: |
| 141 | # testing/buildbot/generate_buildbot_json_coveragetest.py |
| 142 | wheel: < |
| 143 | name: "infra/python/wheels/coverage/${vpython_platform}" |
| 144 | version: "version:4.3.4" |
| 145 | > |
Robert Iannucci | e06dc309 | 2018-01-17 20:41:33 | [diff] [blame] | 146 | |
| 147 | # Used by: |
John Budorick | 0c4f3b4 | 2019-11-15 21:08:18 | [diff] [blame] | 148 | # build/android/pylib/local/emulator/avd.py |
| 149 | # components/policy/test_support/policy_testserver.py |
Robert Iannucci | e06dc309 | 2018-01-17 20:41:33 | [diff] [blame] | 150 | wheel: < |
| 151 | name: "infra/python/wheels/protobuf-py2_py3" |
John Budorick | 0c4f3b4 | 2019-11-15 21:08:18 | [diff] [blame] | 152 | version: "version:3.6.1" |
Robert Iannucci | e06dc309 | 2018-01-17 20:41:33 | [diff] [blame] | 153 | > |
| 154 | wheel: < |
| 155 | name: "infra/python/wheels/six-py2_py3" |
Kyle Ju | e6df144 | 2020-08-01 03:34:38 | [diff] [blame] | 156 | version: "version:1.15.0" |
Robert Iannucci | e06dc309 | 2018-01-17 20:41:33 | [diff] [blame] | 157 | > |
| 158 | wheel: < |
Robert Iannucci | ecafcf2 | 2018-01-18 22:44:16 | [diff] [blame] | 159 | name: "infra/python/wheels/pyftpdlib-py2_py3" |
| 160 | version: "version:0.7.0" |
| 161 | > |
| 162 | wheel: < |
| 163 | name: "infra/python/wheels/simplejson/${vpython_platform}" |
| 164 | version: "version:3.13.2" |
Robert Iannucci | e06dc309 | 2018-01-17 20:41:33 | [diff] [blame] | 165 | > |
Ashley Enstad | 500b824 | 2018-02-09 19:40:57 | [diff] [blame] | 166 | |
| 167 | # Used by: |
| 168 | # tools/perf/core/results_dashboard.py |
| 169 | wheel: < |
| 170 | name: "infra/python/wheels/httplib2-py2_py3" |
| 171 | version: "version:0.10.3" |
| 172 | > |
bsheedy | 1f5390a | 2018-02-28 18:37:07 | [diff] [blame] | 173 | |
| 174 | # Used by: |
Juan Antonio Navarro Perez | f1d4bbb6 | 2018-11-02 01:17:08 | [diff] [blame] | 175 | # tools/perf/flakiness_cli |
| 176 | wheel: < |
| 177 | name: "infra/python/wheels/pandas/${vpython_platform}" |
| 178 | version: "version:0.23.4" |
| 179 | match_tag: < |
| 180 | platform: "win32" |
| 181 | > |
| 182 | match_tag: < |
| 183 | platform: "win_amd64" |
| 184 | > |
| 185 | match_tag: < |
| 186 | abi: "cp27mu" |
| 187 | platform: "manylinux1_i686" |
| 188 | > |
| 189 | match_tag: < |
| 190 | abi: "cp27mu" |
| 191 | platform: "manylinux1_x86_64" |
| 192 | > |
| 193 | match_tag: < |
| 194 | platform: "macosx_10_6_intel" |
| 195 | > |
| 196 | > |
| 197 | wheel: < |
| 198 | name: "infra/python/wheels/pytz-py2_py3" |
| 199 | version: "version:2018.4" |
| 200 | > |
| 201 | wheel: < |
| 202 | name: "infra/python/wheels/python-dateutil-py2_py3" |
| 203 | version: "version:2.7.3" |
| 204 | > |
| 205 | |
| 206 | # Used by: |
Kenneth Russell | c4782ec1 | 2018-03-08 06:34:17 | [diff] [blame] | 207 | # content/test/gpu/gpu_tests/color_profile_manager_mac.py |
| 208 | # Note: there's a version of this wheel for even older OS versions, |
| 209 | # but we don't need it for the GPU tests, and it looks like there are |
| 210 | # bugs in the not_match_tag implementation. |
| 211 | wheel: < |
| 212 | name: "infra/python/wheels/pyobjc/${vpython_platform}" |
| 213 | version: "version:4.1" |
| 214 | match_tag: < platform: "macosx_10_10_intel" > |
| 215 | > |
John Budorick | a5725a11 | 2018-09-21 20:24:01 | [diff] [blame] | 216 | |
| 217 | # Used by: |
| 218 | # third_party/catapult |
| 219 | wheel: < |
| 220 | name: "infra/python/wheels/six-py2_py3" |
Kyle Ju | e6df144 | 2020-08-01 03:34:38 | [diff] [blame] | 221 | version: "version:1.15.0" |
John Budorick | a5725a11 | 2018-09-21 20:24:01 | [diff] [blame] | 222 | > |
| 223 | wheel: < |
| 224 | name: "infra/python/wheels/pbr-py2_py3" |
| 225 | version: "version:3.0.0" |
| 226 | > |
| 227 | wheel: < |
| 228 | name: "infra/python/wheels/funcsigs-py2_py3" |
| 229 | version: "version:1.0.2" |
| 230 | > |
| 231 | wheel: < |
| 232 | name: "infra/python/wheels/mock-py2_py3" |
| 233 | version: "version:2.0.0" |
| 234 | > |
kyle Ju | f8cdeac | 2019-02-07 00:10:01 | [diff] [blame] | 235 | |
| 236 | # Used by: |
| 237 | # chrome/test/chromedriver/test/run_webdriver_tests.py |
| 238 | |
| 239 | wheel < |
| 240 | name: "infra/python/wheels/pytest-py2_py3" |
kyle Ju | 9afd817 | 2019-02-20 19:15:45 | [diff] [blame] | 241 | version: "version:3.6.2" |
kyle Ju | f8cdeac | 2019-02-07 00:10:01 | [diff] [blame] | 242 | > |
| 243 | |
| 244 | wheel < |
| 245 | name: "infra/python/wheels/attrs-py2_py3" |
| 246 | version: "version:17.4.0" |
| 247 | > |
| 248 | |
| 249 | wheel < |
| 250 | name: "infra/python/wheels/six-py2_py3" |
Kyle Ju | e6df144 | 2020-08-01 03:34:38 | [diff] [blame] | 251 | version: "version:1.15.0" |
kyle Ju | f8cdeac | 2019-02-07 00:10:01 | [diff] [blame] | 252 | > |
| 253 | |
| 254 | wheel < |
| 255 | name: "infra/python/wheels/more-itertools-py2_py3" |
| 256 | version: "version:4.1.0" |
| 257 | > |
| 258 | |
| 259 | wheel < |
| 260 | name: "infra/python/wheels/scandir/${vpython_platform}" |
| 261 | version: "version:1.7" |
| 262 | > |
| 263 | |
| 264 | wheel < |
| 265 | name: "infra/python/wheels/pluggy-py2_py3" |
kyle Ju | 9afd817 | 2019-02-20 19:15:45 | [diff] [blame] | 266 | version: "version:0.7.1" |
kyle Ju | f8cdeac | 2019-02-07 00:10:01 | [diff] [blame] | 267 | > |
| 268 | |
| 269 | wheel < |
| 270 | name: "infra/python/wheels/py-py2_py3" |
| 271 | version: "version:1.5.3" |
| 272 | > |
| 273 | |
| 274 | wheel < |
| 275 | name: "infra/python/wheels/funcsigs-py2_py3" |
| 276 | version: "version:1.0.2" |
| 277 | > |
| 278 | wheel: < |
| 279 | name: "infra/python/wheels/psutil/${vpython_platform}" |
| 280 | version: "version:5.2.2" |
| 281 | > |
| 282 | |
Stephen Martinis | b38b64c | 2019-04-10 19:30:12 | [diff] [blame] | 283 | # Used by: |
| 284 | # tools/infra |
| 285 | wheel: < |
| 286 | name: "infra/python/wheels/requests-py2_py3" |
| 287 | version: "version:2.13.0" |
| 288 | > |
kyle Ju | f8cdeac | 2019-02-07 00:10:01 | [diff] [blame] | 289 | wheel: < |
| 290 | name: "infra/python/wheels/colorama-py2_py3" |
| 291 | version: "version:0.4.1" |
| 292 | > |
Stephen Martinis | b38b64c | 2019-04-10 19:30:12 | [diff] [blame] | 293 | wheel: < |
| 294 | name: "infra/python/wheels/mock-py2_py3" |
| 295 | version: "version:2.0.0" |
| 296 | > |
kyle Ju | 9afd817 | 2019-02-20 19:15:45 | [diff] [blame] | 297 | |
| 298 | wheel: < |
| 299 | name: "infra/python/wheels/atomicwrites-py2_py3" |
| 300 | version: "version:1.3.0" |
| 301 | > |
| 302 | |
| 303 | wheel: < |
| 304 | name: "infra/python/wheels/pathlib2-py2_py3" |
| 305 | version: "version:2.3.3" |
| 306 | > |
Luke Zielinski | 218ddea3 | 2019-07-15 16:52:24 | [diff] [blame] | 307 | |
| 308 | # Used by Web Platform Tests (WPT) codebase in |
| 309 | # //third_party/blink/web_tests/external/wpt/tools/ |
| 310 | wheel: < |
| 311 | name: "infra/python/wheels/html5lib-py2_py3" |
| 312 | version: "version:1.0.1" |
| 313 | > |
| 314 | wheel: < |
| 315 | name: "infra/python/wheels/mozdebug-py2_py3" |
| 316 | version: "version:0.1.1" |
| 317 | > |
| 318 | wheel: < |
| 319 | name: "infra/python/wheels/mozinfo-py2_py3" |
| 320 | version: "version:1.1.0" |
| 321 | > |
| 322 | wheel: < |
| 323 | name: "infra/python/wheels/mozlog-py2_py3" |
Luke Zielinski | cf16864a | 2020-03-04 17:46:09 | [diff] [blame] | 324 | version: "version:5.0" |
Luke Zielinski | 218ddea3 | 2019-07-15 16:52:24 | [diff] [blame] | 325 | > |
| 326 | wheel: < |
| 327 | name: "infra/python/wheels/mozprocess-py2_py3" |
| 328 | version: "version:0.26" |
| 329 | > |
| 330 | wheel: < |
| 331 | name: "infra/python/wheels/urllib3-py2_py3" |
| 332 | version: "version:1.22" |
| 333 | > |
| 334 | wheel: < |
| 335 | name: "infra/python/wheels/blessings-py2_py3" |
| 336 | version: "version:1.7" |
| 337 | > |
| 338 | wheel: < |
| 339 | name: "infra/python/wheels/mozfile-py2_py3" |
| 340 | version: "version:2.0.0" |
| 341 | > |
| 342 | wheel: < |
| 343 | name: "infra/python/wheels/mozterm-py2_py3" |
| 344 | version: "version:1.0.0" |
| 345 | > |
| 346 | wheel: < |
| 347 | name: "infra/python/wheels/webencodings-py2_py3" |
| 348 | version: "version:0.5.1" |
| 349 | > |
| 350 | wheel: < |
| 351 | name: "infra/python/wheels/certifi-py2_py3" |
| 352 | version: "version:2018.11.29" |
| 353 | > |
| 354 | wheel: < |
| 355 | name: "infra/python/wheels/chardet-py2_py3" |
| 356 | version: "version:3.0.4" |
| 357 | > |
| 358 | wheel: < |
| 359 | name: "infra/python/wheels/idna-py2_py3" |
| 360 | version: "version:2.8" |
| 361 | > |
| 362 | wheel: < |
| 363 | name: "infra/python/wheels/pillow/${vpython_platform}" |
| 364 | version: "version:6.0.0" |
| 365 | match_tag: < |
| 366 | platform: "win32" |
| 367 | > |
| 368 | match_tag: < |
| 369 | platform: "win_amd64" |
| 370 | > |
| 371 | match_tag: < |
| 372 | abi: "cp27mu" |
| 373 | platform: "manylinux1_i686" |
| 374 | > |
| 375 | match_tag: < |
| 376 | abi: "cp27mu" |
| 377 | platform: "manylinux1_x86_64" |
| 378 | > |
| 379 | match_tag: < |
| 380 | platform: "macosx_10_6_intel" |
| 381 | > |
| 382 | > |
ehmaldonado | 0fbaadc | 2019-10-25 21:14:30 | [diff] [blame] | 383 | |
| 384 | # Used by: |
| 385 | # //third_party/blink/tools/blinkpy/web_tests/port/server_process.py |
| 386 | wheel: < |
| 387 | name: "infra/python/wheels/pywin32/${vpython_platform}" |
Chan Li | 64806d0 | 2020-04-23 20:39:49 | [diff] [blame] | 388 | version: "version:227" |
ehmaldonado | 0fbaadc | 2019-10-25 21:14:30 | [diff] [blame] | 389 | match_tag: < |
| 390 | platform: "win32" |
| 391 | > |
| 392 | match_tag: < |
| 393 | platform: "win_amd64" |
| 394 | > |
| 395 | > |