-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Enable python 3.14 support for azure-ai-ml #44072
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
Enable python 3.14 support for azure-ai-ml #44072
Conversation
|
@microsoft-github-policy-service agree company="Microsoft" |
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.
Pull Request Overview
This PR enables Python 3.14 support for the azure-ai-ml package by updating version classifiers and adjusting dependency constraints for compatibility.
Key changes:
- Adds Python 3.14 to the supported version classifiers in setup.py
- Updates pywin32 dependency from version 306 to 311 for Windows compatibility
- Adds Python 3.14 version constraint to scikit-image dependency due to compatibility issues
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| sdk/ml/azure-ai-ml/setup.py | Adds Python 3.14 to the list of supported Python versions in classifiers |
| sdk/ml/azure-ai-ml/dev_requirements.txt | Updates pywin32 to version 311 and restricts scikit-image installation to Python < 3.14 |
… used in boolean contexts
…xt manager protocol for mocked objects, updated the mocks to fix it
…_conversion - Python 3.13+ no longer allows NotImplemented to be used in boolean contexts
…e test more robust and independent of python version
…class attributes directly instead of through self in closures
…tation is till 3.12, after that it uses profiler at runtime, hence need not test bytecode for 3.13 onwards
sdk/ml/azure-ai-ml/azure/ai/ml/entities/_job/distillation/distillation_job.py
Show resolved
Hide resolved
* Initial changes to enable python 3.14 support - adjusted requirements * Fix test_equality - Python 3.14 no longer allows NotImplemented to be used in boolean contexts * Unskip test in test_data_utils - Python 3.13+ enforces stricter context manager protocol for mocked objects, updated the mocks to fix it * Fix DistillationJob.__eq__ logic and unskip test in test_distillation_conversion - Python 3.13+ no longer allows NotImplemented to be used in boolean contexts * Replace help() with inspect.signature() in test_dsl_group - making the test more robust and independent of python version * Fix Python 3.14 test failures in test_init_finalize_job by accessing class attributes directly instead of through self in closures * Update skipif condition in test_persistent_locals - bytecode implementation is till 3.12, after that it uses profiler at runtime, hence need not test bytecode for 3.13 onwards * Update README * Update CHANGELOG * Add tests for dev requirements * Add test to cover src code changes in distillation_job --------- Co-authored-by: Saanika Gupta <[email protected]>
Description
Testing
this pr. Hence no delta new failures
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines