Skip to content

Commit

Permalink
{dls} Upgrade azure-datalake-store to 1.0.0a0 (#30770)
Browse files Browse the repository at this point in the history
* Upgrade azure-datalake-store from track1 to track2

* refine code

* remove unused argument

* fix
  • Loading branch information
evelyn-ys authored Feb 7, 2025
1 parent 1efb0ff commit 8f85493
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,8 @@ def cf_dls_filesystem(cli_ctx, account_name):
from azure.datalake.store import core
from azure.cli.core._profile import Profile

profile = Profile(cli_ctx=cli_ctx)
subscription_id = None
cred, subscription_id, _ = profile.get_login_credentials(
subscription_id=subscription_id,
resource=cli_ctx.cloud.endpoints.active_directory_data_lake_resource_id)
cred, _, _ = Profile(cli_ctx=cli_ctx).get_login_credentials()
return core.AzureDLFileSystem(
token=cred,
token_credential=cred,
store_name=account_name,
url_suffix=cli_ctx.cloud.suffixes.azure_datalake_store_file_system_endpoint)
2 changes: 1 addition & 1 deletion src/azure-cli/requirements.py3.Darwin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ azure-common==1.1.22
azure-core==1.31.0
azure-cosmos==3.2.0
azure-data-tables==12.4.0
azure-datalake-store==0.0.53
azure-datalake-store==1.0.0a0
azure-keyvault-administration==4.4.0b2
azure-keyvault-certificates==4.7.0
azure-keyvault-keys==4.9.0b3
Expand Down
2 changes: 1 addition & 1 deletion src/azure-cli/requirements.py3.Linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ azure-common==1.1.22
azure-core==1.31.0
azure-cosmos==3.2.0
azure-data-tables==12.4.0
azure-datalake-store==0.0.53
azure-datalake-store==1.0.0a0
azure-keyvault-administration==4.4.0b2
azure-keyvault-certificates==4.7.0
azure-keyvault-keys==4.9.0b3
Expand Down
2 changes: 1 addition & 1 deletion src/azure-cli/requirements.py3.windows.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ azure-common==1.1.22
azure-core==1.31.0
azure-cosmos==3.2.0
azure-data-tables==12.4.0
azure-datalake-store==0.0.53
azure-datalake-store==1.0.0a0
azure-keyvault-administration==4.4.0b2
azure-keyvault-certificates==4.7.0
azure-keyvault-keys==4.9.0b3
Expand Down
2 changes: 1 addition & 1 deletion src/azure-cli/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
'azure-cli-core=={}'.format(VERSION),
'azure-cosmos~=3.0,>=3.0.2',
'azure-data-tables==12.4.0',
'azure-datalake-store~=0.0.53',
'azure-datalake-store~=1.0.0a0',
'azure-keyvault-administration==4.4.0b2',
'azure-keyvault-certificates==4.7.0',
'azure-keyvault-keys==4.9.0b3',
Expand Down

0 comments on commit 8f85493

Please sign in to comment.