From b9bb393fdc9937323fbecf4912e5138823fd6d6d Mon Sep 17 00:00:00 2001 From: torlando-tech Date: Tue, 28 Oct 2025 20:43:24 -0400 Subject: [PATCH] fix: remove bleak.__version__ check that fails on some versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bleak doesn't always expose __version__ attribute, causing test failures. Changed to just verify the module can be imported successfully. Fixes: AttributeError: module 'bleak' has no attribute '__version__' 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- tests/test_installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_installer.sh b/tests/test_installer.sh index 0d0e8fb..f1a94fc 100755 --- a/tests/test_installer.sh +++ b/tests/test_installer.sh @@ -71,7 +71,7 @@ echo "" # Check pip packages echo "Checking pip-installed packages..." -python3 -c "import bleak; print(' ✓ bleak version:', bleak.__version__)" || { echo "FAIL: Cannot import bleak"; exit 1; } +python3 -c "import bleak; print(' ✓ bleak imported successfully')" || { echo "FAIL: Cannot import bleak"; exit 1; } python3 -c "import bluezero; print(' ✓ bluezero imported successfully')" || { echo "FAIL: Cannot import bluezero"; exit 1; } echo ""