Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2024 22:04:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279016] sysutils/ansible: netaddr is_private method deprecated in py-netaddr 1.0+
Message-ID:  <bug-279016-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279016

            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 depreca=
ted,
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279016-7788>