From c63d86db3502af6f71e793ec991309721e94fe1c Mon Sep 17 00:00:00 2001 From: Jeff Quast Date: Fri, 27 Feb 2026 20:07:54 -0500 Subject: [PATCH 1/2] bugfix wcwidth version dependency --- docs/history.rst | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/history.rst b/docs/history.rst index cb068d8..e4b480f 100644 --- a/docs/history.rst +++ b/docs/history.rst @@ -1,6 +1,7 @@ History ======= 2.6.0 + * bugfix: dependency of wcwidth version. * new: TLS support (TELNETS). :func:`~telnetlib3.client.open_connection` accepts an ``ssl`` parameter (``True``, or an :class:`ssl.SSLContext`). :func:`~telnetlib3.server.create_server` accepts an ``ssl`` parameter diff --git a/pyproject.toml b/pyproject.toml index 53af060..b1a1c01 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ classifiers = [ ] requires-python = ">=3.9" dependencies = [ - "wcwidth>=0.2.13", + "wcwidth>=0.6.0", ] [project.optional-dependencies] From 5a1687b759896ff85b2de29dfd2505c67d6aa153 Mon Sep 17 00:00:00 2001 From: Jeff Quast Date: Fri, 27 Feb 2026 20:11:20 -0500 Subject: [PATCH 2/2] stamp for 2.6.1 --- docs/conf.py | 2 +- docs/history.rst | 4 +++- pyproject.toml | 2 +- telnetlib3/accessories.py | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index c8b44ea..27dca50 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -71,7 +71,7 @@ version = "2.6" # The full version, including alpha/beta/rc tags. -release = "2.6.0" # keep in sync with pyproject.toml and telnetlib3/accessories.py !! +release = "2.6.1" # keep in sync with pyproject.toml and telnetlib3/accessories.py !! # The language for content auto-generated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/history.rst b/docs/history.rst index e4b480f..f816df6 100644 --- a/docs/history.rst +++ b/docs/history.rst @@ -1,7 +1,9 @@ History ======= -2.6.0 +2.6.1 * bugfix: dependency of wcwidth version. + +2.6.0 * new: TLS support (TELNETS). :func:`~telnetlib3.client.open_connection` accepts an ``ssl`` parameter (``True``, or an :class:`ssl.SSLContext`). :func:`~telnetlib3.server.create_server` accepts an ``ssl`` parameter diff --git a/pyproject.toml b/pyproject.toml index b1a1c01..1db59d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "telnetlib3" -version = "2.6.0" +version = "2.6.1" description = " Python Telnet server and client CLI and Protocol library" readme = "README.rst" license = "ISC" diff --git a/telnetlib3/accessories.py b/telnetlib3/accessories.py index 7e43c44..a73071b 100644 --- a/telnetlib3/accessories.py +++ b/telnetlib3/accessories.py @@ -42,7 +42,7 @@ def get_version() -> str: """Return the current version of telnetlib3.""" - return "2.6.0" # keep in sync with pyproject.toml and docs/conf.py !! + return "2.6.1" # keep in sync with pyproject.toml and docs/conf.py !! def encoding_from_lang(lang: str) -> Optional[str]: