Bug 1446181 - pysnmp incompatible with new pyasn1
Summary: pysnmp incompatible with new pyasn1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pysnmp
Version: 25
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-27 12:04 UTC by Jan ONDREJ
Modified: 2017-06-09 18:54 UTC (History)
1 user (show)

Fixed In Version: pysnmp-4.3.5-1.fc25 pysnmp-4.3.5-1.fc26
Clone Of:
Environment:
Last Closed: 2017-05-27 03:00:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan ONDREJ 2017-04-27 12:04:17 UTC
Description of problem:
After update to python2-pyasn1-0.2.3-1.fc25.noarch pysnmp stops working.
Exception pasted below.

Version-Release number of selected component (if applicable):
python2-pyasn1-0.2.3-1.fc25.noarch
python2-pysnmp-4.3.3-1.fc25.noarch

How reproducible:
always

Steps to Reproduce:
I can make some, if needed.

Actual results:
  File "/usr/lib/python2.7/site-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py", line 183, in getCmd
    **kwargs):
  File "/usr/lib/python2.7/site-packages/pysnmp/hlapi/asyncore/sync/cmdgen.py", line 111, in getCmd
    lookupMib=options.get('lookupMib', True)))
  File "/usr/lib/python2.7/site-packages/pysnmp/hlapi/asyncore/cmdgen.py", line 131, in getCmd
    options.get('cbFun'), options.get('cbCtx'))
  File "/usr/lib/python2.7/site-packages/pysnmp/entity/rfc3413/cmdgen.py", line 214, in sendVarBinds
    v2c.apiPDU.setVarBinds(reqPDU, varBinds)
  File "/usr/lib/python2.7/site-packages/pysnmp/proto/api/v1.py", line 136, in setVarBinds
    varBindList.getComponentByPosition(idx), varBind
  File "/usr/lib/python2.7/site-packages/pysnmp/proto/api/v1.py", line 43, in setOIDVal
    verifyConstraints=False)
TypeError: setComponentByType() got multiple values for keyword argument 'verifyConstraints'

Additional info:
As temporary workaround downgrade of pyasn1* works.

Comment 1 Jan ONDREJ 2017-04-27 12:07:58 UTC
Looking at pysnmp changelog and looks like pysnmp-4.3.4 fixes this:

Release highlights:
    Bumped pyasn1 dependency to version 0.2.3+.
    Calls to pyasn1 adjusted to accommodate pyasn1 API changes.

4.3.5 is also available on github.

Comment 2 Fedora Update System 2017-05-11 13:04:22 UTC
pysnmp-4.3.5-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e15010ac65

Comment 3 Fedora Update System 2017-05-11 13:04:39 UTC
pysnmp-4.3.5-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-764ca2d3fc

Comment 4 Fedora Update System 2017-05-12 13:37:01 UTC
pysnmp-4.3.5-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e15010ac65

Comment 5 Fedora Update System 2017-05-13 01:11:24 UTC
pysnmp-4.3.5-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-764ca2d3fc

Comment 6 Fedora Update System 2017-05-27 03:00:40 UTC
pysnmp-4.3.5-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2017-06-09 18:54:14 UTC
pysnmp-4.3.5-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.