From 6ac13e3c5c0d4f0450cb2f4fa390d98a7d9db470 Mon Sep 17 00:00:00 2001 From: semuadmin <28569967+semuadmin@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:29:03 +0000 Subject: [PATCH] update to 1.1.6 --- .vscode/settings.json | 2 +- RELEASE_NOTES.md | 8 +++++++- pyproject.toml | 2 +- src/pygnssutils/_version.py | 2 +- src/pygnssutils/gnssntripclient.py | 3 +-- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index a320942..8fc9fa4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,5 +5,5 @@ "python.defaultInterpreterPath": "python3", "modulename": "${workspaceFolderBasename}", "distname": "${workspaceFolderBasename}", - "moduleversion": "1.1.5" + "moduleversion": "1.1.6" } \ No newline at end of file diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 5245743..95cdef3 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,10 +1,16 @@ # pygnssutils Release Notes +### RELEASE 1.1.6 + +FIXES: + +1. Remove print() statement. + ### RELEASE 1.1.5 ENHANCEMENTS: -1. Streamline gnssntripclient and improve exit handling when invoked via PyGPSClient. +1. Enhance gnssntripclient exit and exception handling - Fixes #98. ### RELEASE 1.1.4 diff --git a/pyproject.toml b/pyproject.toml index 174f8c1..282d57f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "pygnssutils" authors = [{ name = "semuadmin", email = "semuadmin@semuconsulting.com" }] maintainers = [{ name = "semuadmin", email = "semuadmin@semuconsulting.com" }] description = "GNSS Command Line Utilities" -version = "1.1.5" +version = "1.1.6" license = { file = "LICENSE" } readme = "README.md" requires-python = ">=3.9" diff --git a/src/pygnssutils/_version.py b/src/pygnssutils/_version.py index 3c5f596..075d1e7 100644 --- a/src/pygnssutils/_version.py +++ b/src/pygnssutils/_version.py @@ -8,4 +8,4 @@ :license: BSD 3-Clause """ -__version__ = "1.1.5" +__version__ = "1.1.6" diff --git a/src/pygnssutils/gnssntripclient.py b/src/pygnssutils/gnssntripclient.py index bfe06ff..2942c13 100644 --- a/src/pygnssutils/gnssntripclient.py +++ b/src/pygnssutils/gnssntripclient.py @@ -295,7 +295,7 @@ def _read_thread( self._sleepevent.wait(self._retryinterval * (2**self._retrycount)) self._close_connection(sock) - self.logger.debug("exiting read thread") + self.logger.debug("Socket connection closed") def _open_connection(self, settings: dict) -> socket: """ @@ -465,7 +465,6 @@ def _parse_response_header(self, data: bytes) -> bytes: hdr, bdy = hdrbdy # some legacy casters use cp1250 rather than utf-8 hdr = hdr.decode(errors="backslashreplace").split("\r\n") - print("HDR:-", hdr, hdr[0]) status = hdr[0].split(" ", 3) self._response_status = { "protocol": status[0],