Unable to install mypy 2.1 version
```~ $ pip install -U mypy Requirement already satisfied: mypy in ./termux-python/target/lib/python3.14/site-packages (1.19.1) Collecting mypy Using cached mypy-2.1.0-py3-none-any.whl.metadata (2.3 kB) Requirement already satisfied: typing_extensions>=4.6.0 in ./termux-python/target/lib/python3.14/site-packages (from mypy) (4.15.0) Requirement already satisfied: mypy_extensions>=1.0.0 in ./termux-python/target/lib/python3.14/site-packages (from mypy) (1.1.0) Collecting pathspec>=1.0.0 (from mypy) Using cached pathspec-1.1.1-py3-none-any.whl.metadata (14 kB) Collecting librt>=0.11.0 (from mypy) Using cached librt-0.11.0.tar.gz (200 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting ast-serialize<1.0.0,>=0.3.0 (from mypy) Using cached ast_serialize-0.4.0.tar.gz (60 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [7 lines of output] 📦 Including license file `LICENSE` 💥 maturin failed Caused by: Failed to get information from the python interpreter at /data/data/com.termux/files/home/termux-python/target/bin/python Caused by: platform.system() in python, linux, and the rust target, Target { os: Android, arch: Aarch64, env: Android, triple: "aarch64-linux-android", cross_compiling: false, rustc_version: VersionMeta { semver: Version { major: 1, minor: 95, patch: 0 }, commit_hash: Some("59807616e1fa2540724bfbac14d7976d7e4a3860"), commit_date: Some("2026-04-14"), build_date: None, channel: Stable, host: "aarch64-linux-android", short_version_string: "rustc 1.95.0 (59807616e 2026-04-14) (built from a source tarball)", llvm_version: Some(LlvmVersion { major: 21, minor: 1 }) }, user_specified: false }, don't match ಠ_ಠ Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-q3_dy1ly', '--interpreter', '/data/data/com.termux/files/home/termux-python/target/bin/python']' returned non-zero exit status 1. Checking for Rust toolchain.... Running `maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-q3_dy1ly --interpreter /data/data/com.termux/files/home/termux-python/target/bin/python` [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> ast-serialize
note: This is an issue with the package mentioned above, not pip. hint: See above for details.```
How to fix this? I don't want to downgrade.