-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Deprecate old EventHandler method signatures #358
Comments
thiell
added a commit
to thiell/clustershell
that referenced
this issue
Nov 24, 2022
Old EventHandler signatures (eg. ev_read(self, worker)) have been deprecated since 1.8. This patch adds DeprecationWarnings for 1.9. Also deprecating Worker.current_* variables in the documentation. New EventHandler's method arguments should be used instead. Also updated all tests that were still relying on old signatures. Closes cea-hpc#358.
thiell
added a commit
that referenced
this issue
Nov 24, 2022
Old EventHandler signatures (eg. ev_read(self, worker)) have been deprecated since 1.8. This patch adds DeprecationWarnings for 1.9. Also deprecating Worker.current_* variables in the documentation. New EventHandler's method arguments should be used instead. Also updated all tests that were still relying on old signatures. Closes #358.
thiell
added a commit
to thiell/clustershell
that referenced
this issue
Nov 25, 2022
Commit 269ddbd for cea-hpc#358 introduced a DeprecationWarning for ev_timeout() which doesn't work without removing the method definition from EventHandler. Remove the definition from the class, add specific test and update documentation.
thiell
added a commit
that referenced
this issue
Nov 25, 2022
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Related to #232. Old signatures (eg.
ev_read(self, worker)
) should be deprecated in 1.x (x > 8) and removed in 2.0.The text was updated successfully, but these errors were encountered: