Require certifi package and python3 in my_activity

my_activity.py talks to third party (e.g. review.coreboot.org). Without
certifi package, making https connection may result in
CERTIFICATE_VERIFY_FAILED.

Adding certifi package to .vpython (py2) doesn't work, so this change
drops py2 support for my_activity.py.

R=gavinmak@google.com

Fixed: 1255921
Change-Id: I515b14c81d37a52d482d08085d8029c791911ae8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3206906
Auto-Submit: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
This commit is contained in:
Josip Sokcevic
2021-10-05 23:55:34 +00:00
committed by LUCI CQ
parent 4ffe9e5f7d
commit 4940cc4b8f
4 changed files with 21 additions and 9 deletions

View File

@@ -42,3 +42,10 @@ wheel: <
name: "infra/python/wheels/six-py2_py3"
version: "version:1.10.0"
>
# May be required to talk to 3P servers.
# Fixes https://crbug.com/1255921
wheel: <
name: "infra/python/wheels/certifi-py2_py3"
version: "version:2021.5.30"
>