Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / tensorflow
Commits: b7552b00 by loqs at 2024-10-12T16:36:55+00:00 Remove python packages from makedepends Bazel hermetic python build only uses python itself. python-installer is needed to install the generated wheel in $pkgdir. Implements https://gitlab.archlinux.org/archlinux/packaging/packages/tensorflow/-/issues/15. - - - - - e90f2e17 by loqs at 2024-10-12T16:51:16+00:00 Remove dependencies on python-keras-applications python-keras-preprocessing Both packages were moved into python-keras and tensorflow. https://github.com/keras-team/keras-applications/commit/06fbeb0f16e1304f239b2296578d1c50b15a983a https://github.com/keras-team/keras-preprocessing/commit/3e380065d4afc7347aaee8d89325a16b22158438 Related https://gitlab.archlinux.org/archlinux/packaging/packages/python-keras/-/merge_requests/1. - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -14,9 +14,8 @@ license=('APACHE') arch=('x86_64') depends=('c-ares' 'pybind11' 'openssl' 'libpng' 'curl' 'giflib' 'icu' 'libjpeg-turbo' 'intel-oneapi-openmp' 'intel-oneapi-compiler-shared-runtime-libs') -makedepends=('bazel' 'python-numpy' 'cuda' 'nvidia-utils' 'nccl' 'git' 'cudnn' 'python-wheel' 'openmp' - 'python-installer' 'python-setuptools' 'python-h5py' 'python-keras-applications' - 'python-keras-preprocessing' 'cython' 'patchelf' 'python-requests' 'libxcrypt-compat' 'clang' 'lld') +makedepends=('bazel' 'cuda' 'nvidia-utils' 'nccl' 'git' 'cudnn' 'openmp' + 'python-installer' 'patchelf' 'libxcrypt-compat' 'clang' 'lld') optdepends=('tensorboard: Tensorflow visualization toolkit') source=("$pkgname-$pkgver.tar.gz::https://github.com/tensorflow/tensorflow/archive/v${_pkgver}.tar.gz" https://github.com/tensorflow/tensorflow/commit/13ea77ab753dc0e3bae6b92777cd835e464b26e7.patch @@ -30,10 +29,9 @@ sha512sums=('e7d9802d443f7c6abf8a2490f4ce86b5a9f583071b7b6bda7f944a621859e6075bd 'd3789f0ecd354468f2e24d98501041430ae99c173320fa9c3eb02f225c08ed298fd1ad259e4ad9bb70b6ae89d84cd87460aaa720de3486d40b30777a8fe45453') # consolidate common dependencies to prevent mishaps -_common_py_depends=(python-termcolor python-astor python-gast python-numpy python-protobuf - absl-py python-h5py python-keras python-keras-applications python-keras-preprocessing - python-tensorflow-estimator python-opt_einsum python-astunparse python-pasta - python-flatbuffers python-typing_extensions python-ml-dtypes) +_common_py_depends=(python-termcolor python-astor python-gast python-numpy python-protobuf absl-py + python-h5py python-keras python-tensorflow-estimator python-opt_einsum + python-astunparse python-pasta python-flatbuffers python-typing_extensions python-ml-dtypes) get_pyver () { python -c 'import sys; print(str(sys.version_info[0]) + "." + str(sys.version_info[1]))' View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/tensorflow/-/compare/b3839512f719fc7a36de1c6239bfedaaa9dba48d...e90f2e17368c7014f867ca335eebee665afcfe10 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/tensorflow/-/compare/b3839512f719fc7a36de1c6239bfedaaa9dba48d...e90f2e17368c7014f867ca335eebee665afcfe10 You're receiving this email because of your account on gitlab.archlinux.org.