Skip to content

Commit

Permalink
switch to pypdf from discontinued pypdf2 (which was merged into pypdf)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbonothing64 committed Dec 21, 2023
1 parent 7d9a079 commit 537c265
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.core import management
from django.test import tag, override_settings
from tests.resources.ResourcesTestDataGenerator import ResourcesTestDataGenerator
from PyPDF2 import PdfReader
from pypdf import PdfReader
import os.path
import shutil
from resources.models import Resource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from resources.utils.BaseResourceGenerator import BaseResourceGenerator
from resources.utils.resource_parameters import ResourceParameter, EnumResourceParameter
from io import BytesIO
from PyPDF2 import PdfReader
from pypdf import PdfReader


@tag("resource")
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ coverage==7.3.3
django-test-without-migrations==0.6

# PDF file checking
PyPDF2==3.0.1
pypdf==3.17.3

0 comments on commit 537c265

Please sign in to comment.