[Bug 293920] filesystems/py-libzfs: patch collections.Sequence import error

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 19 Mar 2026 15:01:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293920

            Bug ID: 293920
           Summary: filesystems/py-libzfs: patch collections.Sequence
                    import error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: js@FreeBSD.org
                CC: meka@tilda.center
             Flags: maintainer-feedback?(meka@tilda.center)
                CC: meka@tilda.center

Created attachment 268926
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268926&action=edit
Patch

In Python 3.10 collections.Sequence module was moved into the
collections.abc.Sequence module, but nvpair.pxi is still using the old
path.

This patch fixes the import and also keeps backwards compatibility with
<=py3.9.

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