From 2eac47d89e8a822d22a43dabf3669b9449969828 Mon Sep 17 00:00:00 2001 From: Jordan Cook Date: Fri, 25 Aug 2023 12:04:58 -0500 Subject: [PATCH] Fix issue with furo and sphinx 7.2.1/6.2.1 --- docs/conf.py | 1 + poetry.lock | 55 +++++++++++++++++++++++++------------------------- pyproject.toml | 4 ++-- 3 files changed, 31 insertions(+), 29 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index c501ad0..cde6e1e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,6 +49,7 @@ 'pymongo': ('https://pymongo.readthedocs.io/en/stable/', None), 'python': ('https://docs.python.org/3', None), 'redis': ('https://redis-py.readthedocs.io/en/stable/', None), + 'yarl': ('https://yarl.aio-libs.org/en/latest/', None), } # MyST extensions diff --git a/poetry.lock b/poetry.lock index 79852f5..ec0e02f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -681,13 +681,13 @@ wmi = ["wmi (>=1.5.1,<2.0.0)"] [[package]] name = "docutils" -version = "0.19" +version = "0.20.1" description = "Docutils -- Python Documentation Utilities" optional = false python-versions = ">=3.7" files = [ - {file = "docutils-0.19-py3-none-any.whl", hash = "sha256:5e1de4d849fee02c63b040a4a3fd567f4ab104defd8a5511fbbc24a8a017efbc"}, - {file = "docutils-0.19.tar.gz", hash = "sha256:33995a6753c30b7f577febfc2c50411fec6aac7f7ffeb7c4cfe5991072dcf9e6"}, + {file = "docutils-0.20.1-py3-none-any.whl", hash = "sha256:96f387a2c5562db4476f09f13bbab2192e764cac08ebbf3a34a95d9b1e4a59d6"}, + {file = "docutils-0.20.1.tar.gz", hash = "sha256:f08a4e276c3a1583a86dce3e34aba3fe04d02bba2dd51ed16106244e8a923e3b"}, ] [[package]] @@ -1089,26 +1089,27 @@ files = [ [[package]] name = "motor" -version = "3.2.0" +version = "3.3.0" description = "Non-blocking MongoDB driver for Tornado or asyncio" optional = true python-versions = ">=3.7" files = [ - {file = "motor-3.2.0-py3-none-any.whl", hash = "sha256:82cd3d8a3b57e322c3fa382a393b52828c9a2e98b315c78af36f01bae78af6a6"}, - {file = "motor-3.2.0.tar.gz", hash = "sha256:4fb1e8502260f853554f24115421584e83904a6debb577354d33e9711ee99008"}, + {file = "motor-3.3.0-py3-none-any.whl", hash = "sha256:32bb0680f5ac3e245dcc98d41d009f3be5d45c1e4a1b2d17951d9f63c8f41ea0"}, + {file = "motor-3.3.0.tar.gz", hash = "sha256:f18b90089acf914e21485d002c116f27a2215c85174b3bd3e2221d633e8cf7ab"}, ] [package.dependencies] -pymongo = ">=4.4,<5" +pymongo = ">=4.5,<5" [package.extras] -aws = ["pymongo[aws] (>=4.4,<5)"] -encryption = ["pymongo[encryption] (>=4.4,<5)"] -gssapi = ["pymongo[gssapi] (>=4.4,<5)"] -ocsp = ["pymongo[ocsp] (>=4.4,<5)"] -snappy = ["pymongo[snappy] (>=4.4,<5)"] -srv = ["pymongo[srv] (>=4.4,<5)"] -zstd = ["pymongo[zstd] (>=4.4,<5)"] +aws = ["pymongo[aws] (>=4.5,<5)"] +encryption = ["pymongo[encryption] (>=4.5,<5)"] +gssapi = ["pymongo[gssapi] (>=4.5,<5)"] +ocsp = ["pymongo[ocsp] (>=4.5,<5)"] +snappy = ["pymongo[snappy] (>=4.5,<5)"] +srv = ["pymongo[srv] (>=4.5,<5)"] +test = ["aiohttp", "mockupdb", "motor[encryption]", "pytest (>=7)", "tornado (>=5)"] +zstd = ["pymongo[zstd] (>=4.5,<5)"] [[package]] name = "multidict" @@ -1827,20 +1828,20 @@ files = [ [[package]] name = "sphinx" -version = "6.2.1" +version = "7.1.2" description = "Python documentation generator" optional = false python-versions = ">=3.8" files = [ - {file = "Sphinx-6.2.1.tar.gz", hash = "sha256:6d56a34697bb749ffa0152feafc4b19836c755d90a7c59b72bc7dfd371b9cc6b"}, - {file = "sphinx-6.2.1-py3-none-any.whl", hash = "sha256:97787ff1fa3256a3eef9eda523a63dbf299f7b47e053cfcf684a1c2a8380c912"}, + {file = "sphinx-7.1.2-py3-none-any.whl", hash = "sha256:d170a81825b2fcacb6dfd5a0d7f578a053e45d3f2b153fecc948c37344eb4cbe"}, + {file = "sphinx-7.1.2.tar.gz", hash = "sha256:780f4d32f1d7d1126576e0e5ecc19dc32ab76cd24e950228dcf7b1f6d3d9e22f"}, ] [package.dependencies] alabaster = ">=0.7,<0.8" babel = ">=2.9" colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""} -docutils = ">=0.18.1,<0.20" +docutils = ">=0.18.1,<0.21" imagesize = ">=1.3" importlib-metadata = {version = ">=4.8", markers = "python_version < \"3.10\""} Jinja2 = ">=3.0" @@ -1881,22 +1882,22 @@ test = ["pytest", "pytest-cov"] [[package]] name = "sphinx-autodoc-typehints" -version = "1.23.0" +version = "1.24.0" description = "Type hints (PEP 484) support for the Sphinx autodoc extension" optional = true -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "sphinx_autodoc_typehints-1.23.0-py3-none-any.whl", hash = "sha256:ac099057e66b09e51b698058ba7dd76e57e1fe696cd91b54e121d3dad188f91d"}, - {file = "sphinx_autodoc_typehints-1.23.0.tar.gz", hash = "sha256:5d44e2996633cdada499b6d27a496ddf9dbc95dd1f0f09f7b37940249e61f6e9"}, + {file = "sphinx_autodoc_typehints-1.24.0-py3-none-any.whl", hash = "sha256:6a73c0c61a9144ce2ed5ef2bed99d615254e5005c1cc32002017d72d69fb70e6"}, + {file = "sphinx_autodoc_typehints-1.24.0.tar.gz", hash = "sha256:94e440066941bb237704bb880785e2d05e8ae5406c88674feefbb938ad0dc6af"}, ] [package.dependencies] -sphinx = ">=5.3" +sphinx = ">=7.0.1" [package.extras] -docs = ["furo (>=2022.12.7)", "sphinx (>=6.1.3)", "sphinx-autodoc-typehints (>=1.23.4)"] -testing = ["covdefaults (>=2.2.2)", "coverage (>=7.2.2)", "diff-cover (>=7.5)", "nptyping (>=2.5)", "pytest (>=7.2.2)", "pytest-cov (>=4)", "sphobjinv (>=2.3.1)", "typing-extensions (>=4.5)"] -type-comment = ["typed-ast (>=1.5.4)"] +docs = ["furo (>=2023.5.20)", "sphinx (>=7.0.1)"] +numpy = ["nptyping (>=2.5)"] +testing = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "diff-cover (>=7.5)", "pytest (>=7.3.1)", "pytest-cov (>=4.1)", "sphobjinv (>=2.3.1)", "typing-extensions (>=4.6.3)"] [[package]] name = "sphinx-automodapi" @@ -2411,4 +2412,4 @@ sqlite = ["aiosqlite"] [metadata] lock-version = "2.0" python-versions = "^3.7" -content-hash = "1feb8d280b4612a47eb545aae8fbd6f0f3e8bfe6551c77ee14ae70f7fbebee0c" +content-hash = "cbbc6a6c6ef20293438a1e2c1eba0a308495feaaa5de51122516025e2fa30441" diff --git a/pyproject.toml b/pyproject.toml index d3705b3..4e15f38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,12 +45,12 @@ motor = {optional=true, version=">=3.1"} redis = {optional=true, version=">=4.2"} # Documentation dependencies needed for Readthedocs builds -furo = {optional=true, version=">=2022.1.2", python=">=3.8"} +furo = {optional=true, version="^2023.8", python=">=3.8"} linkify-it-py = {optional=true, version=">=2.0", python=">=3.8"} markdown-it-py = {optional=true, version=">=2.2", python=">=3.8"} myst-parser = {optional=true, version=">=2.0", python=">=3.8"} python-forge = {optional=true, version="^18.6", python=">=3.8"} -sphinx = {optional=true, version="^6.2", python=">=3.8"} +sphinx = {optional=true, version="7.1.2", python=">=3.8"} sphinx-automodapi = {optional=true, version=">=0.15", python=">=3.8"} sphinx-autodoc-typehints = {optional=true, version="^1.23", python=">=3.8"} sphinx-copybutton = {optional=true, version="^0.3", python=">=3.8"}