-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unfloat versions to expose warnings (#702)
this does a couple of important things: - upgrade `pytest` so the `imp` warning is visible - unpin direct dependencies (this ensures testing against the latest versions possible to expose breakages as soon as possible) - replace `requests` with `urllib3` (`botocore` doesn't use `requests` any more)
- Loading branch information
Showing
4 changed files
with
21 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,7 @@ | ||
# It turns out we "actually" require >=1.6.0 for folks on Python 3.6 because of: | ||
# | ||
# https://github.com/boto/botocore/issues/1079 | ||
# | ||
# This was discovered as a result of integration tests that exercised boto. However, until 4.x | ||
# we didn't want to bump the actual dependency of the library for consumers as it would effectively | ||
# be a breaking change. As a result, we use the 1.6.0 dependency for development here for the | ||
# purpose of integration tests, even though requirements.txt still has 1.2.0. | ||
botocore==1.12.54 | ||
six==1.10.0 | ||
coverage==4.5.3 | ||
mock==2.0.0 | ||
pytest==4.4.0 | ||
pytest-cov==2.6.1 | ||
pytest-mock==1.6.0 | ||
python-coveralls==2.9.1 | ||
tox==3.8.6 | ||
blinker==1.4 | ||
flake8==2.4.1 | ||
pyyaml==5.1 | ||
sphinx==1.8.5 | ||
sphinx-rtd-theme==0.4.3 | ||
mypy==0.710; python_version >= '3.6' | ||
mock | ||
pytest | ||
pytest-mock | ||
# only used in .travis.yml | ||
coveralls | ||
mypy==0.710;python_version>="3.7" | ||
pytest-cov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
[flake8] | ||
exclude = .tox,docs,build | ||
|
||
[tox] | ||
envlist = py26,py27,py33,py34,py35,py36,pypy | ||
envlist = py27,py36,py37,pypy,pypy3 | ||
|
||
[testenv] | ||
deps = -rrequirements-dev.txt | ||
; To include integration tests that require DynamoDB Local, | ||
; use this instead: | ||
;commands = py.test tests | ||
commands = py.test -m 'not ddblocal' tests | ||
extras = signals | ||
commands = pytest -m 'not ddblocal' tests | ||
|
||
[testenv:int] | ||
commands = pytest tests -m ddblocal | ||
|
||
[pytest] | ||
markers = | ||
ddblocal: this test requires a local dynamodb |