From 270c87e15549955af842c83bd1d6b1b90aad8b27 Mon Sep 17 00:00:00 2001 From: sachin-ichake-Microsoft <114900396+sachin-ichake-Microsoft@users.noreply.github.com> Date: Fri, 24 Feb 2023 11:39:16 +0530 Subject: [PATCH] Update requirements.txt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Team,The "pdf processing document" accelerator uses the python library "PyPDF2" in the "SplitFile" Azure Function. The most recent version of "PyPDF2,"  though, has changes that will invalidate the current code. You must make the changes listed below to get it running. Add PyPDF2<3.0 to requirement.txt in place of PyPDF2 OR  Change function name PdfFileWriter to PdfWriter PdfFileReader to PdfReader --- Deployment/Code/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Deployment/Code/requirements.txt b/Deployment/Code/requirements.txt index 9fccbf5..c7f15ad 100644 --- a/Deployment/Code/requirements.txt +++ b/Deployment/Code/requirements.txt @@ -8,6 +8,7 @@ azure-identity requests #azure-ai-formrecognizer azure-ai-formrecognizer==3.2.0b3 -PyPDF2 +#PyPDF2 +PyPDF2<3.0