From 0bdfea197b3e1c8c1b1f825cfdb8a4388c548e15 Mon Sep 17 00:00:00 2001 From: David Fischer Date: Tue, 16 Jun 2020 10:41:34 -0700 Subject: [PATCH] Feature flag for using latest Sphinx --- readthedocs/doc_builder/python_environments.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/readthedocs/doc_builder/python_environments.py b/readthedocs/doc_builder/python_environments.py index 678322f3b3f..cb474953312 100644 --- a/readthedocs/doc_builder/python_environments.py +++ b/readthedocs/doc_builder/python_environments.py @@ -352,12 +352,10 @@ def install_core_requirements(self): ), ) else: - # We will assume semver here and only automate up to the next - # backward incompatible release: 2.x requirements.extend([ self.project.get_feature_value( Feature.USE_SPHINX_LATEST, - positive='sphinx<2', + positive='sphinx', negative='sphinx<2', ), 'sphinx-rtd-theme<0.5',