-
Notifications
You must be signed in to change notification settings - Fork 1.5k
added ml to index.json #3047
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
added ml to index.json #3047
Conversation
|
hi @fengzhou-msft is this the release for installation fixing? thanks |
src/index.json
Outdated
| "pyyaml (>=5.1.0)", | ||
| "azure-identity", | ||
| "msrest (>=0.6.18)", | ||
| "azure-core (<2.0.0,>=1.8.0)", | ||
| "azure-mgmt-core (<2.0.0,>=1.2.0)", | ||
| "marshmallow (<4.0.0,>=3.5)", | ||
| "tqdm", | ||
| "azure-storage-blob (<=12.5.0,>12.0.0b4)", | ||
| "pydash (<=4.9.0)", | ||
| "azure-storage-file-share (==12.3.0)", | ||
| "pathspec (==0.8.*)", | ||
| "cryptography (<=3.3.2)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove pyyaml, msrest, azure-core and azure-mgmt-core? They're already in the dependency list of azure-cli.
It is also recommended to replace azure-storage-blob and azure-storage-file-share with azure-multiapi-storage installed by azure-cli. You can refer to this PR: Azure/azure-cli#13414. @Juliehzl can help if you have any questions about storage dependency usages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed these dependencies in index.json. Do I also need to remove them in setup.py? Will ping @Juliehzl for azure-storage-blob dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to remove them in setup.py and regenerate the wheel and update index.json.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After discussed with @Mossaka, the storage sdk is required by azure-ml package, not cli extension. If there is no packaging issue, I am fine with it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Juliehzl LMK if there is no packaging issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed dependencies in the CLI wheel @fengzhou-msft
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 3047 in repo Azure/azure-cli-extensions |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Merge #3317 first before merging this PR. |
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update
src/index.jsonautomatically.The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify
src/index.json.