Skip to content

Commit

Permalink
Merge pull request #165 from tomato42/six-version
Browse files Browse the repository at this point in the history
six: expect specific version
  • Loading branch information
tomato42 authored Nov 29, 2019
2 parents 307d60e + 6c4f8cb commit fed45a6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ matrix:
env: TOX_ENV=py26
- python: 2.7
env: TOX_ENV=py27
- python: 2.7
env: TOX_ENV=py27_old_six
- python: 3.3
env: TOX_ENV=py33
- python: 3.4
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
install_requires=['six'],
install_requires=['six>=1.9.0'],
)
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,19 @@ deps =
py{26}: hypothesis<3
py{26,27,34,35,36,37,38,py,py3}: pytest
py{27,34,35,36,37,38,py,py3}: hypothesis
# six==1.9.0 comes from setup.py install_requires
py27_old_six: six==1.9.0
py27_old_six: pytest
py27_old_six: hypothesis
py: pytest
py: hypothesis
py{33}: wheel<0.30
coverage
commands = coverage run --branch -m pytest {posargs:src/ecdsa}

[testenv:py27_old_six]
basepython = python2.7

[testenv:coverage]
sitepackages=True
commands = coverage run --branch -m pytest --hypothesis-show-statistics {posargs:src/ecdsa}
Expand Down

0 comments on commit fed45a6

Please sign in to comment.