From fbe576ffcb83e3dce1c9ca23ff5b01e837b1b4be Mon Sep 17 00:00:00 2001 From: Vinayak Mehta Date: Mon, 27 Jul 2020 17:38:14 +0530 Subject: [PATCH] Revert the changes in v0.8.1 --- HISTORY.md | 5 +++++ camelot/__version__.py | 2 +- camelot/utils.py | 4 ++-- requirements.txt | 2 +- setup.py | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 46367ce..0a8d6b3 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,6 +4,11 @@ Release History master ------ +0.8.2 (2020-07-27) +------------------ + +* Revert the changes in `0.8.1`. + 0.8.1 (2020-07-21) ------------------ diff --git a/camelot/__version__.py b/camelot/__version__.py index ce1b231..945ce1a 100644 --- a/camelot/__version__.py +++ b/camelot/__version__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -VERSION = (0, 8, 1) +VERSION = (0, 8, 2) PRERELEASE = None # alpha, beta or rc REVISION = None diff --git a/camelot/utils.py b/camelot/utils.py index 442c807..83974f9 100644 --- a/camelot/utils.py +++ b/camelot/utils.py @@ -14,7 +14,7 @@ from pdfminer.pdfparser import PDFParser from pdfminer.pdfdocument import PDFDocument from pdfminer.pdfpage import PDFPage -from pdfminer.pdfpage import PDFTextExtractionNotAllowedError +from pdfminer.pdfpage import PDFTextExtractionNotAllowed from pdfminer.pdfinterp import PDFResourceManager from pdfminer.pdfinterp import PDFPageInterpreter from pdfminer.converter import PDFPageAggregator @@ -780,7 +780,7 @@ def get_page_layout( parser = PDFParser(f) document = PDFDocument(parser) if not document.is_extractable: - raise PDFTextExtractionNotAllowedError(f"Text extraction is not allowed: {filename}") + raise PDFTextExtractionNotAllowed(f"Text extraction is not allowed: {filename}") laparams = LAParams( char_margin=char_margin, line_margin=line_margin, diff --git a/requirements.txt b/requirements.txt index 3ea5200..e2504d0 100755 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ numpy>=1.13.3 opencv-python>=3.4.2.17 openpyxl>=2.5.8 pandas>=0.23.4 -pdfminer.six>=20200720 +pdfminer.six>=20200726 PyPDF2>=1.26.0 Sphinx>=3.1.2 diff --git a/setup.py b/setup.py index 7ef87bf..b1ac666 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ 'numpy>=1.13.3', 'openpyxl>=2.5.8', 'pandas>=0.23.4', - 'pdfminer.six>=20200720', + 'pdfminer.six>=20200726', 'PyPDF2>=1.26.0' ]