Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "yellowbox"
version = "0.11.0"
version = "0.11.1"
description = ""
authors = ["biocatch ltd"]
license = "MIT"
Expand Down Expand Up @@ -84,7 +84,7 @@
]

[tool.poetry.extras]
azure = ["azure-storage-blob", "cffi"]

Check warning on line 87 in pyproject.toml

View check run for this annotation

OX Security / ox-security/scan

azure-storage-blob@12.0.0 • 1 direct CVE • EPSS Low • No Public Exploit

• Current Dependency: azure-storage-blob@12.0.0 • Recommended Upgrade: azure-storage-blob@12.28.0b1 • azure-storage-blob@12.28.0b1 resolves 1 of 1 direct vulnerabilities Upgrading to azure-storage-blob@12.28.0b1 will resolve ALL known vulnerabilities in your current dependency.
kafka = ["kafka-python", "confluent-kafka"]
postgresql = ["sqlalchemy", "psycopg", "SQLAlchemy-Utils"]
mssql = ['sqlalchemy', "SQLAlchemy-Utils"]
Expand Down
7 changes: 6 additions & 1 deletion yellowbox/extras/azure_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down