Revert the changes in v0.8.1

pull/175/head
Vinayak Mehta 2020-07-27 17:38:14 +05:30
parent fcad5067b9
commit fbe576ffcb
No known key found for this signature in database
GPG Key ID: 2170CDB940114C1D
5 changed files with 10 additions and 5 deletions

View File

@ -4,6 +4,11 @@ Release History
master master
------ ------
0.8.2 (2020-07-27)
------------------
* Revert the changes in `0.8.1`.
0.8.1 (2020-07-21) 0.8.1 (2020-07-21)
------------------ ------------------

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
VERSION = (0, 8, 1) VERSION = (0, 8, 2)
PRERELEASE = None # alpha, beta or rc PRERELEASE = None # alpha, beta or rc
REVISION = None REVISION = None

View File

@ -14,7 +14,7 @@ import numpy as np
from pdfminer.pdfparser import PDFParser from pdfminer.pdfparser import PDFParser
from pdfminer.pdfdocument import PDFDocument from pdfminer.pdfdocument import PDFDocument
from pdfminer.pdfpage import PDFPage from pdfminer.pdfpage import PDFPage
from pdfminer.pdfpage import PDFTextExtractionNotAllowedError from pdfminer.pdfpage import PDFTextExtractionNotAllowed
from pdfminer.pdfinterp import PDFResourceManager from pdfminer.pdfinterp import PDFResourceManager
from pdfminer.pdfinterp import PDFPageInterpreter from pdfminer.pdfinterp import PDFPageInterpreter
from pdfminer.converter import PDFPageAggregator from pdfminer.converter import PDFPageAggregator
@ -780,7 +780,7 @@ def get_page_layout(
parser = PDFParser(f) parser = PDFParser(f)
document = PDFDocument(parser) document = PDFDocument(parser)
if not document.is_extractable: 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( laparams = LAParams(
char_margin=char_margin, char_margin=char_margin,
line_margin=line_margin, line_margin=line_margin,

View File

@ -5,6 +5,6 @@ numpy>=1.13.3
opencv-python>=3.4.2.17 opencv-python>=3.4.2.17
openpyxl>=2.5.8 openpyxl>=2.5.8
pandas>=0.23.4 pandas>=0.23.4
pdfminer.six>=20200720 pdfminer.six>=20200726
PyPDF2>=1.26.0 PyPDF2>=1.26.0
Sphinx>=3.1.2 Sphinx>=3.1.2

View File

@ -19,7 +19,7 @@ requires = [
'numpy>=1.13.3', 'numpy>=1.13.3',
'openpyxl>=2.5.8', 'openpyxl>=2.5.8',
'pandas>=0.23.4', 'pandas>=0.23.4',
'pdfminer.six>=20200720', 'pdfminer.six>=20200726',
'PyPDF2>=1.26.0' 'PyPDF2>=1.26.0'
] ]