Bug 2275328 - [python3-pysnmp] Switch to maintained fork? [NEEDINFO]
Summary: [python3-pysnmp] Switch to maintained fork?
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pysnmp
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-16 18:12 UTC by Jelle van der Waa
Modified: 2025-05-16 08:05 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-16 08:05:34 UTC
Type: ---
Embargoed:
fede: needinfo? (mail)


Attachments (Terms of Use)

Description Jelle van der Waa 2024-04-16 18:12:55 UTC
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

Comment 1 Jan ONDREJ 2024-05-20 10:22:32 UTC
+1

Comment 2 Alfredo Moralejo 2024-08-12 07:13:54 UTC
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

Comment 3 Fabian Affolter 2024-09-28 18:52:26 UTC
I change the source to point to the fork for 7.1.4.

Comment 4 solact 2025-01-02 16:10:01 UTC
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...

Comment 5 fedepell 2025-01-22 08:06:29 UTC
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 :-)

Comment 6 Aoife Moloney 2025-04-25 10:26:54 UTC
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.

Comment 7 fedepell 2025-04-27 04:31:46 UTC
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.

Comment 8 Aoife Moloney 2025-05-16 08:05:34 UTC
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.


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