From b56f851daec8721e688394182b7a1b42cada937e Mon Sep 17 00:00:00 2001 From: Metin San Date: Mon, 6 Nov 2023 15:33:13 +0100 Subject: [PATCH] Update `mkdocsstrings` and `mkdocstrings-python` to get documentation working --- poetry.lock | 35 ++++++++++++++++++----------------- pyproject.toml | 10 ++++++---- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/poetry.lock b/poetry.lock index a3ae30e..f90dcc4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -851,20 +851,19 @@ files = [ [[package]] name = "markdown" -version = "3.5.1" -description = "Python implementation of John Gruber's Markdown." +version = "3.3.7" +description = "Python implementation of Markdown." optional = false -python-versions = ">=3.8" +python-versions = ">=3.6" files = [ - {file = "Markdown-3.5.1-py3-none-any.whl", hash = "sha256:5874b47d4ee3f0b14d764324d2c94c03ea66bee56f2d929da9f2508d65e722dc"}, - {file = "Markdown-3.5.1.tar.gz", hash = "sha256:b65d7beb248dc22f2e8a31fb706d93798093c308dc1aba295aedeb9d41a813bd"}, + {file = "Markdown-3.3.7-py3-none-any.whl", hash = "sha256:f5da449a6e1c989a4cea2631aa8ee67caa5a2ef855d551c88f9e309f4634c621"}, + {file = "Markdown-3.3.7.tar.gz", hash = "sha256:cbb516f16218e643d8e0a95b309f77eb118cb138d39a4f27851e6a63581db874"}, ] [package.dependencies] importlib-metadata = {version = ">=4.4", markers = "python_version < \"3.10\""} [package.extras] -docs = ["mdx-gh-links (>=0.2)", "mkdocs (>=1.5)", "mkdocs-gen-files", "mkdocs-literate-nav", "mkdocs-nature (>=0.6)", "mkdocs-section-index", "mkdocstrings[python]"] testing = ["coverage", "pyyaml"] [[package]] @@ -1110,22 +1109,24 @@ files = [ [[package]] name = "mkdocstrings" -version = "0.19.1" +version = "0.23.0" description = "Automatic documentation from sources, for MkDocs." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "mkdocstrings-0.19.1-py3-none-any.whl", hash = "sha256:32a38d88f67f65b264184ea71290f9332db750d189dea4200cbbe408d304c261"}, - {file = "mkdocstrings-0.19.1.tar.gz", hash = "sha256:d1037cacb4b522c1e8c164ed5d00d724a82e49dcee0af80db8fb67b384faeef9"}, + {file = "mkdocstrings-0.23.0-py3-none-any.whl", hash = "sha256:051fa4014dfcd9ed90254ae91de2dbb4f24e166347dae7be9a997fe16316c65e"}, + {file = "mkdocstrings-0.23.0.tar.gz", hash = "sha256:d9c6a37ffbe7c14a7a54ef1258c70b8d394e6a33a1c80832bce40b9567138d1c"}, ] [package.dependencies] +importlib-metadata = {version = ">=4.6", markers = "python_version < \"3.10\""} Jinja2 = ">=2.11.1" Markdown = ">=3.3" MarkupSafe = ">=1.1" mkdocs = ">=1.2" mkdocs-autorefs = ">=0.3.1" pymdown-extensions = ">=6.3" +typing-extensions = {version = ">=4.1", markers = "python_version < \"3.10\""} [package.extras] crystal = ["mkdocstrings-crystal (>=0.3.4)"] @@ -1134,18 +1135,18 @@ python-legacy = ["mkdocstrings-python-legacy (>=0.2.1)"] [[package]] name = "mkdocstrings-python" -version = "0.8.3" +version = "1.7.3" description = "A Python handler for mkdocstrings." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "mkdocstrings-python-0.8.3.tar.gz", hash = "sha256:9ae473f6dc599339b09eee17e4d2b05d6ac0ec29860f3fc9b7512d940fc61adf"}, - {file = "mkdocstrings_python-0.8.3-py3-none-any.whl", hash = "sha256:4e6e1cd6f37a785de0946ced6eb846eb2f5d891ac1cc2c7b832943d3529087a7"}, + {file = "mkdocstrings_python-1.7.3-py3-none-any.whl", hash = "sha256:2439d6ad3e34f0bb4c643b845fb3c06ae9233499a1736f9fa273424b75cc5894"}, + {file = "mkdocstrings_python-1.7.3.tar.gz", hash = "sha256:c20128fa96c24dbc6437b10dfedaf33b0415d4503e51ce9ce5e84b271278268e"}, ] [package.dependencies] -griffe = ">=0.24" -mkdocstrings = ">=0.19" +griffe = ">=0.35" +mkdocstrings = ">=0.20" [[package]] name = "mypy" @@ -1976,4 +1977,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.8" -content-hash = "ceb379bfad7440a1fe047282de494659b6d160850b903dd953738b5a7279685e" +content-hash = "b57d61e8acf7d6329ff0d8b3064afbcaa02fb202b00c83023393720e984049a7" diff --git a/pyproject.toml b/pyproject.toml index 58ad79b..e0b54f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,10 +15,10 @@ healpy = "^1.15.0" astropy = ">=5.0.1" jplephem = "^2.17" -[tool.poetry.dev-dependencies] +[tool.poetry.group.dev.dependencies] pytest = "^7.2.1" mypy = "^1.0" -mkdocs = "^1.2.1" +mkdocs = "^1.5.3" pymdown-extensions = "^9.4" markdown-include = "^0.6.0" pre-commit = "^2.19.0" @@ -26,9 +26,11 @@ hypothesis = "^6.47.5" coverage = "^7.1.0" pytest-cov = "^4.0.0" mkdocs-material = "^9.0.1" -mkdocstrings = "^0.19.1" -mkdocstrings-python = "^0.8.2" +mkdocstrings = "^0.23.0" +mkdocstrings-python = "^1.7.3" ruff = "^0.1.4" +markdown = "<3.4.0" + [build-system] requires = ["poetry-core>=1.0.0"]