Package Details: python-astra-toolbox 2.2.0-1

Git Clone URL: https://aur.archlinux.org/python-astra-toolbox.git (read-only, click to copy)
Package Base: python-astra-toolbox
Description: MATLAB and Python toolbox of high-performance GPU primitives for 2D and 3D tomography
Upstream URL: https://github.com/astra-toolbox/astra-toolbox
Licenses: GPL3
Submitter: Nordwin
Maintainer: Nordwin
Last Packager: Nordwin
Votes: 0
Popularity: 0.000000
First Submitted: 2024-02-21 11:04 (UTC)
Last Updated: 2024-07-15 12:43 (UTC)

Latest Comments

Nordwin commented on 2024-02-23 07:22 (UTC)

Thanks for the suggestions, I fixed my patch renaming and included the numpy.int patch.

Fixing their python egg is something that upstream will have to do...

Alad commented on 2024-02-23 05:26 (UTC) (edited on 2024-02-23 05:51 (UTC) by Alad)

Also could you include https://github.com/astra-toolbox/astra-toolbox/commit/c597f99ed3036d5a2b74469e59534fc27f040f7e in the package, without this commit the package doesn't work with numpy 1.26.1

https://github.com/astra-toolbox/astra-toolbox/issues/396

Another issue I found is a deprecation warning when using pip

DEPRECATION: Loading egg at /usr/lib/python3.11/site-packages/astra_toolbox-2.1.3-py3.11-linux-x86_64.egg is deprecated. 
pip 24.3 will enforce this behaviour change. 
A possible replacement is to use pip for package installation.. 
Discussion can be found at https://github.com/pypa/pip/issues/12330

Alad commented on 2024-02-23 04:13 (UTC)

==> Retrieving sources...
  -> Downloading v2.1.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  674k    0  674k    0     0   630k      0 --:--:--  0:00:01 --:--:-- 3527k
  -> Found fix-python-install-prefix.patch
==> Validating source files with sha512sums...
    v2.1.0.tar.gz ... Passed
    fix-python-install-prefix.patch ... Passed
==> Extracting sources...
  -> Extracting v2.1.0.tar.gz with bsdtar
==> Starting prepare()...
patch: **** Can't open patch file ../0001-fix-python-install-prefix.patch : No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...