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