diff options
author | Eric Lin <anselor@gmail.com> | 2020-08-11 11:00:29 -0400 |
---|---|---|
committer | anselor <anselor@gmail.com> | 2020-08-11 13:01:25 -0400 |
commit | 115143a1a3626cd651d3d18affd13cd60e1d06c8 (patch) | |
tree | 7ff5470062466a02251d6597533b2183a507a8b8 /setup.py | |
parent | 9d314de00100642679abda2cd5e7e0302cde9679 (diff) | |
download | cmd2-git-115143a1a3626cd651d3d18affd13cd60e1d06c8.tar.gz |
Adding explicit python 3.5.2 test to nox, travis
Python 3.5.2 introduced a bug in typing that was fixed in 3.5.3.
The bug in typing prevents the latest nox from running properly.
Ubuntu 16.04 stopped at python 3.5.2.
To work-around, force an older version of nox when testing 3.5.2
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -51,13 +51,19 @@ EXTRAS_REQUIRE = { "mock ; python_version<'3.6'", # for python 3.5 we need the third party mock module 'codecov', 'coverage', - 'pytest', + 'pytest>=4.6', 'pytest-cov', 'pytest-mock', ], # development only dependencies: install with 'pip install -e .[dev]' 'dev': ["mock ; python_version<'3.6'", # for python 3.5 we need the third party mock module - 'pytest', 'codecov', 'pytest-cov', 'pytest-mock', 'nox', 'flake8', + "pytest>=4.6", + 'codecov', + 'pytest-cov', + 'pytest-mock', + "nox==2019.11.9 ; python_version=='3.5.2'", + "nox ; python_version>'3.5.2'", + 'flake8', 'sphinx', 'sphinx-rtd-theme', 'sphinx-autobuild', 'doc8', 'invoke', 'twine>=1.11', ] |