From f71f7c114dbb8b0a5010e6026bee419b8fee550a Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 25 Feb 2019 19:34:03 +0300 Subject: [PATCH] Docs,tests: Limit Sphinx and pytest versions for Python 2.7 and 3.4 --- devscripts/requirements/requirements_docs.txt | 3 ++- devscripts/requirements/requirements_tests.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/devscripts/requirements/requirements_docs.txt b/devscripts/requirements/requirements_docs.txt index 94d38eb..e36ba63 100644 --- a/devscripts/requirements/requirements_docs.txt +++ b/devscripts/requirements/requirements_docs.txt @@ -1,3 +1,4 @@ -r requirements.txt -Sphinx +Sphinx < 2.0; python_version == '2.7' or python_version == '3.4' +Sphinx; python_version >= '3.5' diff --git a/devscripts/requirements/requirements_tests.txt b/devscripts/requirements/requirements_tests.txt index ae7bbd9..9d64753 100644 --- a/devscripts/requirements/requirements_tests.txt +++ b/devscripts/requirements/requirements_tests.txt @@ -1,4 +1,5 @@ -r requirements.txt -pytest < 5.0 +pytest < 5.0; python_version == '2.7' or python_version == '3.4' +pytest; python_version >= '3.5' pytest-cov -- 2.39.5