From b69c2917a0d77295770b9064f5879eab980038d9 Mon Sep 17 00:00:00 2001 From: YASoftwareDev Date: Mon, 30 Mar 2026 13:41:47 +0200 Subject: [PATCH 1/2] fix: use dpkg-query for libportaudio detection in install.sh ldconfig -p reads a pre-built cache that may be stale after package install, causing false "not found" warnings. Replace with dpkg-query as the primary check (authoritative on Debian/Ubuntu), falling back to ldconfig -p on non-Debian systems. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 7529986..297e04b 100755 --- a/install.sh +++ b/install.sh @@ -25,7 +25,7 @@ fi source "${VENV_PATH}/bin/activate" uv pip install -e ".[test]" -if ! ldconfig -p 2> /dev/null | grep -q 'libportaudio'; then +if ! { dpkg-query -W -f='${Status}' libportaudio2 2>/dev/null | grep -q 'install ok installed' || ldconfig -p 2>/dev/null | grep -q 'libportaudio'; }; then echo "" >&2 echo "Warning: libportaudio2 not found on this system." >&2 echo " Install it with: sudo apt-get install libportaudio2" >&2 From c6cfd3c0d8d26babbed2004a06b2c6ef8d6d7743 Mon Sep 17 00:00:00 2001 From: YASoftwareDev Date: Mon, 30 Mar 2026 14:08:38 +0200 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20bump=20version=203.2.9=20=E2=86=92?= =?UTF-8?q?=203.2.10;=20update=20changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 9 +++++++++ tts_client_python/VERSION.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bf07b0..3186421 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Techmo TTS gRPC Python client Changelog +## [3.2.10] - 2026-03-30 + +### Fixed + +- `install.sh`: replace `ldconfig -p` with `dpkg-query` as the primary check for `libportaudio2`. + Fixes false "not found" warning when the library is installed but the linker cache is stale. + Falls back to `ldconfig -p` on non-Debian systems. + + ## [3.2.9] - 2026-03-30 ### Changed diff --git a/tts_client_python/VERSION.py b/tts_client_python/VERSION.py index 7107643..163b89e 100644 --- a/tts_client_python/VERSION.py +++ b/tts_client_python/VERSION.py @@ -1 +1 @@ -TTS_CLIENT_PYTHON_VERSION = "3.2.9" +TTS_CLIENT_PYTHON_VERSION = "3.2.10"