From 341aff39d0c0fbe305338703e73afa83d834c7d5 Mon Sep 17 00:00:00 2001 From: Trenton Holmes <797416+stumpylog@users.noreply.github.com> Date: Thu, 14 Mar 2024 19:18:28 -0700 Subject: [PATCH] Updates tool versions, locks CI test to 8.2.1, notes breaking change --- .docker/docker-compose.ci-test.yml | 2 +- CHANGELOG.md | 4 ++-- pyproject.toml | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.docker/docker-compose.ci-test.yml b/.docker/docker-compose.ci-test.yml index ef3580e..f6c0068 100644 --- a/.docker/docker-compose.ci-test.yml +++ b/.docker/docker-compose.ci-test.yml @@ -5,7 +5,7 @@ version: "3" services: gotenberg-client-test-server: - image: docker.io/gotenberg/gotenberg:8.2.0 + image: docker.io/gotenberg/gotenberg:8.2.1 hostname: gotenberg-client-test-server container_name: gotenberg-client-test-server network_mode: host diff --git a/CHANGELOG.md b/CHANGELOG.md index bdf14ac..6f50d9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,9 +15,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `codespell` pre-commit hook -### Deprecated +### Breaking Change -- All options deprecated in Gotenberg 8 will raise a DeprecationWarning +- Only Gotenberg 8 is now supported ### Changed diff --git a/pyproject.toml b/pyproject.toml index 53492c7..8a12355 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,8 +57,9 @@ dependencies = [ "pytest >= 7.4", "pytest-sugar", "pytest-env", - "pytest-httpx ~= 0.27; python_version >= '3.9'", + "pytest-httpx ~= 0.30; python_version >= '3.9'", "pytest-httpx ~= 0.22; python_version < '3.9'", + "pytest-xdist", "pikepdf", "python-magic", ] @@ -234,7 +235,7 @@ ban-relative-imports = "all" [tool.pytest.ini_options] minversion = "7.0" testpaths = ["tests"] -addopts = "--pythonwarnings=all" +addopts = "--pythonwarnings=all -n auto --maxprocesses 8" [tool.pytest_env] #SAVE_TEST_OUTPUT = 1