Skip to content

Commit

Permalink
Merge pull request #4415 from yan12125/remove-boto-version-upper-bounds
Browse files Browse the repository at this point in the history
Remove version upper bounds for boto3/botocore and update
  • Loading branch information
tardyp committed Nov 16, 2018
2 parents 84bc204 + 1c8aa15 commit 727aeef
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .bbtravis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ env:
global:
- BUILDBOT_TEST_DB_URL=sqlite://
- HYPER_SIZE=m1
# Current moto (1.3.7) requires dummy credentials to work
# https://github.com/spulec/moto/issues/1924
- AWS_SECRET_ACCESS_KEY=foobar_secret
- AWS_ACCESS_KEY_ID=foobar_key
matrix:
- TWISTED=latest SQLALCHEMY=latest TESTS=coverage

Expand Down
18 changes: 12 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,19 @@ python:
- "2.7"

env:
# we now use travis only for real database testing
# travis containers do have much more optimized db installations
global:
# Current moto (1.3.7) requires dummy credentials to work
# https://github.com/spulec/moto/issues/1924
- AWS_SECRET_ACCESS_KEY=foobar_secret
- AWS_ACCESS_KEY_ID=foobar_key
matrix:
# we now use travis only for real database testing
# travis containers do have much more optimized db installations

- TWISTED=latest SQLALCHEMY=latest TESTS=coverage BUILDBOT_TEST_DB_URL=mysql+mysqldb://travis@127.0.0.1/bbtest?storage_engine=InnoDB
# Configuration that runs tests with real PostgreSQL database with pg8000 and psycopg2 drivers
- TWISTED=latest SQLALCHEMY=latest TESTS=coverage BUILDBOT_TEST_DB_URL=postgresql+psycopg2:///bbtest?user=postgres
- TWISTED=latest SQLALCHEMY=latest TESTS=coverage BUILDBOT_TEST_DB_URL=postgresql+pg8000:///bbtest?user=postgres
- TWISTED=latest SQLALCHEMY=latest TESTS=coverage BUILDBOT_TEST_DB_URL=mysql+mysqldb://travis@127.0.0.1/bbtest?storage_engine=InnoDB
# Configuration that runs tests with real PostgreSQL database with pg8000 and psycopg2 drivers
- TWISTED=latest SQLALCHEMY=latest TESTS=coverage BUILDBOT_TEST_DB_URL=postgresql+psycopg2:///bbtest?user=postgres
- TWISTED=latest SQLALCHEMY=latest TESTS=coverage BUILDBOT_TEST_DB_URL=postgresql+pg8000:///bbtest?user=postgres

# Dependencies installation commands
install:
Expand Down
5 changes: 5 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
# https://www.appveyor.com/docs

environment:
# Current moto (1.3.7) requires dummy credentials to work
# https://github.com/spulec/moto/issues/1924
AWS_SECRET_ACCESS_KEY: foobar_secret
AWS_ACCESS_KEY_ID: foobar_key

matrix:
# For Python versions available on AppVeyor, see
# http://www.appveyor.com/docs/installed-software#python
Expand Down
1 change: 0 additions & 1 deletion master/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@ def define_plugin_entries(groups):
'pyjade',
# boto3 and moto required for running EC2 tests
'boto3',
'botocore<1.11', # botocore>=1.11.0 broke moto
'moto',
'mock>=2.0.0',
]
Expand Down
6 changes: 3 additions & 3 deletions requirements-ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Babel==2.6.0
backports.functools-lru-cache==1.5
blockdiag==1.5.4
boto==2.49.0
boto3==1.8.6
botocore==1.10.65 # pyup: ignore
boto3==1.9.41
botocore==1.12.41
cffi==1.11.5
click==7.0
configparser==3.5.0
Expand Down Expand Up @@ -40,7 +40,7 @@ markdown2==2.3.6
MarkupSafe==1.0
mccabe==0.6.1
mock==2.0.0
moto==1.3.5
moto==1.3.7
olefile==0.46
packaging==18.0
pathlib2==2.3.2
Expand Down

0 comments on commit 727aeef

Please sign in to comment.