-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[tune] Remove deprecated features, promote warnings to errors #18595
Conversation
else: | ||
raise DeprecationWarning(error_msg) | ||
|
||
|
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.
This was not used at all
This is blocked by https://buildkite.com/ray-project/ray-builders-pr/builds/13749#ed001a69-91e5-40b0-bedf-4a64f25cde04 |
# Conflicts: # python/requirements/tune/requirements_upstream.txt
|
||
if isinstance(self._space, list): | ||
# Keep for backwards compatibility | ||
# Deprecate: 1.5 |
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 think marking "deprecate: 1.X" is a good practice. We should adopt that rigorously as part of depreciation cycle.
Why are these changes needed?
This Pr removes some older deprecated features. For other deprecated features, it promotes the warning to an actual error. It also removes some deprecated arguments from tune.run.
Related issue number
Checks
scripts/format.sh
to lint the changes in this PR.