Skip to content

Commit

Permalink
Trying to free up Sphinx deps versions
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science committed Feb 7, 2025
1 parent f65ac5a commit f11a982
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,12 @@ test = [
"ruff==0.5.1", # Linting and code formatting (version-pinned)
]
docs = [
#######################################################################
# These are most specified that usual, because Sphinx docs seem to be
# quite fragile.
#
# We are only building our docs with Python 3.13.
#######################################################################
"docutils==0.21.2", # Needed by sphinx-rtd-them
######################################################################################
# These are most specified that usual, because Sphinx docs seem to be quite fragile. #
# #
# We are only building our docs with Python 3.13. #
######################################################################################
"docutils", # Needed by sphinx-rtd-them
"ipykernel", # iPython kernel to run Jupyter notebooks
"Jinja2", # Used in numpydoc and nbconvert
"nbsphinx", # Parses Jupyter notebooks
Expand All @@ -106,16 +105,16 @@ docs = [
"pylint", # Generates UML diagrams
"setuptools", # needed for conf.py tooling
"sphinx-gallery==0.13.0", # Builds an HTML version of a Python script and puts it into a gallery
"sphinx-needs==4.1.0", # Requirements traceability matrices for QA
"sphinx-needs", # Requirements traceability matrices for QA
"sphinx-rtd-theme==3.0.2", # Read-The-Docs theme for Sphinx
"sphinx-simplepdf==1.6.0", # Used to make PDF versions of the docs
"sphinx-test-reports",
"sphinx-simplepdf", # Used to make PDF versions of the docs
"sphinx-test-reports", # sphinx-needs test reports in the STR
"Sphinx==8.1.3", # central library used to build our docs
"sphinxcontrib-apidoc==0.5.0", # More easily document our API
"sphinxcontrib-jquery==4.1", # Handle missing jquery errors
"sphinxcontrib-plantuml==0.30", # UML support in sphinx-needs
"sphinxext-opengraph==0.8.2", # Generates OpenGraph metadata to make cards for social media
"unittest-xml-reporting",
"sphinxext-opengraph", # Generates OpenGraph metadata to make cards for social media
"unittest-xml-reporting", # Allows us to generate junit XML test reports
]

[project.scripts]
Expand All @@ -132,8 +131,8 @@ find = {}
# This is the exact version of Ruff we use.
required-version = "0.5.1"

# Assume Python 3.9
target-version = "py39"
# Assume Python 3.13
target-version = "py313"

# Setting line-length to 120 (though blacks default is 88)
line-length = 120
Expand Down

0 comments on commit f11a982

Please sign in to comment.