diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c25520e5..2e49a8d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: with: path: | .venv - key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements/*.txt') }} + key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements/*.txt') }}-${{ github.run_id }} lookup-only: true - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 @@ -48,7 +48,7 @@ jobs: id: virtualenv-cache with: path: .venv - key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements/*.txt') }} + key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements/*.txt') }}-${{ github.run_id }} # NOTE(robinson) - This is a fallback in case the lint job does not find the cache. # We can take this out when we implement the fix in CORE-99 - name: Setup virtual environment (no cache hit) @@ -81,13 +81,15 @@ jobs: with: path: | .venv - key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements/*.txt') }} + key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements/*.txt') }}-${{ github.run_id }} # NOTE(robinson) - This is a fallback in case the lint job does not find the cache. # We can take this out when we implement the fix in CORE-99 - name: Setup virtual environment (no cache hit) if: steps.virtualenv-cache.outputs.cache-hit != 'true' run: | python${{ matrix.python-version }} -m venv .venv + source .venv/bin/activate + make install-ci - name: Install Poppler run: | sudo apt-get update diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f2ef842..1d510a7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.8.8-dev0 + +* fix: pdfminer-six dependencies + ## 0.8.7 * fix: add `password` for PDF diff --git a/requirements/base.in b/requirements/base.in index a7781de8..db4b9cae 100644 --- a/requirements/base.in +++ b/requirements/base.in @@ -14,4 +14,4 @@ rapidfuzz pandas scipy pypdfium2 -pdfminer-six==20240706 \ No newline at end of file +pdfminer-six>=20240706 \ No newline at end of file diff --git a/unstructured_inference/__version__.py b/unstructured_inference/__version__.py index ba167b50..584832f5 100644 --- a/unstructured_inference/__version__.py +++ b/unstructured_inference/__version__.py @@ -1 +1 @@ -__version__ = "0.8.7" # pragma: no cover +__version__ = "0.8.8-dev0" # pragma: no cover