diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 61708ba..68df5d3 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -82,18 +82,18 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Log in to Docker Hub if: github.event_name != 'pull_request' - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Extract metadata for full image id: meta-full - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ${{ env.DOCKER_IMAGE }} tags: | @@ -112,7 +112,7 @@ jobs: - name: Extract metadata for minimal image id: meta-minimal - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ${{ env.DOCKER_IMAGE }} tags: | @@ -130,7 +130,7 @@ jobs: type=sha,prefix=sha-,suffix=-minimal - name: Build full image for scanning - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: context: . target: full @@ -159,7 +159,7 @@ jobs: - name: Build and push full image if: success() - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: context: . target: full @@ -171,7 +171,7 @@ jobs: platforms: linux/amd64,linux/arm64 - name: Build minimal image for scanning - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: context: . target: minimal @@ -200,7 +200,7 @@ jobs: - name: Build and push minimal image if: success() - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: context: . target: minimal diff --git a/pyproject.toml b/pyproject.toml index d3f8bde..acf9353 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=69", "wheel"] +requires = ["setuptools>=82.0.1", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,23 +9,23 @@ description = "REST and Command-line interface for converting PDFs to PDF/A usin requires-python = ">=3.11" readme = "README.md" dependencies = [ - "ocrmypdf>=16.12.0", - "pikepdf>=9.0.0", + "ocrmypdf>=17.4.1", + "pikepdf>=10.5.1", "fastapi>=0.115", - "uvicorn[standard]>=0.32", + "uvicorn[standard]>=0.44.0", "python-multipart>=0.0.10", - "img2pdf>=0.5.0", + "img2pdf>=0.6.3", ] [project.optional-dependencies] dev = [ "pytest>=9.0", - "pytest-timeout>=2.1.0", - "pytest-asyncio>=0.23.0", + "pytest-timeout>=2.4.0", + "pytest-asyncio>=1.3.0", "black>=25.1", - "ruff>=0.9", - "httpx>=0.28", - "pip-audit>=2.7", + "ruff>=0.15.10", + "httpx>=0.28.1", + "pip-audit>=2.10.0", ] [project.scripts]