From f002ea4f608d8a2afcd9b16c2879fc5ea9665db7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 14:50:51 +0000 Subject: [PATCH 1/2] Update dependency azure-storage-blob to v12.23.1 --- poetry.lock | 16 ++++++++-------- pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/poetry.lock b/poetry.lock index 90b8c570..dab0d0b4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -69,23 +69,23 @@ typing-extensions = ">=4.0.0" [[package]] name = "azure-storage-blob" -version = "12.19.1" +version = "12.23.1" description = "Microsoft Azure Blob Storage Client Library for Python" optional = true -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "azure-storage-blob-12.19.1.tar.gz", hash = "sha256:13e16ba42fc54ac2c7e8f976062173a5c82b9ec0594728e134aac372965a11b0"}, - {file = "azure_storage_blob-12.19.1-py3-none-any.whl", hash = "sha256:c5530dc51c21c9564e4eb706cd499befca8819b10dd89716d3fc90d747556243"}, + {file = "azure_storage_blob-12.23.1-py3-none-any.whl", hash = "sha256:1c2238aa841d1545f42714a5017c010366137a44a0605da2d45f770174bfc6b4"}, + {file = "azure_storage_blob-12.23.1.tar.gz", hash = "sha256:a587e54d4e39d2a27bd75109db164ffa2058fe194061e5446c5a89bca918272f"}, ] [package.dependencies] -azure-core = ">=1.28.0,<2.0.0" +azure-core = ">=1.30.0" cryptography = ">=2.1.4" isodate = ">=0.6.1" -typing-extensions = ">=4.3.0" +typing-extensions = ">=4.6.0" [package.extras] -aio = ["azure-core[aio] (>=1.28.0,<2.0.0)"] +aio = ["azure-core[aio] (>=1.30.0)"] [[package]] name = "bandit" @@ -2330,4 +2330,4 @@ wsgi = ["pyramid"] [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.13" -content-hash = "cd7c950f04c35c4defb907c568a5237224df1f54b8aaa92fd0f83351b9a10ba5" +content-hash = "19473b05fa04f8ca905ea91779d7d3a2cd4a333a9fc00902cc76631fabb4c348" diff --git a/pyproject.toml b/pyproject.toml index 0eca1093..7e531497 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,7 @@ tc-viewer = "tilecloud.scripts.tc_viewer:main" [tool.poetry.dependencies] python = ">=3.10,<3.13" -azure-storage-blob = { version = "12.19.1", optional = true } +azure-storage-blob = { version = "12.23.1", optional = true } azure-identity = { version = "1.18.0", optional = true } boto3 = { version = "1.35.31", optional = true } bottle = "0.13.1" From 9de1be675feb461e81d7d5aeb6fc4f05331875ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Wed, 2 Oct 2024 16:30:21 +0200 Subject: [PATCH 2/2] Fix mypy type --- tilecloud/store/azure_storage_blob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tilecloud/store/azure_storage_blob.py b/tilecloud/store/azure_storage_blob.py index 43e4054b..2a43f6fd 100644 --- a/tilecloud/store/azure_storage_blob.py +++ b/tilecloud/store/azure_storage_blob.py @@ -108,7 +108,7 @@ def put_one(self, tile: Tile) -> Tile: blob.upload_blob( tile.data, overwrite=True, - content_settings=ContentSettings( # type: ignore + content_settings=ContentSettings( content_type=tile.content_type, content_encoding=tile.content_encoding, cache_control=self.cache_control,