diff --git a/.docker/Dockerfile.alpine b/.docker/Dockerfile.alpine index 72adc4610..d99bff3b9 100644 --- a/.docker/Dockerfile.alpine +++ b/.docker/Dockerfile.alpine @@ -34,7 +34,7 @@ COPY --from=ghcr.io/astral-sh/uv:0.5.5 /uv /uvx /bin/ ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy # Instead of restarting the shell, use uv directly from its installed location. -RUN uv sync --extra test --extra webservice --extra watcher +RUN uv sync --extra test --extra webservice --extra watcher --no-dev FROM base diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e106551fa..439cf413c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v4 with: - version: "0.4.27" + version: "0.5.x" - name: "Set up Python" uses: actions/setup-python@v5 @@ -84,7 +84,7 @@ jobs: - name: Install Python packages run: | - uv sync --extra test + uv sync --extra test --no-dev - name: Report versions run: | @@ -138,7 +138,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v4 with: - version: "0.4.27" + version: "0.5.x" - name: "Set up Python" uses: actions/setup-python@v5 @@ -147,7 +147,7 @@ jobs: - name: Install Python packages run: | - uv sync --extra test + uv sync --extra test --no-dev - name: Report versions run: | @@ -188,7 +188,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v4 with: - version: "0.4.27" + version: "0.5.x" - name: "Set up Python" uses: actions/setup-python@v5 @@ -202,7 +202,7 @@ jobs: - name: Install Python packages run: | - uv sync --extra test + uv sync --extra test --no-dev - name: Test run: | @@ -227,7 +227,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v4 with: - version: "0.4.27" + version: "0.5.x" - name: Make wheels and sdist run: | diff --git a/pyproject.toml b/pyproject.toml index ee24c8f4b..d3d3baca9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -118,8 +118,6 @@ filterwarnings = [ [[tool.mypy.overrides]] module = [ 'pluggy', - 'tqdm', - 'coloredlogs', 'img2pdf', 'pdfminer.*', 'reportlab.*', @@ -158,8 +156,8 @@ quote-style = "preserve" [dependency-groups] dev = [ - "mypy>=1.13.0", - "pymupdf>=1.24.14", - "streamlit-pdf-viewer>=0.0.19", - "streamlit>=1.40.2", + "mypy>=1.13.0", + "pymupdf>=1.24.14", + "streamlit-pdf-viewer>=0.0.19", + "streamlit>=1.40.2", ] diff --git a/uv.lock b/uv.lock index 07c030e06..846b34d5e 100644 --- a/uv.lock +++ b/uv.lock @@ -802,7 +802,7 @@ wheels = [ [[package]] name = "ocrmypdf" -version = "16.6.3.dev12+gcc058be4.d20241205" +version = "16.6.3.dev16+g15df9c37.d20241208" source = { editable = "." } dependencies = [ { name = "deprecation" },