Closed totalhack closed 1 month ago
When trying to send email on job failure I get:
login() got some positional-only arguments passed as keyword arguments: 'username, password'
Looking at the yacron code it looks like keyword args are used:
https://github.com/gjcarneiro/yacron/blob/bde0f0b73d227636adf40d849fd281451136c476/yacron/job.py#L220
This wasn't an issue for me until recently so some dependency perhaps moved and started to trigger this?
Pinning aiosmtplib==2.0.2 solves the issue for me. Something in my environment must have bumped to a v3 version of that dependency.
aiosmtplib==2.0.2
Description
When trying to send email on job failure I get:
login() got some positional-only arguments passed as keyword arguments: 'username, password'
Looking at the yacron code it looks like keyword args are used:
https://github.com/gjcarneiro/yacron/blob/bde0f0b73d227636adf40d849fd281451136c476/yacron/job.py#L220
This wasn't an issue for me until recently so some dependency perhaps moved and started to trigger this?