From 82c31a9970bf49bbb13b018ce133faba6f369461 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 25 Feb 2019 19:34:25 +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 1214a91..973ffba 100644 --- a/devscripts/requirements/requirements_tests.txt +++ b/devscripts/requirements/requirements_tests.txt @@ -1,5 +1,6 @@ -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 ppu -- 2.39.5