From 76f5156a2152fee8ef972e5c734d7f1db6c91b2d Mon Sep 17 00:00:00 2001 From: "Fabien C. Y. Benureau" Date: Sun, 10 May 2020 09:06:15 +0900 Subject: [PATCH] pin ddt version to 1.3.1 because of https://github.com/datadriventests/ddt/issues/83 --- dev_requirements.txt | 4 +++- setup.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dev_requirements.txt b/dev_requirements.txt index 1891f81..f6555a6 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -20,6 +20,8 @@ six # those are the additional packages required to run the tests pyfakefs certifi -ddt +# FIXME: remove strict version when https://github.com/datadriventests/ddt/issues/83 is fixed. +# (also remove in setup.py) +ddt==1.3.1 mock pytest # optional (python setup.py test works without it), but possible nonetheless diff --git a/setup.py b/setup.py index d7fe2dd..a8eb7de 100644 --- a/setup.py +++ b/setup.py @@ -61,7 +61,7 @@ setup( ], test_suite='tests', - tests_require=['pyfakefs>=3.4', 'mock', 'ddt', 'certifi'], + tests_require=['pyfakefs>=3.4', 'mock', 'ddt==1.3.1', 'certifi'], # in order to avoid 'zipimport.ZipImportError: bad local file header' zip_safe=False,