netaddr / netaddr

A network address manipulation library for Python

Home Page:https://netaddr.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeprecationWarning with open_binary() in netaddr/eui/ieee.py

cbueche opened this issue · comments

Good day,

I get this error : netaddr/eui/ieee.py:284: DeprecationWarning: open_binary is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.. Happens as well in netaddr/eui/__init__.py:94:.

I'm somewhat concerned about the status of netaddr, the latest commit is about 2 years old, and the latest tag is even older.

Ok I now see issue 202, so I guess I've to move over to Python3's ipaddress. I only miss all the layer 2 functionality.

issue is gone with v0.9.0. Thanks for maintaining this gem !