Skip to content

Commit 9319743

Browse files
committed
merge master
2 parents 9c08d85 + 537b1f7 commit 9319743

4 files changed

Lines changed: 22 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ Versioned according to [Semantic Versioning](http://semver.org/).
55

66
## Unreleased
77

8+
## [2.63.3] - 2024-03-07
9+
10+
Added:
11+
12+
* `make uninstall-workaround` compantion to `make install-workaround`, #119
13+
14+
Fixed:
15+
16+
* `OcrdMets.add_file`: fix finding existing el_pagediv, #1199
17+
18+
819
## [2.63.2] - 2024-03-05
920

1021
Fixed:
@@ -2027,6 +2038,10 @@ Fixed
20272038
Initial Release
20282039

20292040
<!-- link-labels -->
2041+
<<<<<<< HEAD
2042+
=======
2043+
[2.63.3]: ../../compare/v2.63.3..v2.63.1
2044+
>>>>>>> master
20302045
[2.63.2]: ../../compare/v2.63.2..v2.63.1
20312046
[2.63.1]: ../../compare/v2.63.1..v2.63.0
20322047
[2.63.0]: ../../compare/v2.63.0..v2.62.0

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ build-workaround: pyclean
355355

356356
# test that the aliased packages work in isolation and combined
357357
test-workaround: build-workaround
358-
for dist in $(BUILD_ORDER);do pip uninstall --yes $$dist;done
358+
$(MAKE) uninstall-workaround
359359
for dist in $(BUILD_ORDER);do \
360360
pip install dist/$$dist-*.whl ;\
361361
ocrd --version ;\
@@ -368,3 +368,7 @@ test-workaround: build-workaround
368368
ocrd --version ;\
369369
make test ;\
370370
for dist in $(BUILD_ORDER);do pip uninstall --yes $$dist;done
371+
372+
uninstall-workaround:
373+
for dist in $(BUILD_ORDER);do $(PIP) uninstall --yes $$dist;done
374+

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.63.2
1+
2.63.3

src/ocrd_models/ocrd_mets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ def set_physical_page_for_file(self, pageId : str, ocrd_file : OcrdFile,
763763

764764
el_pagediv = None
765765
if self._cache_flag:
766-
if pageId in self._page_cache:
766+
if pageId in self._page_cache[METS_PAGE_DIV_ATTRIBUTE.ID]:
767767
el_pagediv = self._page_cache[METS_PAGE_DIV_ATTRIBUTE.ID][pageId]
768768
else:
769769
el_pagediv = el_seqdiv.find('mets:div[@ID="%s"]' % pageId, NS)

0 commit comments

Comments
 (0)