-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Backward Incompatibility of azure-ai-ml 1.9.0 #31319
Comments
## Describe your changes Unpin aml sdk version. Related issue: Azure/azure-sdk-for-python#31319 ## Checklist before requesting a review - [ ] Add unit tests for this change. - [ ] Make sure all tests can pass. - [ ] Update documents if necessary. - [ ] Format your code by running `pre-commit run --all-files` - [ ] Is this a user-facing change? If yes, give a description of this change to be included in the release notes. ## (Optional) Issue link
Thank you for the feedback @trajepl . We will investigate and get back to you asap. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github @Azure/azure-ml-sdk. |
Hi @trajepl, We'll fix this in an upcoming PR. Thank you for bringing it to our attention. |
Thanks for the report! @trajepl Yes this type check is not by-design and should also accept |
Describe the bug
A clear and concise description of what the bug is.
azure-ai-ml (=1.9.0) can not accept Pathlib for command
code
.But when 1.9.0 was released, the following change will never allow
PathLike
arguments which is incompatibility with the version less than 1.9.0. Also the returning is kept asstr, os.PathLike
still. Not sure the typing checking is by design or not. Please help double check.(BTW, it is not blocking our codes. We can always cast PathLike to str before assignment. Just raise it up in case there are anything missed)
https://github.com/Azure/azure-sdk-for-python/blob/1356c85959f4ba182a92491f6d99d016411c8ab1/sdk/ml/azure-ai-ml/azure/ai/ml/entities/_component/command_component.py#L142C1-L149C1
To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: