Merge pull request #802 from zxzxwu/version

Upgrade Python version to 3.10-3.14
This commit is contained in:
zxzxwu
2025-11-07 23:22:07 +08:00
committed by GitHub
11 changed files with 20 additions and 42 deletions

View File

@@ -2370,11 +2370,7 @@ class Device(utils.CompositeEventEmitter):
hci.Address.ANY: []
} # Futures, by BD address OR [Futures] for hci.Address.ANY
# In Python <= 3.9 + Rust Runtime, asyncio.Lock cannot be properly initiated.
if sys.version_info >= (3, 10):
self._cis_lock = asyncio.Lock()
else:
self._cis_lock = AsyncExitStack()
self._cis_lock = asyncio.Lock()
# Own address type cache
self.connect_own_address_type = None