python-scraperlib icon indicating copy to clipboard operation
python-scraperlib copied to clipboard

test_indexing_item_not_front test is failing

Open benoit74 opened this issue 8 months ago • 2 comments

I had to skip this test which is failing for now with most recent libzim: https://github.com/openzim/python-scraperlib/blob/fef63f81fdb9dd6d2a5e17d9c8785e3fd22665e9/tests/zim/test_indexing.py#L114-L144

This looks like an upstream issue, hopefully only at read time: https://github.com/openzim/libzim/issues/981

benoit74 avatar Apr 29 '25 08:04 benoit74

We've agreed upstream that this was more a kind of bug / unwanted behavior. I will hence fix the test on scraperlib side.

benoit74 avatar May 13 '25 04:05 benoit74

I will move this out of scraperlib 5.2.0:

  • it is not requiring any code change on the lib itself, only on tests
  • we need to test / document / align on more things around all these searches, and this is going to take time ; I would like to be sure about the full-text search behavior when non-front text/html article is passed for instance

benoit74 avatar May 13 '25 07:05 benoit74