Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ build:
- poetry config virtualenvs.create false
- poetry install --only=main --only=docs --extras=html
- poetry env info
# This will patch Sphinx to a later version than is in poetry.lock so that
# we build with a more up to date Sphinx. This should be eliminated when
# possible in favor of having a more up to date Sphinx in poetry.lock.
- pip install -r devtools/requirements-rtd.txt


sphinx:
fail_on_warning: true
5 changes: 0 additions & 5 deletions devtools/requirements-rtd.txt

This file was deleted.

4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,5 +322,9 @@ def find_version(filename):
("py:class", "_TripleType"),
("py:class", "_TripleOrTriplePathType"),
("py:class", "TextIO"),
("py:class", "Message"),
]
)

if sys.version_info < (3, 8):
nitpick_ignore.extend([("py:class", "importlib_metadata.EntryPoint")])
93 changes: 47 additions & 46 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,16 @@ types-setuptools = ">=65.6.0.3,<68.0.0.0"
setuptools = ">=65.6.3,<68.0.0"

[tool.poetry.group.docs.dependencies]
sphinx = ">4.0.0"
myst-parser = "^0.18.0"
sphinx = "^5.3.0"
myst-parser = "^1.0.0"
sphinxcontrib-apidoc = "^0.3.0"
sphinx-autodoc-typehints = "^1.17.1"
typing-extensions = "^4.5.0"

[tool.poetry.group.flake8.dependencies]
flake8 = ">=4.0.1" # flakeheaven is incompatible with flake8 >=5.0 (https://github.com/flakeheaven/flakeheaven/issues/132)
flakeheaven = "^3.2.1"
pep8-naming = "^0.13.2"
flake8 = {version = ">=4.0.1", python = ">=3.8"} # flakeheaven is incompatible with flake8 >=5.0 (https://github.com/flakeheaven/flakeheaven/issues/132)
flakeheaven = {version = "^3.2.1", python = ">=3.8"}
pep8-naming = {version = "^0.13.2", python = ">=3.8"}

[tool.poetry.extras]
berkeleydb = ["berkeleydb"]
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ passenv =
setenv =
PYTHONHASHSEED = 0
commands_pre =
poetry install --no-root --only=docs
poetry lock --check
poetry install --only=main --only=docs --extras=html
poetry env info
commands =
poetry run sphinx-build -T -W -b html -d {envdir}/doctree docs docs/_build/html

Expand Down