You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2017/03/24 20:39:44 UTC

[trafficserver] branch master updated: require sphinx version 1.5.1

This is an automated email from the ASF dual-hosted git repository.

amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  d2799c4   require sphinx version 1.5.1
d2799c4 is described below

commit d2799c4b80c2acd9590a7dda17d9637da25233d4
Author: Persia Aziz <pe...@yahoo-inc.com>
AuthorDate: Fri Mar 24 15:06:23 2017 -0500

    require sphinx version 1.5.1
---
 doc/checkvers.py | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/doc/checkvers.py b/doc/checkvers.py
index 5a79512..67bb504 100644
--- a/doc/checkvers.py
+++ b/doc/checkvers.py
@@ -28,9 +28,9 @@ if __name__ == '__main__':
   # Check whether we have a recent version of sphinx. EPEL and CentOS are completely crazy and I don't understand their
   # packaging at all. The test below works on Ubuntu and places where sphinx is installed sanely AFAICT.
   if options.checkvers:
-    print 'checking for sphinx version >= 1.2... ',
-    # Need at least 1.2 because of some command line options stuff HRP added.
-    # Also 1.2 guarantees sphinx.version_info is available.
+    print 'checking for sphinx version >= 1.5.1... ',
+    # Need at least 1.5.1 to use svg
+    # version >= 1.2 guarantees sphinx.version_info is available.
     try:
       import sphinx
 
@@ -41,7 +41,8 @@ if __name__ == '__main__':
         print 'Found Sphinx version (old) {0}'.format(sphinx.__version__)
         sphinx.version_info = version.split('.')
 
-      if sphinx.version_info < (1,2) :
+      if sphinx.version_info < (1,5,1) :
+          print 'sphinx version is older than 1.5.1'
           sys.exit(1)
 
     except Exception as e:

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].