From bba5f127eb9fae63805a8d7d08653cd5ad29a522 Mon Sep 17 00:00:00 2001 From: bogdandm Date: Wed, 17 Apr 2019 19:44:30 +0300 Subject: [PATCH 1/4] Pin pytest version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0929a37..18c5e88 100644 --- a/setup.py +++ b/setup.py @@ -45,6 +45,6 @@ def run_tests(self): }, install_requires=required, cmdclass={"test": PyTest}, - tests_require=["pytest", "pytest-xdist", "requests", "attrs"], + tests_require=["pytest>=4.4.0", "pytest-xdist", "requests", "attrs"], data_files=[('', ['pytest.ini', '.coveragerc', 'LICENSE'])] ) From 8afc0f32545bc3cbf1690fcd4e0e74e5daabff67 Mon Sep 17 00:00:00 2001 From: bogdandm Date: Wed, 17 Apr 2019 19:57:36 +0300 Subject: [PATCH 2/4] Pin pytest version --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8b67537..4292ba3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,9 @@ cache: pip install: - python setup.py sdist - python setup.py install - - pip install pytest>=4.4.0 pytest-cov requests coveralls codacy-coverage + - pip install pytest-cov requests coveralls codacy-coverage + - pip install pytest>=4.4.0 + - pytest --version script: - python setup.py test -a '--cov-config .coveragerc --cov=json_to_models -m "not no_expected" test/' From 81fac2e4cb21b1c0a0b5b6b020219e5f5cd7ca27 Mon Sep 17 00:00:00 2001 From: bogdandm Date: Wed, 17 Apr 2019 20:03:41 +0300 Subject: [PATCH 3/4] Pin pytest version --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4292ba3..e0f47d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,7 @@ cache: pip install: - python setup.py sdist - python setup.py install - - pip install pytest-cov requests coveralls codacy-coverage - - pip install pytest>=4.4.0 + - pip install pytest=4.4.* pytest-cov pytest-xdist requests coveralls codacy-coverage - pytest --version script: From 9faf142714f591658971ced38758a0ec0883ebc7 Mon Sep 17 00:00:00 2001 From: bogdandm Date: Wed, 17 Apr 2019 20:04:43 +0300 Subject: [PATCH 4/4] Pin pytest version --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e0f47d3..5ec5e32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,8 @@ cache: pip install: - python setup.py sdist - python setup.py install - - pip install pytest=4.4.* pytest-cov pytest-xdist requests coveralls codacy-coverage + - pip install pytest pytest-cov pytest-xdist requests coveralls codacy-coverage + - pip install --ignore-installed pytest>=4.4.0 - pytest --version script: