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
Make push optional dependecies #600
Conversation
I have rabased this after #599. |
I see that now travis is failing due to rust dependency ofcryptography... |
@auvipy maybe the issue with crypthography on travis is due to this change: from version 3.4, released on Feb this year, it requires RUST to compile binaries. There is a binary package for ubuntu, but it requires pip to be updated, on travis PIP uses version 20.1.1 (May 2020) which may not get the updated binary. This problem maybe could be fixed by forcing PIP to update. |
I have just seen that now this repo uses Gihub Action instead of Travis. I will update this PR as soon as I can. |
Codecov Report
@@ Coverage Diff @@
## master #600 +/- ##
==========================================
- Coverage 68.30% 68.24% -0.06%
==========================================
Files 24 24
Lines 1101 1099 -2
Branches 173 173
==========================================
- Hits 752 750 -2
Misses 312 312
Partials 37 37
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @auvipy anything else?
In some use-cases this package is used only to serve a subset of available push services.
In this case having every push-library as a required dependecy may cause problems with the environment (ie: dependecies of dependency).
This PR turns APNS and webpush as optional dependencies using
extras_require
option.