Skip to content
  • Lukas Bulwahn's avatar
    docs: drop the version constraints for sphinx and dependencies · b31274d5
    Lukas Bulwahn authored
    As discussed (see Links), there is some inertia to move to the recent
    Sphinx versions for the doc build environment.
    
    As first step, drop the version constraints and the related comments. As
    sphinx depends on jinja2, jinja2 is pulled in automatically. So drop that.
    Then, the sphinx-pre-install script will fail though with:
    
      Can't get default sphinx version from ./Documentation/sphinx/requirements.txt at ./scripts/sphinx-pre-install line 305.
    
    The script simply expects to parse a version constraint with Sphinx in the
    requirements.txt. That version is used in the script for suggesting the
    virtualenv directory name.
    
    To suggest a virtualenv directory name, when there is no version given in
    the requirements.txt, one could try to guess the version that would be
    downloaded with 'pip install -r Documentation/sphinx/requirements.txt'.
    However, there seems no simple way to get that version without actually
    setting up the venv and running pip. So, ins...
    b31274d5
This project manages its dependencies using pip. Learn more