Package Details: python-imageio 2.36.1-2

Git Clone URL: https://aur.archlinux.org/python-imageio.git (read-only, click to copy)
Package Base: python-imageio
Description: a Python library that provides an easy interface to read and write a wide range of image data
Upstream URL: https://github.com/imageio/imageio
Licenses: BSD
Submitter: Francois_B
Maintainer: leomao
Last Packager: leomao
Votes: 32
Popularity: 1.60
First Submitted: 2015-07-08 00:42 (UTC)
Last Updated: 2024-12-09 13:40 (UTC)

Latest Comments

1 2 3 4 Next › Last »

Archy09 commented on 2024-12-09 12:44 (UTC) (edited on 2024-12-09 12:50 (UTC) by Archy09)

@leomao you could modify the pkgbuild so the rm and rmdir is conditional

leomao commented on 2024-12-03 18:09 (UTC)

It sounds like python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl doesn't install those binaries on your system. FWICT, those are scripts generated according to console_scripts: https://github.com/imageio/imageio/blob/548747433cb1122d385605553cf81599c83b6e6a/setup.py#L151

It is possible to make the cleanup part ignore that kind of error. However, I think the expected files should not be different...

As a workaround, you can just do what you did to get a update-to-date package for your system. I will research this problem in my spare time.

If you (or anyone) figure out the root cause, feel free to tell me so I can fix the PKGBUILD.

Archy09 commented on 2024-12-03 15:24 (UTC)

@leomao

Still same error,

I modified the PKGBUILD, I removed line 31, I then get: rmdir: failed to remove '/home/cinnamon/python-imageio/pkg/python-imageio/usr/bin': No such file or directory

and if I then remove line 32 to remove that error it just works, I don't know if this error is only on my system...

leomao commented on 2024-12-03 12:23 (UTC) (edited on 2024-12-03 12:29 (UTC) by leomao)

Hi @Archy09,

I am not sure what the problem is. Have you tried to remove the directory $HOME/.cache/yay/python-imageio and the package and reinstall it again?

$ rm -rf $HOME/.cache/yay/python-imageio
$ sudo pacman -R python-imageio
$ yay -S python-imageio

You can also try to build the package using makepkg directly to see if it works.

Archy09 commented on 2024-12-03 11:58 (UTC) (edited on 2024-12-03 11:59 (UTC) by Archy09)

Whenever I update my system, python-imageio is updated and i get the same error every time:

rm: cannot remove '/home/cinnamon/.cache/yay/python-imageio/pkg/python-imageio/usr/bin/imageio_download_bin': No such file or directory
rm: cannot remove '/home/cinnamon/.cache/yay/python-imageio/pkg/python-imageio/usr/bin/imageio_remove_bin': No such file or directory

leomao commented on 2023-12-02 13:51 (UTC)

Thanks for the information.

  • Added: python-tifffile, python-av.
  • Removed: avbin.

I think freeimage is still usable. Please correct me if it is not the case.

MarsSeed commented on 2023-12-02 12:37 (UTC) (edited on 2023-12-02 12:38 (UTC) by MarsSeed)

Hi,

Please kindly remove the following unneeded optdepends (cannot be used anymore by this module):

  • avbin
  • freeimage

However, I suggest that you can add a new optdepend:

Source of the information: README.md/Dependencies.

leomao commented on 2023-10-14 04:18 (UTC)

Thanks for the information. I updated the PKGBUILD.

TrialnError commented on 2023-10-13 16:56 (UTC)

python-wheel is also missing as a makedep for using the wheel way of creating python packages.