Package Details: python-polars-bin 0.20.31-1

Git Clone URL: https://aur.archlinux.org/python-polars-bin.git (read-only, click to copy)
Package Base: python-polars-bin
Description: Blazingly fast DataFrames library using Apache Arrow Columnar Format as memory model
Upstream URL: https://www.pola.rs/
Licenses: MIT
Conflicts: python-polars
Provides: python-polars
Submitter: gyscos
Maintainer: gyscos
Last Packager: gyscos
Votes: 1
Popularity: 0.35
First Submitted: 2022-06-09 18:13 (UTC)
Last Updated: 2024-06-18 13:51 (UTC)

Dependencies (7)

Required by (3)

Sources (2)

Pinned Comments

gyscos commented on 2023-09-16 23:33 (UTC) (edited on 2024-06-02 18:00 (UTC) by gyscos)

PSA: The LICENSE file content changed (they added a missing trailing newline) without changing the name in the PKGBUILD's source array.

Some AUR helpers (like paru, maybe some others?) may keep a build cache, see an existing LICENSE file, decide not to download it again, and fail the integrity check.

This is really a paru/makepkg bug, but you can work around this by deleting the previous LICENSE file from the cache (for example rm ~/.cache/paru/clone/python-polars-bin/LICENSE).

This may happen again in the future. Pinning this post.

gyscos commented on 2022-11-14 14:37 (UTC)

This is the pre-compiled version of python-polars. Similar to pip install polars.

Latest Comments

iago-lito commented on 2024-06-04 19:37 (UTC)

@gyscos I hadn't because I didn't figure it was the same problem. Indeed, uninstalling the package, running paru -Sc then installing it again did solve the problem. Sorry for the noise.

gyscos commented on 2024-06-04 16:33 (UTC)

@iago-lito: have you tried removing this LICENSE file, as described in the sticky post?

iago-lito commented on 2024-06-04 16:26 (UTC)

I have been unable to install/update this package for a few weeks now.

$ paru -S python-polars-bin
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1) python-polars-bin-0.20.31-1

:: Proceed to review? [Y/n]:

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
:: Accept changes? [Y/n]:
fetching devel info...
==> Making package: python-polars-bin 0.20.31-1 (Tue 04 Jun 2024 06:25:15 PM CEST)
==> Retrieving sources...
  -> Found polars-0.20.31-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  -> Found LICENSE
==> Validating source files with b2sums...
    polars-0.20.31-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl ... Passed
    LICENSE ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'python-polars-bin-0.20.31-1':
error: packages failed to build: python-polars-bin-0.20.31-1

Are the required resources still online?

prosoitos commented on 2024-06-03 15:36 (UTC)

Thank you gyscos for this information. Much appreciated.

gyscos commented on 2024-06-02 17:57 (UTC) (edited on 2024-06-02 18:00 (UTC) by gyscos)

The problem is most likely a previous LICENSE file remaining. In this case makepkg does not attempt to re download it (even though the file should be different), and just fails the checksums.

Running updpkgsums updates the PKGBUILD to look for the old version, which works but ends up in the outdated file being packaged.

Another solution is to manually remove the old LICENSE file, forcing makepkg to re download it.

On a fresh checkout (for example paru -G python-polars-bin) this currently builds fine. makepkg -sirc does not remove (outdated) sources.

prosoitos commented on 2024-06-02 17:52 (UTC)

License issue also when building with makepkg -sirc.

Solved by running updpkgsums.

gyscos commented on 2023-09-16 23:33 (UTC) (edited on 2024-06-02 18:00 (UTC) by gyscos)

PSA: The LICENSE file content changed (they added a missing trailing newline) without changing the name in the PKGBUILD's source array.

Some AUR helpers (like paru, maybe some others?) may keep a build cache, see an existing LICENSE file, decide not to download it again, and fail the integrity check.

This is really a paru/makepkg bug, but you can work around this by deleting the previous LICENSE file from the cache (for example rm ~/.cache/paru/clone/python-polars-bin/LICENSE).

This may happen again in the future. Pinning this post.

petrus7 commented on 2023-08-25 10:38 (UTC)

This fails in validating phase:

==> Validating source files with b2sums...
    polars-0.18.13-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl ... Passed
    LICENSE ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'python-polars-bin-0.18.13-1': 
error: packages failed to build: python-polars-bin-0.18.13-1

Also it is out of date, the latest wheel is polars 0.18.15 on pypi.

gyscos commented on 2022-11-14 14:37 (UTC)

This is the pre-compiled version of python-polars. Similar to pip install polars.