Skip to content

Commit

Permalink
Pin boto3 dependencies in dev requirements as well (#6037)
Browse files Browse the repository at this point in the history
* 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).
  • Loading branch information
wlach authored May 17, 2023
1 parent 3444f2b commit e8071dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8071dc

Please sign in to comment.