From e63ae3004c90960bd2a5261c329f8c6740c370bd Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Thu, 16 Apr 2020 10:47:52 -0400 Subject: [PATCH 1/2] Peg nltk to the final Python 2 release. --- requirements.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9c17ec11..71b7de78 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,6 @@ urllib3<1.24 # Travis problem introduced 20181016 - check to see when we can rem lxml flask flask-sqlalchemy-session -textblob isbnlib feedparser uwsgi @@ -27,6 +26,10 @@ accept-types watchtower # for cloudwatch logging pyspellchecker +# nltk is a textblob dependency, and this is the last release that supports Python 2 +nltk==3.4.5 +textblob + # Ensure that we support SNI-based SSL ndg-httpsclient From bd08ebee63f4a5c399d64ffed278bd5b4a4fbe54 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Thu, 16 Apr 2020 10:53:38 -0400 Subject: [PATCH 2/2] Also peg the final Python 2 release of PyLD. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 71b7de78..7df50955 100644 --- a/requirements.txt +++ b/requirements.txt @@ -34,7 +34,7 @@ textblob ndg-httpsclient # Used only by metadata -pyld +pyld==1.0.5 beautifulsoup4 zeep py-bcrypt