generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
breaking changes in netaddr #331
Comments
Workaround: downgrade netaddr python3 -m pip install 'netaddr<1.0' |
Also with bump version more problems "hostvars[inventory_hostname]['ansible_' + interface]['ipv4']['address'] | ansible.utils.ipaddr('private')" The conditional check 'hostvars[inventory_hostname]['ansible_' + interface]['ipv4']['address'] | ansible.utils.ipaddr('private')' failed. The error was: 'IPNetwork' object has no attribute 'is_private' |
Proposed a PR that should resolve this issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
New release of Netaddr was released 2 days ago 1.0.0 with a breaking changes:
IPAddress.is_private
method.ISSUE TYPE
COMPONENT NAME
ansible.utils
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
$ python3 -m pip freeze | grep netaddr netaddr==1.0.0
STEPS TO REPRODUCE
pip3 install netaddr
EXPECTED RESULTS
PASS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: