Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Update storage sdk from 0.33.0 to 1.1.0 (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeguerin authored Mar 22, 2018
1 parent 8aa1843 commit f2eb1a4
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions aztk/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
import logging

# Azure storage is logging error in the console which make the CLI quite confusing
logging.getLogger("azure.storage").setLevel(logging.CRITICAL)
2 changes: 1 addition & 1 deletion aztk/utils/azure_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from azure.common.credentials import ServicePrincipalCredentials
from azure.mgmt.batch import BatchManagementClient
from azure.mgmt.storage import StorageManagementClient
from azure.storage import CloudStorageAccount
from azure.storage.common import CloudStorageAccount
from typing import Optional


Expand Down
2 changes: 1 addition & 1 deletion node_scripts/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from azure.common.credentials import ServicePrincipalCredentials
from azure.mgmt.batch import BatchManagementClient
from azure.mgmt.storage import StorageManagementClient
from azure.storage import CloudStorageAccount
from azure.storage.common import CloudStorageAccount



Expand Down
2 changes: 1 addition & 1 deletion node_scripts/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
azure-batch==3.0.0
azure-storage==0.33.0
azure-storage-blob==1.1.0
azure-mgmt-storage==1.5.0
azure-mgmt-batch==5.0.0
pyyaml==3.12
Expand Down
3 changes: 3 additions & 0 deletions node_scripts/submit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import sys
import os
import logging
import yaml
import subprocess
import datetime
Expand All @@ -9,6 +10,8 @@
from command_builder import CommandBuilder
from core import config

# limit azure.storage logging
logging.getLogger("azure.storage").setLevel(logging.CRITICAL)

'''
Submit helper methods
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
azure-batch==3.0.0
azure-mgmt-batch==5.0.0
azure-mgmt-storage==1.5.0
azure-storage==0.33.0
azure-storage-blob==1.1.0
pyyaml==3.12
pycryptodome==3.4.7
paramiko==2.4.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def find_package_files(root, directory, dest=""):
"azure-batch==3.0.0",
"azure-mgmt-batch==5.0.0",
"azure-mgmt-storage==1.5.0",
"azure-storage==0.33.0",
"azure-storage-blob==1.1.0",
"pyyaml>=3.12",
"pycryptodome>=3.4",
"paramiko>=2.4",
Expand Down

0 comments on commit f2eb1a4

Please sign in to comment.