Skip to content

Optimize kitty graphics detection on platforms (without psutil support) - #15424

Draft
1MLightyears wants to merge 4 commits into
ipython:mainfrom
1MLightyears:main
Draft

1MLightyears wants to merge 4 commits into
ipython:mainfrom
1MLightyears:main

Conversation

@1MLightyears

Copy link
Copy Markdown

E.g. Android/Termux platform can now use /proc/self to find parent shell. psutil is not fully supported on Android/Termux, so it is not a hard dependency on it now.
For platforms that definitely provide no /proc, such as Windows, an early exit is prepared.

Resolves #15422 .

1MLightyears and others added 2 commits October 8, 2026 18:09
E.g. Android/Termux platform can now use `/proc/self` to find parent
shell. psutil is not fully supported on Android/Termux, so it is not
a hard dependency on it now.
For platforms that definitely provide no `/proc`, such as Windows,
an early exit is prepared.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoid treating psutil as a hard requirement on Termux

1 participant