Skip to content

Accept and propagate api_version argument through factory functions - #555

Open
amotl wants to merge 1 commit into
fsspec:mainfrom
dlt-contrib:api_version
Open

Accept and propagate api_version argument through factory functions#555
amotl wants to merge 1 commit into
fsspec:mainfrom
dlt-contrib:api_version

Conversation

@amotl

@amotl amotl commented Jul 24, 2026

Copy link
Copy Markdown

Hi. Thanks a stack for conceiving adlfs. When aiming to run integration tests (panodata/omniload#249), we ran into a problem.

Problem

The Azurite service emulator does not always implement the newest API versions of the original Azure Blob and Data Lake Storage APIs running in production.

azure.core.exceptions.HttpResponseError: The API version 2026-06-06 is not supported by Azurite.
Please upgrade Azurite to latest version and retry. If you are using Azurite in Visual Studio,
please check you have installed latest Visual Studio patch. Azurite command line parameter
"--skipApiVersionCheck" or Visual Studio Code configuration "Skip Api Version Check" can skip this error.

Solution

As of today, it is needed to define api_version=2025-11-05 to connect successfully to Azurite. This patch allows users to define the API version when using adlfs.

@amotl amotl changed the title Accept api_version argument in factory functions Accept api_version argument in factory functions Jul 24, 2026
@amotl amotl changed the title Accept api_version argument in factory functions Accept and propagate api_version argument through factory functions Jul 25, 2026
The Azurite service emulator does not always implement the newest
API versions of the original Azure Blob and Data Lake Storage APIs
running in production. As of today, it is needed to define
`api_version=2025-11-05` to connect successfully.
@anjaliratnam-msft

Copy link
Copy Markdown
Collaborator

Hi @amotl! Before doing a deeper review, we just want to make sure that this change is necessary. Is there a reason you're unable to use the --skipApiVersionCheck flag as mentioned in the error message? This should already handle the mismatched API version without needing to make any changes.

@amotl

amotl commented Jul 28, 2026

Copy link
Copy Markdown
Author

Ah, that flag is on the Azurite container, right. I will try, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants