From 42a57a560bb6aa42808e2feb9077a6b7cf0bfa47 Mon Sep 17 00:00:00 2001 From: Maria Grimaldi Date: Mon, 19 Aug 2024 18:47:30 -0400 Subject: [PATCH] fix: add constraint for docutils to avoid failures in py38 environments --- requirements/constraints.txt | 4 ++++ requirements/dev.txt | 7 ++++--- requirements/doc.txt | 3 ++- requirements/pip.txt | 2 +- requirements/quality.txt | 10 ++++++---- 5 files changed, 17 insertions(+), 9 deletions(-) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 7bcb44c8..97679ef7 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -18,3 +18,7 @@ astroid<3.0.0 # Temporary to Support the python 3.11 Upgrade backports.zoneinfo;python_version<"3.9" # Newer versions have zoneinfo available in the standard library + +# Python 3.8 is not supported by newer versions of docutils. Remove this pin once +# python 3.8 is deprecated +docutils==0.20.1 diff --git a/requirements/dev.txt b/requirements/dev.txt index 1ea9a506..a88c6cca 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -106,8 +106,9 @@ dnspython==2.6.1 # via # -r requirements/quality.txt # pymongo -docutils==0.21.2 +docutils==0.20.1 # via + # -c requirements/constraints.txt # -r requirements/quality.txt # readme-renderer edx-ccx-keys==1.3.0 @@ -131,7 +132,7 @@ idna==3.7 # via # -r requirements/quality.txt # requests -importlib-metadata==8.2.0 +importlib-metadata==8.3.0 # via # -r requirements/quality.txt # keyring @@ -308,7 +309,7 @@ pyyaml==6.0.2 # via # -r requirements/quality.txt # code-annotations -readme-renderer==44.0 +readme-renderer==43.0 # via # -r requirements/quality.txt # twine diff --git a/requirements/doc.txt b/requirements/doc.txt index b793544a..17497093 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -78,6 +78,7 @@ doc8==1.1.1 # via -r requirements/doc.in docutils==0.20.1 # via + # -c requirements/constraints.txt # doc8 # pydata-sphinx-theme # readme-renderer @@ -101,7 +102,7 @@ idna==3.7 # requests imagesize==1.4.1 # via sphinx -importlib-metadata==8.2.0 +importlib-metadata==8.3.0 # via # keyring # twine diff --git a/requirements/pip.txt b/requirements/pip.txt index 5f8b9c04..f0cf3d10 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -10,5 +10,5 @@ wheel==0.44.0 # The following packages are considered to be unsafe in a requirements file: pip==24.2 # via -r requirements/pip.in -setuptools==72.2.0 +setuptools==73.0.0 # via -r requirements/pip.in diff --git a/requirements/quality.txt b/requirements/quality.txt index 96f5a180..21e1d340 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -68,8 +68,10 @@ dnspython==2.6.1 # via # -r requirements/test.txt # pymongo -docutils==0.21.2 - # via readme-renderer +docutils==0.20.1 + # via + # -c requirements/constraints.txt + # readme-renderer edx-ccx-keys==1.3.0 # via -r requirements/test.txt edx-django-utils==5.15.0 @@ -84,7 +86,7 @@ fastavro==1.9.5 # via -r requirements/test.txt idna==3.7 # via requests -importlib-metadata==8.2.0 +importlib-metadata==8.3.0 # via # keyring # twine @@ -205,7 +207,7 @@ pyyaml==6.0.2 # via # -r requirements/test.txt # code-annotations -readme-renderer==44.0 +readme-renderer==43.0 # via twine requests==2.32.3 # via