fix: remove bleak.__version__ check that fails on some versions

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 <noreply@anthropic.com>
This commit is contained in:
torlando-tech 2025-10-28 20:43:24 -04:00
commit b9bb393fdc

View file

@ -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 ""