From d838b6e9895b9687c0c98cf4abc8736919e7ab97 Mon Sep 17 00:00:00 2001 From: Samuel Chiang Date: Thu, 4 May 2023 12:39:14 -0700 Subject: [PATCH] fix device farm CI build with boto3 (#990) --- tests/ci/devicefarm_job.py | 2 +- tests/ci/setup.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/ci/devicefarm_job.py b/tests/ci/devicefarm_job.py index 24779cd093..c8e0ae1bbe 100644 --- a/tests/ci/devicefarm_job.py +++ b/tests/ci/devicefarm_job.py @@ -20,7 +20,7 @@ "poolArn": DEVICEFARM_DEVICE_POOL, } -client = boto3.client('devicefarm') +client = boto3.client('devicefarm', region_name=AWS_REGION) unique = config['namePrefix'] aws_region = config['awsRegion'] diff --git a/tests/ci/setup.py b/tests/ci/setup.py index 278a9d58bf..966d298a9c 100644 --- a/tests/ci/setup.py +++ b/tests/ci/setup.py @@ -29,10 +29,11 @@ # A formatter for Python code. "yapf==0.30.0", # Introduced by benchmark framework. - "boto3==1.18.11", + "boto3==1.26.126", # Introduced by Android Device Farm CI. "requests", - "arnparse==0.0.2" + "arnparse==0.0.2", + "urllib3==1.25.4" ], python_requires=">=3.6",