Future-House / paper-qa

High accuracy RAG for answering questions from scientific documents with citations
Apache License 2.0
6.44k stars 618 forks source link

Controlling for `pymupdf` version in `test_pdf_reader_match_doc_details` VCR #538

Closed jamesbraza closed 1 month ago

jamesbraza commented 1 month ago

As we see in this CI run, test_pdf_reader_match_doc_details has failed again. But it has a VCR, so why was it failing?

I traced it to going from pymupdf==1.24.10 to pymupdf==1.24.11 invalidating the VCR. So we can fix this now-failing test in one of two ways:

  1. Pinning pymupdf in dev dependencies
  2. Adding pymupdf to VCR key for this test

In this PR, I did the folowing: