integrations/vespa/pyproject.toml pins httpr>=0.4.0,<0.5.2 as a workaround. httpr is a transitive dependency of pyvespa; 0.5.2 added Response.raise_for_status, which makes pyvespa's raise_for_status() take its requests/httpx branch and let the resulting httpr.HTTPStatusError escape uncaught. The effect is that raise_on_not_found=False no longer suppresses 404s, so VespaDocumentStore.write_documents() raises for every new document and get_documents_by_id() raises instead of skipping missing ids.
Fixed upstream in unreleased as of pyvespa 1.2.4.
When a pyvespa release containing vespa-engine/pyvespa#1330 is out:
Context: PR #3761
integrations/vespa/pyproject.tomlpinshttpr>=0.4.0,<0.5.2as a workaround.httpris a transitive dependency ofpyvespa; 0.5.2 addedResponse.raise_for_status, which makes pyvespa'sraise_for_status()take its requests/httpx branch and let the resultinghttpr.HTTPStatusErrorescape uncaught. The effect is thatraise_on_not_found=Falseno longer suppresses 404s, soVespaDocumentStore.write_documents()raises for every new document andget_documents_by_id()raises instead of skipping missing ids.Fixed upstream in unreleased as of pyvespa 1.2.4.
When a pyvespa release containing vespa-engine/pyvespa#1330 is out:
httprpin fromintegrations/vespa/pyproject.toml(including the explanatory comment)pyvespa>=0.58.0)vespa-haystackContext: PR #3761