From ec2e875bcc046f5bd0faa75ac3085a6cf04e1a2e Mon Sep 17 00:00:00 2001 From: Vinayak Mehta Date: Fri, 3 Jan 2025 16:47:52 +0100 Subject: [PATCH 1/2] Fix pypdf import --- excalibur/utils/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/excalibur/utils/task.py b/excalibur/utils/task.py index c03ca91..558961c 100644 --- a/excalibur/utils/task.py +++ b/excalibur/utils/task.py @@ -6,7 +6,7 @@ get_page_layout, get_rotation, ) -from PyPDF2 import PdfReader, PdfWriter +from pypdf import PdfReader, PdfWriter def get_pages(filename, pages, password=""): From e5c40f2367f94017ac4dfee72aef77ff82bfa0a5 Mon Sep 17 00:00:00 2001 From: Vinayak Mehta Date: Fri, 3 Jan 2025 16:48:59 +0100 Subject: [PATCH 2/2] Bump version --- HISTORY.md | 5 +++++ excalibur/__version__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index fee939c..42cef5a 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,11 @@ Release History =============== +1.0.1 (2025-01-03) +------------------ + +* Fix pypdf import. + 1.0.0 (2025-01-03) ------------------ diff --git a/excalibur/__version__.py b/excalibur/__version__.py index d4a6345..5cce1f6 100644 --- a/excalibur/__version__.py +++ b/excalibur/__version__.py @@ -1,4 +1,4 @@ -VERSION = (1, 0, 0) +VERSION = (1, 0, 1) PRERELEASE = None # alpha, beta or rc REVISION = None diff --git a/pyproject.toml b/pyproject.toml index 8c92127..a9ef469 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "excalibur-py" -version = "1.0.0" +version = "1.0.1" description = "A web interface to extract tabular data from PDFs" authors = [ {name = "Vinayak Mehta", email = "vmehta94@gmail.com"}