rdegges / python-ipify

The official client library for ipify: A Simple IP Address API.
The Unlicense
133 stars 34 forks source link

Updated to use Distro package for Python 3.8 compatibility #10

Open timotree opened 4 years ago

timotree commented 4 years ago

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%.

timotree commented 4 years ago

Builds are failing because Python 3.2 and 3.3 packages are missing and PyYAML requires Python 3.5+ (https://pyyaml.org/wiki/PyYAML)

yearski commented 4 years ago

This is virtually the same pull request as #7.

SigireddyBalasai commented 1 year ago

i am creating new module with syncronous asyncronous and cli named PyIpify