Skip to content

Commit

Permalink
Install sphinx before furo
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyklay committed Jun 13, 2022
1 parent 2643e1a commit 97fd0bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements/requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ flake8-blind-except
check-manifest

# docs
furo
# freeze sphinx because flake8 requires importlib-metadata<4.3
# for python<3.8 but sphinx>=4.4.0 requires importlib-metadata>=4.4
sphinx>=3.5.0,<=4.3.2; python_version < '3.8'
sphinx>=3.5.0; python_version >= '3.8'
furo

# develop
twine
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ def get_version_string():
# freeze sphinx because flake8 requires importlib-metadata<4.3
# for python<3.8 but sphinx>=4.4.0 requires importlib-metadata>=4.4
'docs:python_version < "3.8"': [
'furo>=2022.4.7,==2022.4.*', # Sphinx documentation theme
'sphinx>=3.5.0,<=4.3.2', # Python documentation generator
'furo>=2022.6.4.1,==2022.6.*', # Sphinx documentation theme
],
'docs:python_version >= "3.8"': [
'sphinx>=3.5.0', # Python documentation generator,
'furo>=2022.6.4.1,==2022.6.*', # Sphinx documentation theme
'sphinx>=3.5.0', # Python documentation generator
],
}

Expand Down

0 comments on commit 97fd0bb

Please sign in to comment.