To reproduce:
- Go to https://inspector.pypi.io/project/deno/2.7.4/packages/c6/7c/33be6934ee31e4d2ff5b23d8ebf34c8b5170d8ec134bb033bee7b75c9573/deno-2.7.4-py3-none-manylinux_2_27_x86_64.whl/
- Click on
./deno-2.7.4.data/scripts/deno link there.
- After ~12-second wait, see the issue.
For comparison, inspecting e.g. uv works fine(ish):
- Go to https://inspector.pypi.io/project/uv/0.10.9/packages/79/34/b104c413079874493eed7bf11838b47b697cf1f0ed7e9de374ea37b4e4e0/uv-0.10.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/
- Click on
./uv-0.10.9.data/scripts/uv
- See it returns "Binary files are not supported.", albeit after taking ~7 seconds to do it.
It seems that the fix for #6 isn't perfect and can still take a while before actually getting the UnicodeDecodeError.