From e8071dcb124ffbccb618a34bb963226fe49da0bd Mon Sep 17 00:00:00 2001 From: Will Lachance Date: Wed, 17 May 2023 10:00:42 -0400 Subject: [PATCH] Pin boto3 dependencies in dev requirements as well (#6037) * Pin boto3 dependencies in dev requirements as well Testing to see if this fixes CI, where it appears a more recent (too recent) version of boto3 is being installed. * Add circle step to list installed packages This takes almost no time, and helps debug dependency issues (a longer-term fix might be to switch to pip-compile). --- .circleci/config.yml | 3 +++ requirements_dev.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 010905176..0818ededa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -43,6 +43,9 @@ jobs: - run: name: List Enabled Query Runners command: docker-compose run --rm redash manage ds list_types + - run: + name: List Installed Python Packages + command: docker-compose run --rm redash pip freeze - run: name: Run Tests command: docker-compose run --name tests redash tests --junitxml=junit.xml --cov-report xml --cov=redash --cov-config .coveragerc tests/ diff --git a/requirements_dev.txt b/requirements_dev.txt index 1c32a3d30..f169eb53a 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -6,6 +6,7 @@ mock==3.0.5 # PyMongo and Athena dependencies are needed for some of the unit tests: # (this is not perfect and we should resolve this in a different way) pymongo[srv,tls]==3.9.0 +boto3>=1.10.0,<1.11.0 botocore>=1.13,<1.14.0 PyAthena>=1.5.0,<=1.11.5 ptvsd==4.3.2