14
0
forked from pool/python-pysnmp

- use poetry-core for building

- Update to version 4.4.6
     +  Promote the use of dedicated classes for dealing with OID-value pairs.
        Instances of those classes resemble OBJECT-IDENTITY, OBJECT-TYPE and
     +  Oneliner API reworked to become more generic: its LCD configuration
        shortcuts and and var-bindings processing code split off SNMP apps
        classes to stand-alone objects. The whole API also moved up in package
        naming hierarchy and becomes ‘pysnmp.hlapi.asyncore’ (hlapi is
        apparently an African fish). Old oneliner API remains fully operational
     +  Synchronous oneliner apps redesigned to offer Python generator-based
     +  Twisted API moved entirely into high-level domain to be aligned with
  + Sphinx documentation added to source code and example scripts. Library
  + Execution Observer facility implemented to give app an inside view of SNMP
    (and modifying) various internal states of pysnmp engine. Previously
    introduced non-standard APIs (like getting peer’s transport endpoint which
    +   Responding to SNMP requests from exactly the same IP address the query
  + Internal oneliner apps configuration cache moved from respective apps
    objects to [a singular] snmpEngine “user context” object. That would allow
    for better cache reuse and allow for a single app working with many
  + Oneliner GETBULK Command Generator now strips possible excessive OIDs off
  + Constraints assignment shortcut added to some base rfc1902 types (Integer,
  + Examples on a single Transport Dispatcher use with multiple SnmpEngine
  + AbstractTransportDispatcher’s jobStarted() and jobFinished() methods now
  + Oneliner transport object now supports setLocalAddress() method to force
  + New public DgramSocketTransport.getLocalAddress() returns local endpoint
  + Change to rfc2576.v1tov2() logic: errorStatus = noSuchName is now
    on the platform. It would help handling a really large number (>1024)
    addV3User() functions as well as to their oneliner's wrappers.
    in both Generator and Responder modes and better follow RFC2576
    untagged snmpCommunityTable entries will *not* match tagged

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=51
This commit is contained in:
2024-02-01 08:13:03 +00:00
committed by Git OBS Bridge
parent 1435e5f96b
commit 9093923f20
2 changed files with 52 additions and 47 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pysnmp
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@ Source: https://github.com/lextudio/pysnmp/archive/refs/tags/v%{version}
# PATCH-FIX-UPSTREAM ish? Sourced from gh#pyasn1/pyasn1/issues/28
Patch0: support-new-pyasn1.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pysmi}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes