Update to numpy 2, and update reverse dependencies:
- matplotlib from 3.9.1 to 3.9.2
- python-contourpy from 1.2.1 to 1.3.0
- python-numpy from 1.26.5 to 2.1.1
- python-onnxruntime from 1.19.0 to 1.19.2
- python-scipy from 1.14.0 to 1.14.1
- python-torch from 2.1.2 to 2.4.1
- python-torchaudio from 2.0.1 to 2.4.1
- python-torchvision from 0.15.1 to `0.19.1
- Revbump: python-pyarrow, inkscape and opencv
Some of these packages does not currently build before this PR. Getting these updated and buildable is a nice step to prepare for [python 3.12](https://github.com/termux/termux-packages/pull/18078).
Fixes#21059, #21110, #21194 and #21284.
Co-authored-by: Chongyun Lee <45286352+licy183@users.noreply.github.com>
* Remove the setup.py.diff file because the version is set by the build module.
* Remove generating _generated_version.py file in post make install step because
that file is generated by build procedure automatically.
`libarrow_python.so` is now a part of `pyarrow` Python module and unable
to build / install separately. It is true that `pyarrow` is installable
through `pip` with some trivial workaround, but I would like to package
this in our official repo for backward compatibility.