python-ipify
python-ipify copied to clipboard
Updated to use Distro package for Python 3.8 compatibility
platform.linux_distribution was removed in Python 3.8 and Distro is the recommended replacement.
I'm still pretty new to this so I can't figure out why when I run python setup.py test
I get this error:
running test
error: [WinError 2] The system cannot find the file specified
If I run the tests manually with py.test --cov-report term-missing --cov ipify
, it gets 100% coverage but test_ipify.py reports 71%.
Builds are failing because Python 3.2 and 3.3 packages are missing and PyYAML requires Python 3.5+ (https://pyyaml.org/wiki/PyYAML)
This is virtually the same pull request as #7.
i am creating new module with syncronous asyncronous and cli named PyIpify