Skip to content

Commit

Permalink
Merge pull request #2343 from uccser/dependency/PyPDF
Browse files Browse the repository at this point in the history
switch to pypdf from discontinued pypdf2 (which was merged into pypdf)
  • Loading branch information
jimbonothing64 authored Dec 21, 2023
2 parents 78ba4a6 + 537c265 commit 4bdeb19
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.4
django-test-without-migrations==0.6

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

0 comments on commit 4bdeb19

Please sign in to comment.