[Bug 279016] sysutils/ansible: netaddr is_private method deprecated in py-netaddr 1.0+

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 15 May 2024 22:04:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279016

            Bug ID: 279016
           Summary: sysutils/ansible: netaddr is_private method deprecated
                    in py-netaddr 1.0+
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/ansible-collections/ansible.utils/p
                    ull/338
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: einar@isnic.is
                CC: cy@FreeBSD.org
          Assignee: cy@FreeBSD.org
             Flags: maintainer-feedback?(cy@FreeBSD.org)
                CC: cy@FreeBSD.org
             Flags: maintainer-feedback?(cy@FreeBSD.org)

Since net/py-netaddr was updated to 1.2.1, the is_private method is deprecated,
which breaks the ansible.utils.ipaddr('private') filter.

The issue stating the problem is here:
https://github.com/ansible-collections/ansible.utils/pull/338

The fix was merged into ansible.utils on March 13th.

Only workaround I've found is to downgrade py-netaddr to 0.10 and lock the
package.

-- 
You are receiving this mail because:
You are the assignee for the bug.