Skip to content

Conversation

@thiell
Copy link
Collaborator

@thiell thiell commented Nov 23, 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 thiell force-pushed the b19_deprecate_358 branch 6 times, most recently from 30e2fe3 to dbf3857 Compare November 24, 2022 01:34
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 thiell added this to the 1.9 milestone Nov 24, 2022
@thiell thiell merged commit 269ddbd into cea-hpc:master Nov 24, 2022
@thiell thiell deleted the b19_deprecate_358 branch November 24, 2022 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate old EventHandler method signatures

2 participants