-
Notifications
You must be signed in to change notification settings - Fork 148
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
build failed due to aioapns dependency version #293
Comments
Hi @laurent-dol, could you explain what the breakage is here---which build failed, and how? |
The build with the Dockerfile. |
Interesting---could you share traceback from the error message? |
2022-01-27 16:20:19,618 [1] INFO main Importing pushkin module: sygnal.apnspushkin |
Ahh, I see! I thought when you said "remove loop" you meant the change here to limit the number of times aioapns will repeat a retry loop. But instead the loop argument was removed in Fatal1ty/aioapns#32. I'm not sure what the reason for that was, but I'd guess it's related to this note from the Python 3.10 changelog:
Pinning the dependency sounds like the best way to go. Thank you for reporting! |
Fixes #293. aioapns 2.1 made a breaking change: one can no longer pass an event loop directly to APNs.__init__. We could change our code to fix it, but (regrettably) I think it's quicker to avoid using that version. See also #293 (comment)
sygnal/setup.py
Line 25 in bd1c408
aioapns 2.1 introduced a breaking change. (remove loop on APNS instantiation).
to fix it, set the dep to :
The text was updated successfully, but these errors were encountered: