The current python3-pysnmp package is not compatible with Python 3.12 as it imports asyncore which was removed in Python 3.12. pysnmp-4.4.12/pysnmp/carrier/asyncore/base.py:import asyncore I discovered this while working on the Arch Linux Python 3.12 rebuild, the maintainer of pysnmp sadly passed away. [1] The official website of the project now references to this maintained fork, which no longer imports asnyncore. [2] [3] [1] https://lists.openstack.org/pipermail/openstack-discuss/2022-August/030062.html [2] https://www.pysnmp.com/ [3] https://github.com/lextudio/pysnmp Reproducible: Always
+1
Actually, the pypi pysnmp package points now to this lextudio fork as the source for pysnmp. https://pypi.org/project/pysnmp/ It should be updated
I change the source to point to the fork for 7.1.4.
I'm having the same issue. As I understand, a pull request to https://src.fedoraproject.org/rpms/pysnmp/blob/rawhide/f/pysnmp.spec needs to be made like this. Version: 4.4.12 ->7.1.15 Source0: https://github.com/etingof/pysnmp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz ->https://github.com/lextudio/pysnmp/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Is that right? I hope some maintainer will do this...
I've made a PR to Rawhide that seems to work fine here: https://src.fedoraproject.org/rpms/pysnmp/pull-request/2 Please give it a look/bump and we should then possibly trickle this down also to Fedora 41 and Fedora 40, as there the package is as a matter of fact broken right now :-( @mail : if you need a comaintaner let me know :-)
This message is a reminder that Fedora Linux 40 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '40'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 40 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Well my above-mentioned PR was merged to master, but never rebuilt (albeit requested couple of times). It was never merged to FC40 (nor anything else) as well. The package there (and in FC41 and FC42) remains totally broken. Would be nice if something would be done. Will consider to start a unresponsive maintainer ticket eventually.
Fedora Linux 40 entered end-of-life (EOL) status on 2025-05-13. Fedora Linux 40 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.