Skip to content

Commit

Permalink
Bumped the version.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Oct 13, 2024
1 parent 2334846 commit dd1c1f8
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 11 deletions.
9 changes: 9 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
Revision 7.1.6, released on Oct 12, 2024
----------------------------------------

- Method names are revised to be PEP 8 compliant. Compatibility layer is
added to support most of the old method names, but will be removed in the
next major release, 8.0.
- Python 3.8 support is dropped.
- Python 3.13 support is added.

Revision 7.1.5, released on Oct 06, 2024
----------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ We provide security updates for each version until its End-of-Life (EOL) date. B

| Version | Latest Release | End of Life | Notes |
| ------- | -------------- | ----------- | ---------------------------------- |
| 7.1 | 7.1.5 | TBD | EOL to be determined |
| 7.1 | 7.1.6 | TBD | EOL to be determined |
| 7.0 | 7.0.4 | 2025-03-11 | Supported for 6 months after 7.1.0 |
| 6.2 | 6.2.6 | 2025-08-22 | Supported for 1 year after 7.0.0 |
| 6.1 | 6.1.4 | 2025-01-12 | Supported for 6 months after 6.2.0 |
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
# built documents.
#
# The full version, including alpha/beta/rc tags.
release = "7.1.5"
release = "7.1.6"
# The short X.Y version.
version = ".".join(release.split(".")[:2])

Expand Down
2 changes: 1 addition & 1 deletion docs/source/docs/api-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ Community-based
+++++++++++++++

Security Parameters object is Security Model specific. The
:py:class:`~pysnmp.hlapi.v1arch.CommunityData`
:py:class:`~pysnmp.hlapi.v1arch.asyncio.CommunityData`
class is used for configuring Community-Based Security Model of SNMPv1/SNMPv2c.

.. toctree::
Expand Down
9 changes: 7 additions & 2 deletions docs/source/upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ releases from old releases such as 4.x and 5.x.
is the time to remove them and switch to the official PySNMP packages,
which are maintained by LeXtudio Inc. as well.

We will keep the ``-lextudio`` packages for a while to ensure a smooth
transition for users who are still using them.
We already deprecated the ``-lextudio`` packages so users must migrate
to the official packages as soon as possible.

Upgrade to 5.x Releases
-----------------------
Expand Down Expand Up @@ -162,6 +162,7 @@ The goals are

- Adapt to async DNS queries.
- Rework on GET NEXT and GET BULK related API surface.
- Apply more PEP 8 required changes.

Breaking changes are

Expand All @@ -172,6 +173,10 @@ Breaking changes are
- ``next_cmd`` and ``bulk_cmd`` parameters and return types are revised.
- ``walk_cmd`` and ``bulk_walk_cmd`` are updated accordingly.
- Dropped Python 3.8 support.
- Due to method name changes to meet PEP 8, old names are marked as
deprecated. While most of them are still working due to the compatibility
layer, you should switch to the new names as soon as possible. **The
compatibility layer will be removed in the next major release, 8.0.**

Related Resources
-----------------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pysnmp"
version = "7.1.5"
version = "7.1.6"
description = "A Python library for SNMP"
authors = ["Ilya Etingof <etingof@gmail.com>", "LeXtudio Inc. <support@lextudio.com>"]
license = "BSD-2-Clause"
Expand Down
2 changes: 1 addition & 1 deletion pysnmp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- For backward compatibility, if the version string contains "beta", the string part is removed before converting to a tuple.
"""
# http://www.python.org/dev/peps/pep-0396/
__version__ = "7.1.5"
__version__ = "7.1.6"
# another variable is required to prevent semantic release from updating version in more than one place
main_version = __version__
# backward compatibility
Expand Down
8 changes: 4 additions & 4 deletions pysnmp/hlapi/v1arch/asyncio/cmdgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async def get_cmd(
Class instance representing asynio-based asynchronous event loop and
associated state information.
authData: :py:class:`~pysnmp.hlapi.v1arch.CommunityData`
authData: :py:class:`~pysnmp.hlapi.v1arch.asyncio.CommunityData`
Class instance representing SNMPv1/v2c credentials.
transportTarget: :py:class:`~pysnmp.hlapi.v1arch.asyncio.UdpTransportTarget` or
Expand Down Expand Up @@ -190,7 +190,7 @@ async def set_cmd(
Class instance representing asynio-based asynchronous event loop and
associated state information.
authData: :py:class:`~pysnmp.hlapi.v1arch.CommunityData`
authData: :py:class:`~pysnmp.hlapi.v1arch.asyncio.CommunityData`
Class instance representing SNMPv1/v2c credentials.
transportTarget: :py:class:`~pysnmp.hlapi.v1arch.asyncio.UdpTransportTarget` or
Expand Down Expand Up @@ -321,7 +321,7 @@ async def next_cmd(
Class instance representing asynio-based asynchronous event loop and
associated state information.
authData: :py:class:`~pysnmp.hlapi.v1arch.CommunityData`
authData: :py:class:`~pysnmp.hlapi.v1arch.asyncio.CommunityData`
Class instance representing SNMPv1/v2c credentials.
transportTarget: :py:class:`~pysnmp.hlapi.v1arch.asyncio.UdpTransportTarget` or
Expand Down Expand Up @@ -471,7 +471,7 @@ async def bulk_cmd(
Class instance representing asynio-based asynchronous event loop and
associated state information.
authData: :py:class:`~pysnmp.hlapi.v1arch.CommunityData`
authData: :py:class:`~pysnmp.hlapi.v1arch.asyncio.CommunityData`
Class instance representing SNMPv1/v2c credentials.
transportTarget: :py:class:`~pysnmp.hlapi.v1arch.asyncio.UdpTransportTarget` or
Expand Down

0 comments on commit dd1c1f8

Please sign in to comment.