github doronz88/pymobiledevice3 v11.1.2

latest releases: v11.27.2, v11.27.1, v11.27.0...
one month ago

Highlights

🐛 Test suite green again on Windows

The four tests added in v11.1.1 for the native tunnel's root-domain retargeting monkeypatched os.geteuid, which is POSIX-only and does not exist on Windows. Importing pymobiledevice3.remote.native_tunnel there is legal — the module is only useful on macOS, but nothing stops it being imported — so the tests failed on the Windows runner:

AttributeError: <module 'os' (frozen)> has no attribute 'geteuid'

Root detection now probes for the attribute in an _is_root() helper rather than calling it blind, and the tests let setattr create it.

This was a test-only failure — the v11.1.1 wheel is not broken on Windows. native_target_uid() is reachable only from the macOS-only native paths, which raise UserspaceTunnelUnavailableError off Darwin long before they get there. Upgrading from v11.1.1 is only worthwhile if you run the test suite yourself.

What's Changed

Full Changelog: v11.1.1...v11.1.2

Don't miss a new pymobiledevice3 release

NewReleases is sending notifications on new releases.