Skip to content

Harden Windows BLE deps and publish release gates#37

Merged
ilouzl merged 1 commit into
developfrom
fix/publish-release-mitigations
Jul 12, 2026
Merged

Harden Windows BLE deps and publish release gates#37
ilouzl merged 1 commit into
developfrom
fix/publish-release-mitigations

Conversation

@ilouzl

@ilouzl ilouzl commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Pin Windows to bleak==0.22.3 and explicit bleak-winrt==1.2.0, and fail fast with clear errors if platform BLE backends are missing instead of silently binding symbols to None.
  • Strengthen cross-platform tests so CI catches silently disabled BLE backends before release.
  • Add twine check plus wheel/sdist smoke tests to the publish workflow, and set long_description_content_type so PyPI metadata validates cleanly.

Follow-up to #34 after Bugbot review findings.

Test plan

  • Confirm CI matrix is green on Linux/macOS/Windows
  • Confirm Windows install resolves bleak==0.22.3 and bleak-winrt==1.2.0
  • Confirm tests/test_cross_platform.py fails if WinRT/CoreBluetooth imports are missing
  • Dry-run publish job steps locally: python -m build, twine check dist/*, install wheel/sdist in a clean venv and import TapSDK

Pin bleak/bleak-winrt for Windows, fail fast on missing backend imports, strengthen cross-platform tests, and smoke-test built artifacts before PyPI upload.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ilouzl ilouzl merged commit 633055d into develop Jul 12, 2026
9 checks passed
@ilouzl ilouzl deleted the fix/publish-release-mitigations branch July 12, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant