From 33f631c7eddf14f375192e8b6e5b2ead970fabad Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sat, 12 Oct 2024 23:56:29 -0400 Subject: [PATCH] Bumped the version. --- CHANGES.rst | 9 +++++++++ SECURITY.md | 2 +- docs/source/conf.py | 2 +- docs/source/upgrade.rst | 9 +++++++-- pyproject.toml | 2 +- pysnmp/__init__.py | 2 +- 6 files changed, 20 insertions(+), 6 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index df79bd90..8d77731c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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 ---------------------------------------- diff --git a/SECURITY.md b/SECURITY.md index 25d0cd75..eb546d42 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -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 | diff --git a/docs/source/conf.py b/docs/source/conf.py index 4f906a05..4c620d65 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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]) diff --git a/docs/source/upgrade.rst b/docs/source/upgrade.rst index 2205ce8f..5f89f5bd 100644 --- a/docs/source/upgrade.rst +++ b/docs/source/upgrade.rst @@ -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 ----------------------- @@ -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 @@ -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 ----------------- diff --git a/pyproject.toml b/pyproject.toml index d83dc3e4..1fd3e3a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 ", "LeXtudio Inc. "] license = "BSD-2-Clause" diff --git a/pysnmp/__init__.py b/pysnmp/__init__.py index ddf2635d..1fa20b81 100644 --- a/pysnmp/__init__.py +++ b/pysnmp/__init__.py @@ -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