Although both have the same version number "2.0.1", the apns package on PyPI Download file page is different from the code in this repository.
It seems that the Python 3 fix #106 was merged after publishing 2.0.1 on PyPI. This causes standard installs via pip install apns to install "old 2.0.1" which doesn't work with Python 3.6 and newer.
It would be good to bump the version number to "2.0.2" and upload the already fixed code to PyPI.
Users can install directly from git with pip install git+https://github.com/djacobs/PyAPNs.git until PyPI is fixed.
Another issue on the PyPI "apns" page is that the link to the project homepage "29.io" doesn't work (page doesn't exist). Maybe link the git repository instead.
Although both have the same version number "2.0.1", the apns package on PyPI Download file page is different from the code in this repository.
It seems that the Python 3 fix #106 was merged after publishing 2.0.1 on PyPI. This causes standard installs via
pip install apns
to install "old 2.0.1" which doesn't work with Python 3.6 and newer.It would be good to bump the version number to "2.0.2" and upload the already fixed code to PyPI.
Users can install directly from git with
pip install git+https://github.com/djacobs/PyAPNs.git
until PyPI is fixed.Another issue on the PyPI "apns" page is that the link to the project homepage "29.io" doesn't work (page doesn't exist). Maybe link the git repository instead.