-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
On android, termux (terminal emulator for android) has recently updated python from 3.12.X -> 3.13.X. this caused UV to produce the following error when trying to run:
$ uv tool install ipython --force
error: Failed to inspect Python interpreter from first executable in the search path at `/data/data/com.termux/files/usr/bin/python`
Caused by: Can't use Python at `/data/data/com.termux/files/usr/bin/python`
Caused by: Unknown operating system: `android`I believe this regression occurs because sys.platform returns 'linux' on python 3.12 but returns 'android' on 3.13. (See notes for https://docs.python.org/3/library/sys.html#sys.platform)
Platform
android
Version
0.9.15
Python version
Python 3.13.12
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working