James R. Barlow
c725bf79da
flake8 delinting
2021-09-21 16:37:03 -07:00
James R. Barlow
9559f76fae
optimize: fix typo in debug msg
2021-09-19 16:31:00 -07:00
James R. Barlow
45736b7c2b
cli: clarify text to more accurately describe behavior of --jbig2-lossy
2021-09-16 16:03:39 -07:00
James R. Barlow
5629e960b9
v12.5.0 release notes update
v12.5.0
2021-09-15 00:27:32 -07:00
James R. Barlow
79fd8d01a5
info: fix incorrect handling of inline images and other typing fixes
2021-09-15 00:26:15 -07:00
James R. Barlow
79fe7a0a85
graft: remove separate implementation of unparse_content_stream
2021-09-15 00:25:06 -07:00
James R. Barlow
b4b32a35b5
optimize: fix typing consistency
2021-09-15 00:09:08 -07:00
James R. Barlow
4634b3db55
v12.5.0 release notes
2021-09-14 17:26:07 -07:00
James R. Barlow
f5053158d4
hocrtransform: fix regression causing hocr text to be not rendered
...
Fixes #828
2021-09-14 17:23:09 -07:00
James R. Barlow
dfa4ce1612
pyproject: configure mypy
2021-09-14 17:22:41 -07:00
James R. Barlow
585595a98e
pre-commit: autoupdate
2021-09-14 17:22:29 -07:00
James R. Barlow
f6396fbaac
pre-commit: drop isort mirror
2021-09-14 17:20:43 -07:00
James R. Barlow
3859bae85e
Merge branch 'feature/drop-pkg-resources'
2021-09-14 00:31:36 -07:00
James R. Barlow
ee1a7baae7
requirements: drop setuptools
...
With importlib_* we no longer setuptools's pkg_resources.
2021-09-14 00:28:42 -07:00
James R. Barlow
a4da05b66b
docs: various fixes
...
As suggested by @Chealer
Closes #829 , #830 , #831 , #832
2021-09-14 00:24:18 -07:00
James R. Barlow
4d67812d51
importlib helpers don't provide importlib.thing, but importlib_thing
...
Fix everywhere.
2021-09-14 00:15:07 -07:00
James R. Barlow
3534742ef9
ci: Enable build of feature branches
2021-09-13 01:35:14 -07:00
James R. Barlow
8bfd46c80d
docs: update copyright
2021-09-13 01:10:49 -07:00
James R. Barlow
cc6e9cecc0
Replace pkg_resources version lookup with importlib.metadata
2021-09-13 01:10:49 -07:00
James R. Barlow
208657f840
pdfa: replace pkg_resources with importlib.resources
2021-09-13 01:10:49 -07:00
James R. Barlow
f3de980447
Introduce importlib-resources,metadata backports for Python < 3.9
2021-09-13 01:10:43 -07:00
James R. Barlow
eb8992e58b
Update release notes
2021-09-09 15:53:08 -07:00
James R. Barlow
72ad618ae6
Merge branch 'master' of github.com:jbarlow83/OCRmyPDF
2021-09-09 15:25:54 -07:00
James R. Barlow
f07d0c39bb
Require pikepdf<3 on PyPy 3.6
...
Because cibuildwheel does not build wheels for PyPy 3.6 anymore,
so pikepdf does not offer one.
2021-09-09 15:25:38 -07:00
James R. Barlow
9c5c7d9be0
release notes: mention Py3.6 EOL
2021-09-08 00:04:21 -07:00
0b19b084e2
build(deps): bump pillow from 8.2.0 to 8.3.2 in /requirements/main.txt ( #825 )
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 8.2.0 to 8.3.2.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/8.2.0...8.3.2 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 00:03:35 -07:00
James R. Barlow
9b4516af7a
ci : add packages for PyPy build
v12.4.0
2021-08-31 02:44:07 -07:00
James R. Barlow
1eb45de5c9
v12.4.0 release notes
2021-08-31 02:35:39 -07:00
James R. Barlow
390b9924f5
ci: Add PyPy to matrix
2021-08-31 02:34:12 -07:00
James R. Barlow
c28858a099
leptonica: fix a PyPy-specific error
...
Error is:
TypeError: from_buffer() got a 'memoryview' object, which supports the buffer interface but cannot be rendered as a plain raw address on PyPy
PyPy is happy to access a bytes() copy of the memoryview.
2021-08-31 02:31:58 -07:00
James R. Barlow
f00b3c00cd
Merge remote-tracking branch 'origin/master'
2021-08-31 02:19:09 -07:00
James R. Barlow
4e4f0bfa1f
graft: use faster unparse_content_stream if available
2021-08-31 02:16:25 -07:00
Elliott Sales de Andrade and GitHub
0a31acf888
Allow pluggy v1. ( #822 )
...
There are breaking changes, but I could not find any reference to them
in the code.
2021-08-31 02:15:43 -07:00
James R. Barlow
b91096c615
hoctransform: fix deprecation warning
2021-08-28 02:11:33 -07:00
James R. Barlow
95d9e8d91a
info: inconsistent types used in ContentsInfo.name_index
...
This broke PyPy but CPython is fine with it.
2021-08-28 00:18:14 -07:00
James R. Barlow
cb6c1939e9
typing: fix runtime issues
2021-08-27 02:18:54 -07:00
James R. Barlow
3764ee872a
typing: refactor namedtuples in info
2021-08-27 00:51:11 -07:00
James R. Barlow
e402d5cb4b
typing: fix path and numeric issues
2021-08-27 00:23:38 -07:00
James R. Barlow
53cd04799a
typing: fix Pillow usage, leptonica
2021-08-27 00:06:38 -07:00
James R. Barlow
f2545d4496
typing: remove deprecated abstractstaticmethod
2021-08-26 23:51:11 -07:00
James R. Barlow
9b81e76ed4
typing: fix issues; avoid some magic literals
2021-08-26 23:48:27 -07:00
James R. Barlow
0956fc81aa
typing: improvements for concurrency files
2021-08-26 23:47:53 -07:00
James R. Barlow
72279e7759
typing: confirmed that _pages_from_ranges(not-str) is never used
2021-08-26 23:47:11 -07:00
James R. Barlow
6f9b948064
typing: fix some trivial issues
2021-08-26 23:46:44 -07:00
James R. Barlow
4eca0a165b
pre-commit: pyupgrade modernizing
2021-08-26 18:04:38 -07:00
James R. Barlow
067e61e03a
pre-commit: auto update
2021-08-26 18:00:37 -07:00
James R. Barlow
1b46481f7e
pre-commit: add setup.cfg fmt
2021-08-26 17:59:40 -07:00
James R. Barlow
d8d9c41abb
v12.3.3 release notes
v12.3.3
2021-08-21 18:06:14 -07:00
James R. Barlow
a8cad72f72
Merge branch 'master' of github.com:jbarlow83/OCRmyPDF
2021-08-21 17:38:19 -07:00
James R. Barlow
86c04305f4
readme: confirm Tesseract 5 support
2021-08-21 17:37:10 -07:00