mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-13 06:13:11 +00:00
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>
13 lines
423 B
Diff
13 lines
423 B
Diff
Seems a bug of cmake. Finding `Development` before other components fixes this.
|
|
|
|
--- a/cmake/Dependencies.cmake
|
|
+++ b/cmake/Dependencies.cmake
|
|
@@ -854,6 +854,7 @@
|
|
if(USE_NUMPY)
|
|
list(APPEND PYTHON_COMPONENTS NumPy)
|
|
endif()
|
|
+ find_package(Python COMPONENTS Development)
|
|
find_package(Python COMPONENTS Interpreter OPTIONAL_COMPONENTS ${PYTHON_COMPONENTS})
|
|
else()
|
|
find_package(Python COMPONENTS Interpreter)
|