Task #2479
Task #2476: Python 3 support
ipaddr fails
Start date:
10/22/2019
Due date:
% Done:
100%
Description
cannot import name 'IPAddress' from 'network_tools_app.ipaddr'
History
#1 Updated by Luke Murphey about 5 years ago
Observations:
- This is used by ipwhois
- See src/bin/network_tools_app/ipwhois/utils.py
- Could use https://github.com/richardpenman/pywhois
- See https://github.com/secynic/ipwhois
- It appears that Python 3.3 includes an ipaddress module:
if sys.version_info >= (3, 3): # pragma: no cover from ipaddress import ip_network else: # pragma: no cover from ipaddr import IPNetwork as ip_network
- Use version 1.1.0 of https://github.com/secynic/ipwhois/releases
#2 Updated by Luke Murphey about 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100