Skip to content

Commit

Permalink
tox tests: pin test requirement versions
Browse files Browse the repository at this point in the history
Tests once again randomly broke due to a PyPi release.
This makes req versions explicit so they only change deliberately.
  • Loading branch information
sosiouxme committed Apr 13, 2017
1 parent e36b53c commit e933ccd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Versions are pinned to prevent pypi releases arbitrarily breaking
# tests with new APIs/semantics. We want to update versions deliberately.
ansible==2.2.2.0
click==6.7
pyOpenSSL==16.2.0
Expand Down
23 changes: 13 additions & 10 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Versions are pinned to prevent pypi releases arbitrarily breaking
# tests with new APIs/semantics. We want to update versions deliberately.

# flake8 must be listed before pylint to avoid dependency conflicts
flake8
flake8-mutable
flake8-print
pylint
setuptools-lint
yamllint
coverage
mock
pytest
pytest-cov
flake8==3.3.0
flake8-mutable==1.1.0
flake8-print==2.0.2
pylint==1.6.5
setuptools-lint==0.5.2
yamllint==1.6.1
coverage==4.3.4
mock==2.0.0
pytest==3.0.7
pytest-cov==2.4.0
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ skip_install=True
deps =
-rrequirements.txt
-rtest-requirements.txt
py35-flake8: flake8-bugbear
py35-flake8: flake8-bugbear==17.3.0

commands =
unit: pip install -e utils
Expand Down

0 comments on commit e933ccd

Please sign in to comment.