From ab19d1bed1975c798ac2d598b8d6bdb8ebebc4b5 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Tue, 30 Aug 2022 09:41:05 +0200 Subject: [PATCH] Build: upgrade `commonmark` to 0.9.1 Currently, we are installing an older version of `commonmark` that has some problems with newer versions of Python. Upgrading it to 0.9.1 seems to solve this problem. See #9562 for a detailed explanation of the problem --- readthedocs/doc_builder/python_environments.py | 2 +- readthedocs/projects/tests/test_build_tasks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/readthedocs/doc_builder/python_environments.py b/readthedocs/doc_builder/python_environments.py index f3fa0276d0d..1d2a8ffef8d 100644 --- a/readthedocs/doc_builder/python_environments.py +++ b/readthedocs/doc_builder/python_environments.py @@ -182,7 +182,7 @@ def install_core_requirements(self): [ "mock==1.0.1", "alabaster>=0.7,<0.8,!=0.7.5", - "commonmark==0.8.1", + "commonmark==0.9.1", "recommonmark==0.5.0", ] ) diff --git a/readthedocs/projects/tests/test_build_tasks.py b/readthedocs/projects/tests/test_build_tasks.py index 21f8f2243ad..05ed75cf5a7 100644 --- a/readthedocs/projects/tests/test_build_tasks.py +++ b/readthedocs/projects/tests/test_build_tasks.py @@ -582,7 +582,7 @@ def test_build_commands_executed(self, load_yaml_config): "pillow", "mock==1.0.1", "alabaster>=0.7,<0.8,!=0.7.5", - "commonmark==0.8.1", + "commonmark==0.9.1", "recommonmark==0.5.0", "sphinx<2", "sphinx-rtd-theme<0.5",