diff options
author | Hervé Beraud <hberaud@redhat.com> | 2019-05-16 14:33:45 +0200 |
---|---|---|
committer | Hervé Beraud <hberaud@redhat.com> | 2019-05-16 15:33:37 +0200 |
commit | 30926f6dbe05996009d407750acb5ea52a039e62 (patch) | |
tree | 7339ee4415770bbbe0dfd279fe1704703d730f92 | |
parent | 55429ef85692298a6f2dacb38bfa27f2aac5477f (diff) | |
download | pbr-30926f6dbe05996009d407750acb5ea52a039e62.tar.gz |
Update Sphinx requirement
Sphinx 2.0 no longer works on python 2.7, so we need to start capping it
there.
Change-Id: Ia13b8a75f11ee997e00e817464829ce8b86d2e16
-rw-r--r-- | doc/requirements.txt | 3 | ||||
-rw-r--r-- | test-requirements.txt | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt index b9c5e1f..711fb97 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,4 @@ -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD openstackdocstheme>=1.18.1 # Apache-2.0 reno>=2.5.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 70e4ca0..c30a2b1 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -14,5 +14,6 @@ virtualenv>=14.0.6 # MIT coverage!=4.4,>=4.0 # Apache-2.0 # optionally exposed by distutils commands -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD testrepository>=0.0.18 # Apache-2.0/BSD |