diff --git a/CHANGELOG.md b/CHANGELOG.md index 97edbc85..8a3f8510 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,11 @@ Changes are grouped as follows - `Fixed` for any bug fixes. - `Security` in case of vulnerabilities. +## 7.11.5 + +### Fixed +* Updated max single-chunk file size to 5000 MiB from 5 GiB. The earlier limit used to cause issues with Azure Blob Storage. + ## 7.11.4 diff --git a/cognite/extractorutils/__init__.py b/cognite/extractorutils/__init__.py index 5c5bbebb..d2c2cd8c 100644 --- a/cognite/extractorutils/__init__.py +++ b/cognite/extractorutils/__init__.py @@ -16,7 +16,7 @@ Cognite extractor utils is a Python package that simplifies the development of new extractors. """ -__version__ = "7.11.4" +__version__ = "7.11.5" from .base import Extractor __all__ = ["Extractor"] diff --git a/cognite/extractorutils/uploader/files.py b/cognite/extractorutils/uploader/files.py index 93911127..be4f6ac6 100644 --- a/cognite/extractorutils/uploader/files.py +++ b/cognite/extractorutils/uploader/files.py @@ -59,10 +59,11 @@ _QUEUES: int = 0 _QUEUES_LOCK: threading.RLock = threading.RLock() -# 5 GiB -_MAX_SINGLE_CHUNK_FILE_SIZE = 5 * 1024 * 1024 * 1024 +# 5000 MiB +_MAX_SINGLE_CHUNK_FILE_SIZE = 5 * 1000 * 1024 * 1024 + # 4000 MiB -_MAX_FILE_CHUNK_SIZE = 4 * 1024 * 1024 * 1000 +_MAX_FILE_CHUNK_SIZE = 4 * 1000 * 1024 * 1024 _CDF_ALPHA_VERSION_HEADER = {"cdf-version": "alpha"} diff --git a/pyproject.toml b/pyproject.toml index 6beead78..7566ee58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "cognite-extractor-utils" -version = "7.11.4" +version = "7.11.5" description = "Utilities for easier development of extractors for CDF" authors = [ {name = "Mathias Lohne", email = "mathias.lohne@cognite.com"}