From aa31ec63d8e25be9d8bd48cbe6213b2d8c6e2da5 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 4 Aug 2022 14:14:28 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20don't=20fail=20with=20doc?= =?UTF-8?q?utils=200.19?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the version bounds to allow docutils 0.19, and update the fixtures to match the output produced by 0.19. --- pyproject.toml | 2 +- tests/test_renderers/fixtures/docutil_roles.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a2e988ab..ececcf56 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ keywords = [ ] requires-python = ">=3.7" dependencies = [ - "docutils>=0.15,<0.19", + "docutils>=0.19,<0.20", "jinja2", # required for substitutions, but let sphinx choose version "markdown-it-py>=1.0.0,<3.0.0", "mdit-py-plugins~=0.3.0", diff --git a/tests/test_renderers/fixtures/docutil_roles.md b/tests/test_renderers/fixtures/docutil_roles.md index 1aabac99..51fa48d1 100644 --- a/tests/test_renderers/fixtures/docutil_roles.md +++ b/tests/test_renderers/fixtures/docutil_roles.md @@ -93,7 +93,7 @@ . - + PEP 0 . @@ -104,7 +104,7 @@ . - + RFC 1 .