-
-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call for your help to revive the PySNMP ecosystem together #429
Comments
This was referenced Nov 11, 2022
Open
This was referenced Nov 21, 2022
This was referenced Jan 19, 2023
mweinelt
added a commit
to mweinelt/nixpkgs
that referenced
this issue
Sep 1, 2024
https://github.com/lextudio/pysnmp/blob/v6.2.5/CHANGES.rst etingof/pysnmp#429 Promotes the lextudio fork to the the primary pysnmp package.
mweinelt
added a commit
to mweinelt/nixpkgs
that referenced
this issue
Sep 1, 2024
https://github.com/lextudio/pysnmp/blob/v6.2.5/CHANGES.rst etingof/pysnmp#429 Promotes the lextudio fork to the the primary pysnmp package.
dotlambda
pushed a commit
to NixOS/nixpkgs
that referenced
this issue
Sep 2, 2024
https://github.com/lextudio/pysnmp/blob/v6.2.5/CHANGES.rst etingof/pysnmp#429 Promotes the lextudio fork to the the primary pysnmp package.
This was referenced Sep 2, 2024
dotlambda
pushed a commit
to NixOS/nixpkgs
that referenced
this issue
Sep 4, 2024
https://github.com/lextudio/pysnmp/blob/v6.2.5/CHANGES.rst etingof/pysnmp#429 Promotes the lextudio fork to the the primary pysnmp package.
dotlambda
pushed a commit
to NixOS/nixpkgs
that referenced
this issue
Sep 4, 2024
https://github.com/lextudio/pysnmp/blob/v6.2.5/CHANGES.rst etingof/pysnmp#429 Promotes the lextudio fork to the the primary pysnmp package.
Closed
With Simon's help, we are now redirecting visitors from https://pysnmp.readthedocs.io/ to https://www.pysnmp.com, which is another milestone to consolidate community resources. |
Bastian-Krause
added a commit
to Bastian-Krause/labgrid
that referenced
this issue
Oct 10, 2024
pysnmp depends on pyasn1. `pyasn1.compat.octets` was removed in pyasn1 0.6.1 [1] leading to ModuleNotFoundErrors in labgrid's "eaton" and "poe_mib" power backends: _______________ TestNetworkPowerDriver.test_import_backend_eaton _______________ self = <test_powerdriver.TestNetworkPowerDriver object at 0x7f84794bfdd0> def test_import_backend_eaton(self): pytest.importorskip("pysnmp") > import labgrid.driver.power.eaton tests/test_powerdriver.py:295: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ labgrid/driver/power/eaton.py:2: in <module> from ...util.snmp import SimpleSNMP labgrid/util/snmp.py:1: in <module> from pysnmp import hlapi /opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/pysnmp/hlapi/__init__.py:7: in <module> from pysnmp.proto.rfc1902 import * /opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/pysnmp/proto/rfc1902.py:8: in <module> from pysnmp.proto import rfc1155, error /opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/pysnmp/proto/rfc1155.py:10: in <module> from pysnmp.proto import error /opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/pysnmp/proto/error.py:9: in <module> from pysnmp import debug _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # This file is part of pysnmp software. # # Copyright (c) 2005-2019, Ilya Etingof <[email protected]> # License: https://www.pysnmp.com/pysnmp/license.html # import logging > from pyasn1.compat.octets import octs2ints E ModuleNotFoundError: No module named 'pyasn1.compat.octets' /opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/pysnmp/debug.py:8: ModuleNotFoundError ______________ TestNetworkPowerDriver.test_import_backend_poe_mib ______________ self = <test_powerdriver.TestNetworkPowerDriver object at 0x7f84794bd910> def test_import_backend_poe_mib(self): pytest.importorskip("pysnmp") > import labgrid.driver.power.poe_mib tests/test_powerdriver.py:307: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ labgrid/driver/power/poe_mib.py:4: in <module> from ...util.snmp import SimpleSNMP labgrid/util/snmp.py:1: in <module> from pysnmp import hlapi /opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/pysnmp/hlapi/__init__.py:7: in <module> from pysnmp.proto.rfc1902 import * /opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/pysnmp/proto/rfc1902.py:8: in <module> from pysnmp.proto import rfc1155, error /opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/pysnmp/proto/rfc1155.py:10: in <module> from pysnmp.proto import error /opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/pysnmp/proto/error.py:9: in <module> from pysnmp import debug _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # # This file is part of pysnmp software. # # Copyright (c) 2005-2019, Ilya Etingof <[email protected]> # License: https://www.pysnmp.com/pysnmp/license.html # import logging > from pyasn1.compat.octets import octs2ints E ModuleNotFoundError: No module named 'pyasn1.compat.octets' /opt/hostedtoolcache/Python/3.12.5/x64/lib/python3.12/site-packages/pysnmp/debug.py:8: ModuleNotFoundError The issue is documented upstream [2]. [3] limited the pysnmp version to <6. pysnmp 6.1.4, 6.2.6, and 7.1.0 are not affected. Limit compatible pyasn1 versions to <0.6.1 until [5] switches labgrid to pysnmp's asyncio API, thereby dropping the upper bound introduced by [3]. While at it, switch from "pysnmp-lextudio" to "pysnmp". The original author of pysnmp passed away and the lextudio folks took over maintenanc. While the request to take over the pysnmp PyPi project was pending, the maintained fork was called pysnmp-lextudio (see labgrid-project#1186, aa2549c). Now that the migration is complete, let's move back to the original package name. See: [6] [1] https://github.com/pyasn1/pyasn1/releases/tag/v0.6.1 [2] pyasn1/pyasn1#76 [3] labgrid-project#1332 [4] lextudio/pysnmp#113 (comment) [5] labgrid-project#1497 [6] etingof/pysnmp#429 Signed-off-by: Bastian Krause <[email protected]>
1 task
This was referenced Oct 23, 2024
This was referenced Oct 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
PySNMP ecosystem has been idle ever since 2020, and while many repos were forked by different parties, none of the authors showed a plan to completely take over the ecosystem as a whole and bring the repos forward,
pyasn1*
. https://pyasn1.readthedocs.io/ was set up and matches the new releases.As Ilya passed away (#427), I think it is more important than ever to regroup all parties under the same banner.
My company LeXtudio Inc. has been active in SNMP field for more than a decade now, mainly focusing on its .NET ecosystem. But some clients asked if we can support PySNMP for them, so we asked ourselves why not take the lead to revive PySNMP.
Migration Plan
Forked all related repos under a single place (currently all under https://github.com/lextudio)
Set up a new documentation site (https://www.pysnmp.com) with up-to-date information.
Published new releases of the Python packages with postfix. (Don't use them now, and switch to PySNMP packages without postfix.)
Set up a new SNMP Simulator instance (demo.pysnmp.com) as documented here
Set up MIB site (https://mibs.pysnmp.com) based on this
Integrated with https://github.com/pyasn1.
Added unit test coverage to help reveal new/known bugs and ensure patches work as expected.
Added compatibility test to support all major Python releases (3.8+, in Feb 2024)
(in-progress) Help downstream projects upgrade to 6.0 releases (OpenStack, Home Assistant, etc).
PEP 541 request was fired to take over the remaining 11 PyPI packages (
pysnmp*
/pysmi
/snmp*
) from Ilya.(in-progress) Review and cherry pick all existing patches (2020-2022)
(in-progress) Review and close most existing issues reported (2020-2022), tracked in Tracker of etingof/pysnmp opened issues lextudio/pysnmp#4
Updated the PyPI packages created by Ilya after the PEP 541 request approval. (These are the recommended packages to use)
In the long run, LeXtudio Inc. plans to work with key stakeholders (projects that depend on pysnmp) and sponsors to set up the governing rules around the repos. Ideally there should be a PySNMP organization that supervises the development.
Known Projects Switched to LeXtudio Fork
This is not a complete list but can show you the momentum.
You Can Help
What help is needed from you?
The text was updated successfully, but these errors were encountered: