From 8abf11fbd30d8c836f310880a7d43b0499f73db9 Mon Sep 17 00:00:00 2001 From: Sara Zan Date: Tue, 19 Apr 2022 16:06:27 +0200 Subject: [PATCH] Update `pdftotext` also on `pinecone` and `milvus1` CI jobs (#2433) * Upgrade pdftotext also on pinecone and milvus1 jobs * Update Documentation & Code Style Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .github/workflows/linux_ci.yml | 4 ++-- docs/_src/tutorials/tutorials/8.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux_ci.yml b/.github/workflows/linux_ci.yml index 471f2a2d7..04f02c32d 100644 --- a/.github/workflows/linux_ci.yml +++ b/.github/workflows/linux_ci.yml @@ -333,7 +333,7 @@ jobs: run: docker run -d -p 19530:19530 -p 19121:19121 milvusdb/milvus:1.1.0-cpu-d050721-5e559c - name: Install pdftotext - run: wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.03.tar.gz && tar -xvf xpdf-tools-linux-4.03.tar.gz && sudo cp xpdf-tools-linux-4.03/bin64/pdftotext /usr/local/bin + run: wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.04.tar.gz && tar -xvf xpdf-tools-linux-4.04.tar.gz && sudo cp xpdf-tools-linux-4.04/bin64/pdftotext /usr/local/bin - name: Install Dependencies (on cache miss only) # The cache might miss during the execution of an action: there should always be a fallback step to @@ -377,7 +377,7 @@ jobs: key: linux-${{ env.date }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/setup.cfg') }}-${{ hashFiles('**/pyproject.toml') }} - name: Install pdftotext - run: wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.03.tar.gz && tar -xvf xpdf-tools-linux-4.03.tar.gz && sudo cp xpdf-tools-linux-4.03/bin64/pdftotext /usr/local/bin + run: wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.04.tar.gz && tar -xvf xpdf-tools-linux-4.04.tar.gz && sudo cp xpdf-tools-linux-4.04/bin64/pdftotext /usr/local/bin # Haystack needs to be reinstalled at this stage to make sure the current commit's version is the one getting tested. # The cache can last way longer than a specific action's run, so older Haystack version could be carried over. diff --git a/docs/_src/tutorials/tutorials/8.md b/docs/_src/tutorials/tutorials/8.md index 148027235..5e5634281 100644 --- a/docs/_src/tutorials/tutorials/8.md +++ b/docs/_src/tutorials/tutorials/8.md @@ -37,7 +37,7 @@ This tutorial will show you all the tools that Haystack provides to help you cas !pip install git+https://github.com/deepset-ai/haystack.git#egg=farm-haystack[colab,ocr] # For Colab/linux based machines -!wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.03.tar.gz +!wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.04.tar.gz !tar -xvf xpdf-tools-linux-4.03.tar.gz && sudo cp xpdf-tools-linux-4.03/bin64/pdftotext /usr/local/bin # For Macos machines