Running a Python module in Pyto from Run module (python -m) results in an error on iOS < 13. This patch adds a is_watch_script check before importing Lib/watch, as it requires the Lib/widgets module (available in iOS 14+).
A check could be added to Lib/watch.py before importing Lib/widgets to check if the current iOS is supported, but I don’t know how to do that.
Running a Python module in Pyto from
Run module (python -m)
results in an error on iOS < 13. This patch adds ais_watch_script
check before importingLib/watch
, as it requires theLib/widgets
module (available in iOS 14+).A check could be added to
Lib/watch.py
before importingLib/widgets
to check if the current iOS is supported, but I don’t know how to do that.