Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] azure package is deprecated #910

Open
eyalzo opened this issue Aug 7, 2023 · 1 comment
Open

[bug] azure package is deprecated #910

eyalzo opened this issue Aug 7, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@eyalzo
Copy link

eyalzo commented Aug 7, 2023

Describe the bug
The azure package is deprecated. Need to install individual packages instead.

To Reproduce
Steps to reproduce the behavior (please include the full Skyplane command you ran):

  1. Run 'pip install azure'
  2. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
% pip install azure
Collecting azure
Downloading azure-5.0.0.zip (4.6 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/private/var/folders/72/tm0y9z7s5ps7czwbhk3b3rwm0000gn/T/pip-install-9bbpxnbf/azure_e8b7dcef3e364884b5509ff05e7da165/setup.py", line 60, in
raise RuntimeError(message)
RuntimeError:

  Starting with v5.0.0, the 'azure' meta-package is deprecated and cannot be installed anymore.
  Please install the service specific packages prefixed by `azure` needed for your application.
  
  The complete list of available packages can be found at:
  https://aka.ms/azsdk/python/all
  
  Here's a non-exhaustive list of common packages:
  
  -  azure-mgmt-compute (https://pypi.python.org/pypi/azure-mgmt-compute) : Management of Virtual Machines, etc.
  -  azure-mgmt-storage (https://pypi.python.org/pypi/azure-mgmt-storage) : Management of storage accounts.
  -  azure-mgmt-resource (https://pypi.python.org/pypi/azure-mgmt-resource) : Generic package about Azure Resource Management (ARM)
  -  azure-keyvault-secrets (https://pypi.python.org/pypi/azure-keyvault-secrets) : Access to secrets in Key Vault
  -  azure-storage-blob (https://pypi.python.org/pypi/azure-storage-blob) : Access to blobs in storage accounts
  
  A more comprehensive discussion of the rationale for this decision can be found in the following issue:
  https://github.com/Azure/azure-sdk-for-python/issues/10646

Transfer client log

None.

Environment info (please complete the following information):

  • OS: Mac OS
  • Python version: 3.11.2
  • Skyplane version : 0.3.2

Additional context

Needed only when using Azure.

@eyalzo eyalzo added the bug Something isn't working label Aug 7, 2023
@abiswal2001 abiswal2001 self-assigned this Aug 23, 2023
@eyalzo
Copy link
Author

eyalzo commented Sep 5, 2023

Note that this fix is not enough - 2aab284
This is because the same should be fixed in the main README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants