4 Commits

Author SHA1 Message Date
Vinayak Mehta 9a5c4b6865 Merge pull request #175 from camelot-dev/revert-0-8-1
[MRG] Revert the changes in v0.8.1
2020-07-27 17:56:48 +05:30
Vinayak Mehta fbe576ffcb Revert the changes in v0.8.1 2020-07-27 17:38:14 +05:30
Vinayak Mehta fcad5067b9 Fix failing test 2020-07-23 00:54:41 +05:30
Vinayak Mehta 1b8ce1d560 Bump requirement versions 2020-07-23 00:40:26 +05:30
6 changed files with 16 additions and 11 deletions
+5
View File
@@ -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)
------------------
+1 -1
View File
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
VERSION = (0, 8, 1)
VERSION = (0, 8, 2)
PRERELEASE = None # alpha, beta or rc
REVISION = None
+2 -2
View File
@@ -14,7 +14,7 @@ import numpy as np
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,
+2 -2
View File
@@ -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>=1.7.9
Sphinx>=3.1.2
+6 -6
View File
@@ -19,7 +19,7 @@ requires = [
'numpy>=1.13.3',
'openpyxl>=2.5.8',
'pandas>=0.23.4',
'pdfminer.six>=20200720',
'pdfminer.six>=20200726',
'PyPDF2>=1.26.0'
]
@@ -33,11 +33,11 @@ plot_requires = [
dev_requires = [
'codecov>=2.0.15',
'pytest>=3.8.0',
'pytest-cov>=2.6.0',
'pytest-mpl>=0.10',
'pytest-runner>=4.2',
'Sphinx>=1.7.9'
'pytest>=5.4.3',
'pytest-cov>=2.10.0',
'pytest-mpl>=0.11',
'pytest-runner>=5.2',
'Sphinx>=3.1.2'
]
all_requires = cv_requires + plot_requires
Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 48 KiB