From bd8aa490ea382a54af75bc9e086476854dd2c0f1 Mon Sep 17 00:00:00 2001 From: Alexander Streed Date: Tue, 10 Oct 2023 10:10:46 -0500 Subject: [PATCH] Fix error in deployment steps (#121) * Switches to sync version of DefaultAzureCredential * Updates changelog * Updates changelog --- CHANGELOG.md | 23 +++++++++++++++++++++-- prefect_azure/deployments/steps.py | 2 +- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf607d0..c2aafa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,8 +11,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Updated imports of deprecated Prefect Docker modules, bumping the minimum required Prefect version to 2.10.11 - [#118](https://github.com/PrefectHQ/prefect-azure/pull/118) - ### Deprecated ### Removed @@ -21,6 +19,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security +## 0.3.1 + +Released October 10th, 2023. + +### Changed + +- Updated imports of deprecated Prefect Docker modules, bumping the minimum required Prefect version to 2.10.11 - [#118](https://github.com/PrefectHQ/prefect-azure/pull/118) + +### Fixed + +- Fixed errors when using deployment steps with `account_url` - [#121](https://github.com/PrefectHQ/prefect-azure/pull/121) + +## 0.3.0 + +Released October 5th, 2023. + +### Changed + +- Added conditional import to support operating with pydantic>2 installed - [#119](https://github.com/PrefectHQ/prefect-azure/pull/119) +- Updated subscription ID description to contain the expected format - [#120](https://github.com/PrefectHQ/prefect-azure/pull/120) + ## 0.2.12 Released August 21st, 2023. diff --git a/prefect_azure/deployments/steps.py b/prefect_azure/deployments/steps.py index a33828c..697e86e 100644 --- a/prefect_azure/deployments/steps.py +++ b/prefect_azure/deployments/steps.py @@ -33,7 +33,7 @@ from pathlib import Path, PurePosixPath from typing import Dict, Optional -from azure.identity.aio import DefaultAzureCredential +from azure.identity import DefaultAzureCredential from azure.storage.blob import ContainerClient from prefect.utilities.filesystem import filter_files, relative_path_to_current_platform