From fac5745dc846281bfae64bc631658bb2a2c90982 Mon Sep 17 00:00:00 2001 From: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com> Date: Thu, 22 Aug 2024 12:59:49 +0200 Subject: [PATCH 1/2] fix: usage of bytesio with docling-parse (#43) Signed-off-by: Michele Dolfi --- docling/backend/docling_parse_backend.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docling/backend/docling_parse_backend.py b/docling/backend/docling_parse_backend.py index 85b4b5d4..add8198e 100644 --- a/docling/backend/docling_parse_backend.py +++ b/docling/backend/docling_parse_backend.py @@ -186,9 +186,7 @@ class DoclingParseDocumentBackend(PdfDocumentBackend): self._parser_doc = parser.find_cells(str(path_or_stream)) end_pb_time = time.time() - start_pb_time - _log.info( - f"Time to parse {path_or_stream.name} with docling-parse: time={end_pb_time:.3f}" - ) + _log.info(f"Time to parse with docling-parse: time={end_pb_time:.3f}") def page_count(self) -> int: return len(self._parser_doc["pages"]) From f7c50c8b0e1a0a2aa6e0f796375f0564f51ef3a7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 22 Aug 2024 11:02:35 +0000 Subject: [PATCH 2/2] chore: bump version to 1.6.3 [skip ci] --- CHANGELOG.md | 6 ++++++ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45b681ea..e68f71c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [v1.6.3](https://github.com/DS4SD/docling/releases/tag/v1.6.3) - 2024-08-22 + +### Fix + +* Usage of bytesio with docling-parse ([#43](https://github.com/DS4SD/docling/issues/43)) ([`fac5745`](https://github.com/DS4SD/docling/commit/fac5745dc846281bfae64bc631658bb2a2c90982)) + ## [v1.6.2](https://github.com/DS4SD/docling/releases/tag/v1.6.2) - 2024-08-22 ### Fix diff --git a/pyproject.toml b/pyproject.toml index 63d48d0f..13a33b1b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "docling" -version = "1.6.2" # DO NOT EDIT, updated automatically +version = "1.6.3" # DO NOT EDIT, updated automatically description = "Docling PDF conversion package" authors = ["Christoph Auer ", "Michele Dolfi ", "Maxim Lysak ", "Nikos Livathinos ", "Ahmed Nassar ", "Peter Staar "] license = "MIT"