]> git.phdru.name Git - m_librarian.git/commitdiff
Docs,tests: Limit Sphinx and pytest versions for Python 2.7 and 3.4
authorOleg Broytman <phd@phdru.name>
Mon, 25 Feb 2019 16:34:25 +0000 (19:34 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 25 Feb 2019 16:34:25 +0000 (19:34 +0300)
devscripts/requirements/requirements_docs.txt
devscripts/requirements/requirements_tests.txt

index 94d38eb803060de7380f72db1df4f12c5d7023af..e36ba63464e46eed787633e1aa61d3fd75f278bb 100644 (file)
@@ -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'
index 1214a91826c3a55c7eeccd91006d1d3deb95d491..973ffbaca0ae703070c4568c68c0ab24b50e9f0d 100644 (file)
@@ -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