From 44472cebd5a67941b7e6350cf5a13b61be7114ff Mon Sep 17 00:00:00 2001 From: Alex Viscreanu Date: Thu, 21 Nov 2019 15:08:29 +0100 Subject: [PATCH] fix(dependencies): Pin dependencies to keep it working with python 2.7 * pinned more-itertools to < 6.0.0 * pinned pytest to <= 4.6.6 Newer versions dropped support for python 2.7 --- test-requirements.in | 5 +++-- test-requirements.txt | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/test-requirements.in b/test-requirements.in index ac5fbe0..e0b3d9c 100644 --- a/test-requirements.in +++ b/test-requirements.in @@ -1,8 +1,9 @@ asyncpg; python_version > "3" dictalchemy flask -pytest +pytest <= 4.6.6 pytest-cov pytz sqlalchemy -arrow \ No newline at end of file +arrow +more-itertools < 6.0.0 diff --git a/test-requirements.txt b/test-requirements.txt index 95ec278..d108975 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6,6 +6,7 @@ # arrow==0.15.4 asyncpg==0.20.0 ; python_version > "3" +atomicwrites==1.3.0 # via pytest attrs==19.3.0 # via pytest click==7.0 # via flask coverage==4.5.4 # via pytest-cov @@ -15,16 +16,16 @@ importlib-metadata==0.23 # via pluggy, pytest itsdangerous==1.1.0 # via flask jinja2==2.10.3 # via flask markupsafe==1.1.1 # via jinja2 -more-itertools==7.2.0 # via pytest, zipp +more-itertools==5.0.0 packaging==19.2 # via pytest pluggy==0.13.0 # via pytest py==1.8.0 # via pytest pyparsing==2.4.5 # via packaging pytest-cov==2.8.1 -pytest==5.3.0 +pytest==4.6.6 python-dateutil==2.8.1 # via arrow pytz==2019.3 -six==1.13.0 # via packaging, python-dateutil +six==1.13.0 # via more-itertools, packaging, pytest, python-dateutil sqlalchemy==1.3.11 wcwidth==0.1.7 # via pytest werkzeug==0.16.0 # via flask