From d8780392d39a1321fd6e2a110aded3f1ffe28a20 Mon Sep 17 00:00:00 2001 From: Fokko Driesprong Date: Thu, 18 Apr 2024 07:41:26 +0200 Subject: [PATCH] Exclude `docutils!=0.21` as a dependency This release is bodged, and causes Poetry to fail when it tries to fetch the tar: https://github.com/python-poetry/poetry/issues/9293#issuecomment-2048205226 It is being tracked: https://github.com/pypi/warehouse/issues/15749 A fix is inbound here: https://github.com/pypi/warehouse/pull/15795 This is a hotfix for this particular package, until the fixes from `pypi/warehouse` are out. The `post` notation is very unique: https://github.com/pypi/warehouse/issues/15749#issuecomment-2048216953 and is being used in 0.004% of the releases. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 2c65304a1..7e5dbc8ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,6 +87,7 @@ pytest-mock = "3.12.0" pyspark = "3.5.0" cython = "3.0.8" deptry = "^0.14.0" +docutils = "!=0.21" [[tool.mypy.overrides]] module = "pytest_mock.*"