From de880020dd627cbb7a30096aca5ae5e0097bc23a Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Thu, 17 Oct 2024 21:36:14 -0300 Subject: [PATCH 1/2] Drop lint parentheses search in old Python versions --- requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b96c08251..2cb5285fc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,6 @@ potodo==0.21.3 powrap==1.0.1 sphinx-intl==2.2.0 -sphinx-lint==1.0.0 +# avoid unnecessary parentheses search in old Python Docs +sphinx-lint==1.0.0; python_version >= 3.12 +sphinx-lint==0.9.1; python_version < 3.12 From cf0c4ab3b369e924f242cf96dd7fe87ff660a834 Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Thu, 17 Oct 2024 21:41:12 -0300 Subject: [PATCH 2/2] Quote version specifiers in requirements.txt --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 2cb5285fc..d8c4e144f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,5 @@ potodo==0.21.3 powrap==1.0.1 sphinx-intl==2.2.0 # avoid unnecessary parentheses search in old Python Docs -sphinx-lint==1.0.0; python_version >= 3.12 -sphinx-lint==0.9.1; python_version < 3.12 +sphinx-lint==1.0.0; python_version >= "3.12" +sphinx-lint==0.9.1; python_version < "3.12"