James R. Barlow
10c703e119
unpaper: use TemporaryDirectory(ignore_cleanup_errors=True) where available
...
Fixes #974 when used in conjunction with Python 3.10.
Reviewed other uses of TemporaryDirectory in ocrmypdf and decided it
was not worth fixing them since neither are exactly production code.
2022-06-02 01:56:41 -07:00
James R. Barlow
0ac15dd0b2
Suppress libxmp DeprecationWarning during test
2022-06-01 00:46:16 -07:00
James R. Barlow
c082526dea
Test pypy-3.8 instead of 3.7
v13.4.6
2022-05-26 13:52:56 -07:00
James R. Barlow
33cdabaf65
tests: account for test that expected pngquant for windows
2022-05-26 13:52:22 -07:00
James R. Barlow
94f8e36601
ci: don't install pngquant for windows anymore
2022-05-26 13:01:58 -07:00
James R. Barlow
865002c7be
v13.4.6 release notes
2022-05-26 00:59:14 -07:00
James R. Barlow
5d0cc0a092
tests: Extract some test fixtures for better clarity
2022-05-26 00:57:31 -07:00
James R. Barlow
6c427f82ea
Add test case for corrupt ICC profiles
2022-05-26 00:41:19 -07:00
James R. Barlow
e7a44ba87a
info: adjust ICC warning message
2022-05-26 00:21:31 -07:00
James R. Barlow
c311768452
Merge branch 'corrupt-icc' of https://github.com/oscherler/OCRmyPDF into oscherler-corrupt-icc
2022-05-26 00:14:47 -07:00
James R. Barlow
f53fedee63
pre-commit: autoupdate
2022-05-25 15:21:55 -07:00
James R. Barlow
87838127b0
info: replace introspection with explicit f-string
2022-05-25 13:16:40 -07:00
Olivier Scherler
4db4df5c72
Log a warning instead of failing on images with a corrupt ICC profile.
2022-05-25 12:37:21 +02:00
James R. Barlow
11125c5367
v13.4.5 release notes
v13.4.5
2022-05-24 16:52:43 -07:00
James R. Barlow
e648411067
Remove pdfminer.six upper version restriction
...
Needing to update this every time has become more inconvenient than dealing
with the occasional breakage in a new release.
2022-05-24 16:51:38 -07:00
Ben Beasley and GitHub
11365575d7
Allow pdfminer.six 20220524 ( #971 )
2022-05-24 16:33:44 -07:00
James R. Barlow
845cb5c40c
docs: clarify that --pages and --skip-text exclusions apply to image processing and OCR
...
Closes #950
2022-05-16 13:20:47 -07:00
James R. Barlow
b699e158be
Fix references to old repo at jbarlow83/OCRmyPDF
2022-05-16 12:48:10 -07:00
leonnicolas and GitHub
603da52026
Fix small typo in update api.py ( #963 )
...
[ci skip]
2022-05-14 21:45:23 -07:00
James R. Barlow
8d0765a5e0
v13.4.4 release notes
v13.4.4
2022-05-14 14:53:03 -07:00
James R. Barlow
1ca327e13b
Update pdfminer.six version
2022-05-14 14:51:59 -07:00
James R. Barlow
f504fd1875
Change Docker base to 22.04
2022-04-28 22:46:30 -07:00
James R. Barlow
cf7c20ca16
v13.4.3 release notes
v13.4.3
2022-04-14 20:19:31 -07:00
James R. Barlow
b00fe3dc5d
pytest.skip() - remove kwarg entirely, to avoid breaking older pytest and not getting warns from newer pytest
2022-04-14 20:15:00 -07:00
James R. Barlow
e6aa3a4299
tests: explain why CacheOcrEngine needs lock
2022-04-05 16:16:51 -07:00
James R. Barlow
24f1b57288
Merge branch 'master' of github.com:ocrmypdf/OCRmyPDF
2022-04-05 16:04:45 -07:00
James R. Barlow
43302d7e12
Fix pytest.warns() on older pytest
...
Thanks @QuLogic
2022-04-05 16:02:50 -07:00
Christopher Besch and GitHub
fed0226761
Add Gentoo Language Installation Instructions ( #936 )
2022-04-05 00:26:24 -07:00
Joseph Morris and GitHub
27e22b4f07
Update jbig2.rst ( #911 )
...
Adding Ubuntu package names for dependencies I needed to save others time. The tequired package for leptonica is particularly confusing since configure just says "Error! Leptonica not detected." and there are multiple leptonica packages
2022-04-05 00:25:28 -07:00
James R. Barlow
79382a6039
Docker: Change base image to debian
...
Debian has latest qpdf.
v13.4.2
2022-04-04 00:40:03 -07:00
James R. Barlow
7788d94c4a
v13.4.2 release notes, take 2
2022-04-03 23:58:37 -07:00
James R. Barlow
33bfba8449
ghostscript: match actual reported version
2022-04-03 23:35:30 -07:00
James R. Barlow
1d0584c644
Add advisory note to release notes
2022-04-03 23:04:55 -07:00
James Barlow
84b9d4d021
Speculation: Ghostscript 9.56 new PDF interpreter breaks things
2022-04-03 21:14:19 -07:00
James Barlow
41efd3bf0f
Fix Python "3.10"
2022-04-03 21:13:59 -07:00
James Barlow
776ada6713
Upgrade pre-commit and associated tools; various lints
2022-04-03 20:53:01 -07:00
James Barlow
f3593c915d
ci: test Python 3.10
2022-04-03 19:06:50 -07:00
James Barlow
dfe31a2f6d
Add lock to certain "with patch" cases
...
Switch to --use-threads seems to have broken tests that assumed they could
monkeypatch things. Although that's odd, since while we can have multiple
worker threads, we should never have
parallel tests in the same process.
2022-04-03 17:22:04 -07:00
James Barlow
0c43963d69
Fix pytest deprecation warnings
2022-04-03 13:30:58 -07:00
James Barlow
f29fe7f23e
Fix Pillow deprecation warnings
2022-04-03 13:30:50 -07:00
James R. Barlow
04996caac3
pdfminer 20220319
2022-03-22 22:36:06 -07:00
James R. Barlow
13917c051c
Disable oom killer test for --use-threads
v13.4.1
2022-03-13 01:02:28 -08:00
James R. Barlow
8182fe9c92
Make --use-threads default and update release notes
...
Re: issue Hanging on Random Files #814
2022-03-13 00:37:06 -08:00
James R. Barlow
1950acfbda
docs: proofread plugins
2022-02-20 00:56:43 -08:00
James R. Barlow
fca6403083
Disallow pikepdf 5.0.0
v13.4.0
2022-02-19 01:45:36 -08:00
James R. Barlow
c4e2fce1ef
v13.4.0 release notes (2)
2022-02-18 23:37:33 -08:00
James R. Barlow
3546479658
optimize: don't deflate JPEGs with fancy DecodeParms settings
...
This is overly cautious but will do for now.
2022-02-18 23:36:53 -08:00
James R. Barlow
72442fa3d0
Fix error messages when run with pikepdf 5.0.0
...
Appears that these are spurious errors from qpdf probing the /DecodeParms
dict on images that don't have it.
Not sure exactly why it happens but this can be safely ignored.
2022-02-18 23:35:44 -08:00
James R. Barlow
8f714b1375
v13.4.0 release notes
2022-02-18 23:08:48 -08:00
James R. Barlow
cb05c1d122
pdfinfo: a few annotations
2022-02-14 23:31:53 -08:00