Hi Federico, On Thu, May 29, 2025 at 8:42 AM Federico Pellegrin <f...@evolware.org> wrote:
> > Il giorno gio 29 mag 2025 alle ore 06:20 Federico Pellegrin < > f...@evolware.org> ha scritto: > >> >> I'm a bit surprised about what you mention for F41 as with F40 I had >> multiple problems due to Python incompatibilities, so while I did not try >> (jumped 40->42) I'd imagine the same ones would be in 41. But as you say, >> it is also totally true that the major version brought breaking changes as >> well, absolutely! (but between a broken package and a broken API I'd >> imagine we could go for the latter ;-) ) >> > > Just a short self-follow-up on F41 I've tried just now and ie.: > > Python 3.13.3 (main, Apr 22 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat > 14.2.1-7)] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> import pysnmp > >>> import pysnmp.hlapi > > [...] > File > "/usr/lib/python3.13/site-packages/pysnmp/carrier/asyncore/base.py", line > 9, in <module> > import asyncore > ModuleNotFoundError: No module named 'asyncore' > >>> > > Which points directly to https://peps.python.org/pep-0594/ which removes > asyncore from 3.12 (which is Fedora>=40). This is just the most obvious, > but also carrier is broken in a similar way (ie. if you check > carrier/asyncore/base.py). > I checked why it works for me in F41: although asyncore was removed from the core python package, it is now available separately as "python3-pyasyncore". Once that package is installed, pysnmp works in F41 (at least for my use cases). So probably adding it as dependency to pysnmp in F41 would be a solution. Best regards, Christian
-- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue