[Bug 283133] net-mgmt/py-snmp_passpersist: Update to 2.1.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 04 Dec 2024 19:07:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283133

            Bug ID: 283133
           Summary: net-mgmt/py-snmp_passpersist: Update to 2.1.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: matthew.l.dailey@dartmouth.edu

The current port uses version 2.0.0 of snmp_passpersist, which relies on the
deprecated Thread.isAlive(). On current versions of FreeBSD (python 3.11), this
results in:
  File "/usr/local/lib/python3.11/site-packages/snmp_passpersist.py", line 403,
in start
    while up.isAlive(): # Do not serve data if the Updater thread has died
          ^^^^^^^^^^
AttributeError: 'Thread' object has no attribute 'isAlive'. Did you mean:
'is_alive'?

This is fixed in the upstream snmp_passpersist since April 2022
(https://github.com/nagius/snmp_passpersist/commit/a235cc5fced0d622ea682bd1e320be1b5179e201)
and is available in version 2.1.0.

Please update this port with version 2.1.0 of the upstream snmp_passpersist
code.

Thanks!

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Maintainer informed via mail

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