From feebe58c51d231a4f0d39d75888b64266ec7b9cf Mon Sep 17 00:00:00 2001 From: Sai Rahul Poruri Date: Thu, 13 Aug 2020 15:46:12 +0100 Subject: [PATCH 1/2] FIX : Pin sphinx version to get docs to build for reasons which im not sure of, sphinx 2.3.1 works but sphinx 3.2.0 which is the latest version available on pypi doesn't work modified: etstool.py modified: setup.py --- etstool.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etstool.py b/etstool.py index f0d6550f7..7259983ef 100644 --- a/etstool.py +++ b/etstool.py @@ -93,7 +93,7 @@ "mypy", "numpy", "pyqt5", - "Sphinx", + "Sphinx^=2.3.1", "traitsui", } diff --git a/setup.py b/setup.py index 9091e4f99..a161174f4 100644 --- a/setup.py +++ b/setup.py @@ -302,14 +302,14 @@ def get_long_description(): extras_require={ "docs": [ "enthought-sphinx-theme", - "Sphinx", + "Sphinx==2.3.1", ], "test": [ "Cython", "flake8", "mypy", "setuptools", - "Sphinx>=2.1.0", + "Sphinx==2.3.1", # Python 3.9 exclusions: # # * NumPy installation fails on Python 3.9 on the Ubuntu Xenial From ea94a0f643f3ed1f99fd3706b0437504cc203d09 Mon Sep 17 00:00:00 2001 From: Sai Rahul Poruri Date: Thu, 13 Aug 2020 16:30:21 +0100 Subject: [PATCH 2/2] CLN : Dont use 3.2.0, instead of using an old vers modified: etstool.py modified: setup.py --- etstool.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etstool.py b/etstool.py index 7259983ef..044c20ef1 100644 --- a/etstool.py +++ b/etstool.py @@ -93,7 +93,7 @@ "mypy", "numpy", "pyqt5", - "Sphinx^=2.3.1", + "Sphinx!=3.2.0", "traitsui", } diff --git a/setup.py b/setup.py index a161174f4..a9ca84c10 100644 --- a/setup.py +++ b/setup.py @@ -302,14 +302,14 @@ def get_long_description(): extras_require={ "docs": [ "enthought-sphinx-theme", - "Sphinx==2.3.1", + "Sphinx!=3.2.0", ], "test": [ "Cython", "flake8", "mypy", "setuptools", - "Sphinx==2.3.1", + "Sphinx!=3.2.0", # Python 3.9 exclusions: # # * NumPy installation fails on Python 3.9 on the Ubuntu Xenial