From 59cd69c66b17c402cf33f6accd8d32c94419702f Mon Sep 17 00:00:00 2001 From: Fokko Driesprong Date: Thu, 18 Apr 2024 08:08:27 +0200 Subject: [PATCH] Exclude `docutils!=0.21` as a dependency (#615) 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.*"