Skip to content

Bump ocrmypdf from 17.7.1 to 17.12.1 in /requirements - #117

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/requirements/ocrmypdf-17.12.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/requirements/ocrmypdf-17.12.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026

Copy link
Copy Markdown
Contributor

Bumps ocrmypdf from 17.7.1 to 17.12.1.

Release notes

Sourced from ocrmypdf's releases.

v17.12.1

Fixes

  • ocrmypdf --version and ocrmypdf --help printed to standard error instead of standard output, so version=$(ocrmypdf --version) came back empty and ocrmypdf --help | less showed nothing. OCRmyPDF redirects file descriptor 1 to standard error early in startup, before it parses the command line, so that a stray write from a plugin or a library cannot corrupt a PDF being written to standard output; argparse's own output was caught by that redirection too and is now routed back to the real standard output. Error messages continue to go to standard error. Broken since v17.8.0.

v17.12.0

Changes

  • OCRmyPDF now requires pikepdf 10.2 or later, up from pikepdf 10. This is the first release that provides pikepdf.NamePath, the Object.as_int() family of type-safe accessors, and a thread-local explicit_conversion(). OCRmyPDF uses all three to read optional values out of PDFs it did not write.
  • HEIF/HEIC input support is now an opt-in extra, ocrmypdf[heic], instead of a default dependency. The pi-heif package we previously depended on is discontinued; its successor pillow-heif bundles libheif, libde265 and x265 in its wheels, making the wheel as a whole GPLv2-licensed, so we do not install it by default. Install ocrmypdf[heic] if you feed HEIC images to OCRmyPDF. The Docker image and snap do not include it. {issue}1746
  • A Tagged PDF that is refused because it appears to contain real text now exits with code 6 (already_done_ocr) instead of code 2 (input_file), matching the exit code for a PDF with prior OCR. Scripts that check for exit code 2 on tagged PDFs need updating. Thanks @​BetterAndBetterII. {issue}1551
  • The snap package is now built and published from our CI rather than Launchpad, so the stable channel tracks releases again instead of being frozen at v16.4.2. It is based on core26 and includes a JBIG2 encoder.

Fixes

  • Text copied or searched in a --output-type pdfa file came out as garbage (a stable substitution of unrelated characters, or nothing at all) when the PDF/A conversion ran through Ghostscript 9.56 through 10.04.x, which includes the Ghostscript in Ubuntu 24.04. fpdf2 writes each font's ToUnicode CMap as a single bfchar block, but the CMap specification allows at most 100 entries per block, and those Ghostscript releases discard the whole map when a block is larger. Any page with more than 100 distinct glyphs was affected, which is nearly every page of prose. CFF CID-keyed fonts such as Noto Sans CJK have the same problem in their Encoding CMap, where those Ghostscript releases then also draw the wrong glyphs. OCRmyPDF now splits every CMap block to 100 entries as fpdf2 writes it, for every fpdf2 release. fpdf2 2.8.9 will split the ToUnicode blocks itself but not the Encoding blocks, so the fix stays in place. Thanks @​olafure for the analysis

... (truncated)

Commits
  • 5f410e9 Send --version and --help to stdout, not stderr
  • ed35104 docs: complete v17.12.0 release notes
  • e81285c fpdf2: keep CMap patch for CFF CID fonts that fpdf2 2.8.9 still breaks
  • 7e30077 fpdf2: split ToUnicode CMap blocks so Ghostscript keeps them
  • 6a9c4e9 Merge branch 'main' into patch-2
  • 97d3bf2 Replace discontinued pi-heif with optional pillow-heif extra
  • 3277265 Migrate snap to core26 and publish it from GitHub CI
  • b511c2b Refresh installation docs for current platforms
  • ffee832 Stop forming Latin ligatures in invisible text; warn on gs 10.05-10.06
  • 064c192 Debian and Ubuntu ship JBIG2 encoding too; improve formatting of JBIG encodin...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ocrmypdf](https://github.com/ocrmypdf/OCRmyPDF) from 17.7.1 to 17.12.1.
- [Release notes](https://github.com/ocrmypdf/OCRmyPDF/releases)
- [Commits](ocrmypdf/OCRmyPDF@v17.7.1...v17.12.1)

---
updated-dependencies:
- dependency-name: ocrmypdf
  dependency-version: 17.12.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Oct 1, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #128.

@dependabot dependabot Bot closed this Nov 1, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/requirements/ocrmypdf-17.12.1 branch November 1, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants