github doronz88/pymobiledevice3 v10.10.2

latest releases: v11.26.0, v11.25.0, v11.24.0...
one month ago

Highlights

🐛 usbmux connect() no longer hands back a blocking socket

MuxConnection.connect() used to flip the socket back to blocking mode right before returning it — a leftover from the old synchronous API that survived the asyncio migration. Every consumer drives that socket through asyncio, where a blocking socket can stall the entire event loop (and raises ValueError: the socket must be non-blocking in asyncio debug mode). The socket is now returned non-blocking, matching the async contract of MuxDevice.connect(). If you consume this API directly and read from the raw socket synchronously, call sock.setblocking(True) yourself.

🐛 WDA reachability probe no longer leaks its socket

developer wda probes the WDA port through usbmuxd while waiting for the runner to come up; the probe socket (and its usbmuxd connection) was discarded without being closed. It is now closed as soon as the probe succeeds.

What's Changed

Full Changelog: v10.10.1...v10.10.2

Don't miss a new pymobiledevice3 release

NewReleases is sending notifications on new releases.