Skip to content

Commit

Permalink
python-datasets: fix pyarrow_hotfix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hubutui committed May 14, 2024
1 parent 8cfaa0d commit 68dab5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions archlinuxcn/python-datasets/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ makedepends=(
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/huggingface/datasets/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('6dab029dadfbe6346ce954425c1feba2c97c81ad2d18e3de49bd8147a42560d69712b730c9c64824974366bd30821bd94266caa1dc081d00206cfded66bbb95e')

prepare() {
# pyarrow_hotfix is only used for pyarrow < 14.0.1
sed -i "/pyarrow_hotfix/d" "${srcdir}/${_pkgname}-${pkgver}/src/datasets/features/features.py"
sed -i "/pyarrow-hotfix/d" "${srcdir}/${_pkgname}-${pkgver}/setup.py"
}

build() {
cd "${_pkgname}-${pkgver}"
python -m build --wheel --no-isolation
Expand Down
1 change: 0 additions & 1 deletion archlinuxcn/python-datasets/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ update_on:
manual: 1
- alias: python
# vim:set ts=2 sw=2 et:

0 comments on commit 68dab5c

Please sign in to comment.