-
-
Notifications
You must be signed in to change notification settings - Fork 623
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
Migrating to FCM v1 API causes dependency issues with apns2 #729
Comments
We seem to run into the same issue, just that poetry never finishes/hangs when creating the lock file. |
@martinrlilja how are you guys going about updating the package to account for FCM's move to the new API? is there an older version that supports the new FCM API but doesn't conflict with apns2? |
For those trying to get this to work, I had to remove apns2 and then re-add the package to use the github version (not the pypi version). The github version uses the correct version of pyjwt, but it was never released to pypi. Using poetry:
After that, upgrading this package works. |
Hi guys, I am facing the same thing but with apns2 and djangorestframework-jwt. any tip? |
Closing as this appears to be an issue with the dependencies, not this package. |
When I try to install the
firebase-admin
package in order to migrate to FCM v1 API (https://github.com/jazzband/django-push-notifications/blob/master/docs/FCM.rst), I get this error (I am using Poetry to handle dependencies)It looks like the
apns2
package (which is used for APNS service in this package) requirespyjwt
that's less than v2.5.0 butfirebase-admin
requires one that is >=2.5.0FWIW, it looks like this is actually an issue with
apns2
referencing the wrong version: Pr0Ger/PyAPNs2#133Does anyone know how to get around this? Am I doing something wrong?
The text was updated successfully, but these errors were encountered: