diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e29fc3..4daee50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Yellowbox Changelog +## 0.11.1 +### Added +* add skipApiVersionCheck param to AzuriteService ## 0.11.0 ### Changed * psycopg: upgrade from psycopg2 to psycopg (v3) diff --git a/pyproject.toml b/pyproject.toml index a3c0bdd..5807f71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "yellowbox" -version = "0.11.0" +version = "0.11.1" description = "" authors = ["biocatch ltd"] license = "MIT" diff --git a/yellowbox/extras/azure_storage.py b/yellowbox/extras/azure_storage.py index a0c4e93..4cbedf4 100644 --- a/yellowbox/extras/azure_storage.py +++ b/yellowbox/extras/azure_storage.py @@ -40,13 +40,18 @@ def __init__( docker_client: DockerClient, image: str = "mcr.microsoft.com/azure-storage/azurite:latest", *, + skip_api_version_check: bool = True, container_create_kwargs: dict[str, Any] | None = None, **kwargs, ): + command = "azurite-blob --blobHost 0.0.0.0" + if skip_api_version_check: + command += " --skipApiVersionCheck" + container = create_and_pull_with_defaults( docker_client, image, - "azurite-blob --blobHost 0.0.0.0", + command, _kwargs=container_create_kwargs, publish_all_ports=True, )