Package Details: python-scikit-image 0.24.0-1

Git Clone URL: https://aur.archlinux.org/python-scikit-image.git (read-only, click to copy)
Package Base: python-scikit-image
Description: Image processing routines for SciPy
Upstream URL: http://scikit-image.org
Licenses: BSD-3-Clause
Submitter: Dragonlord
Maintainer: Universebenzene
Last Packager: Universebenzene
Votes: 68
Popularity: 0.114224
First Submitted: 2016-04-30 10:32 (UTC)
Last Updated: 2024-06-19 05:02 (UTC)

Required by (90)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

Universebenzene commented on 2021-02-10 02:21 (UTC)

@selion python-pywavelets is already in depends. I don't know why you get this problem. And also I don't know why you created a deletion request.

selion commented on 2021-02-09 22:48 (UTC) (edited on 2021-02-09 22:49 (UTC) by selion)

I get a module not found error pywt when importing skimage.filters

Installing python-pywavelets fixes that

ricot commented on 2020-10-27 11:18 (UTC)

Build seems to only use a single CPU core and hence is excruciatingly slow. Any chance we could use multiple cores?

df8oe commented on 2020-06-23 10:42 (UTC)

No install possible - what is the problem?
======================================================================================= short test summary info ======================================================================================= FAILED skimage/color/tests/test_colorconv.py::TestColorconv::test_lab_full_gamut - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current re... FAILED skimage/color/tests/test_colorconv.py::TestColorconv::test_rgb2gray_alpha - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current re... FAILED skimage/color/tests/test_colorconv.py::test_nD_gray_conversion[shape0-rgb2gray] - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The curr... FAILED skimage/color/tests/test_colorconv.py::test_nD_gray_conversion[shape2-rgb2gray] - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The curr... FAILED skimage/color/tests/test_colorconv.py::test_nD_gray_conversion[shape3-rgb2gray] - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The curr... FAILED skimage/color/tests/test_colorconv.py::test_nD_gray_conversion[shape4-rgb2gray] - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The curr... FAILED skimage/feature/tests/test_corner.py::test_shape_index - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result is float64 w... FAILED skimage/filters/tests/test_gaussian.py::test_multichannel - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result is float64... FAILED skimage/filters/tests/test_ridges.py::test_border_warning[sato] - ValueError: Unexpected warning: Convertingnp.inexactornp.floatingto a dtype is deprecated. The current result isf... FAILED skimage/filters/tests/test_ridges.py::test_border_warning[hessian] - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result is... FAILED skimage/io/tests/test_pil.py::test_all_color - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result is float64 which is no... FAILED skimage/io/tests/test_pil.py::test_all_mono - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result is float64 which is not... FAILED skimage/restoration/tests/test_denoise.py::test_denoise_bilateral_nan - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result... FAILED skimage/segmentation/tests/test_active_contour_model.py::test_bc_deprecation - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current... FAILED skimage/segmentation/tests/test_active_contour_model.py::test_xy_coord_warning - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The curre... FAILED skimage/segmentation/tests/test_random_walker.py::test_2d_bf - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result is floa... FAILED skimage/segmentation/tests/test_random_walker.py::test_2d_cg - ValueError: Unexpected warning: Convertingnp.inexactornp.floatingto a dtype is deprecated. The current result isfloa... FAILED skimage/segmentation/tests/test_random_walker.py::test_2d_cg_mg - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result is f... FAILED skimage/segmentation/tests/test_random_walker.py::test_2d_cg_j - ValueError: Unexpected warning: Convertingnp.inexactornp.floatingto a dtype is deprecated. The current result isfl... FAILED skimage/segmentation/tests/test_random_walker.py::test_types - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result is floa... FAILED skimage/segmentation/tests/test_random_walker.py::test_reorder_labels - ValueError: Unexpected warning: Convertingnp.inexactornp.floatingto a dtype is deprecated. The current result... FAILED skimage/segmentation/tests/test_random_walker.py::test_2d_inactive - ValueError: Unexpected warning: Convertingnp.inexactornp.floatingto a dtype is deprecated. The current result is... FAILED skimage/segmentation/tests/test_random_walker.py::test_3d - ValueError: Unexpected warning: Convertingnp.inexactornp.floatingto a dtype is deprecated. The current result isfloat64... FAILED skimage/segmentation/tests/test_random_walker.py::test_3d_inactive - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result is... FAILED skimage/segmentation/tests/test_random_walker.py::test_multispectral_2d - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current resu... FAILED skimage/segmentation/tests/test_random_walker.py::test_multispectral_3d - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current resu... FAILED skimage/segmentation/tests/test_random_walker.py::test_spacing_0 - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result is ... FAILED skimage/segmentation/tests/test_random_walker.py::test_spacing_1 - ValueError: Unexpected warning: Convertingnp.inexactornp.floatingto a dtype is deprecated. The current result is... FAILED skimage/segmentation/tests/test_random_walker.py::test_trivial_cases - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result ... FAILED skimage/segmentation/tests/test_random_walker.py::test_length2_spacing - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current resul... FAILED skimage/segmentation/tests/test_random_walker.py::test_isolated_seeds - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result... FAILED skimage/transform/tests/test_radon_transform.py::test_radon_circle - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result is... FAILED skimage/transform/tests/test_warps.py::test_swirl - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result is float64 which ... FAILED skimage/transform/tests/test_warps.py::test_downsize_anti_aliasing_invalid_stddev - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The cu... FAILED skimage/transform/tests/test_warps.py::test_boll_array_warnings - ValueError: Unexpected warning: Converting np.inexact or np.floating to a dtype is deprecated. The current result is `f... =============================================================== 35 failed, 6046 passed, 16 skipped, 18562 warnings in 264.40s (0:04:24) =============================================================== ==> FEHLER: Ein Fehler geschah in check(). Breche ab... error making: %!s(func() string=0x55f0a2e2aed0)

jdc commented on 2020-04-14 16:55 (UTC)

I'm getting an error when I try to import skimage.io.

https://hastebin.com/wukepifuxo.sql

dburkhardt commented on 2019-05-17 13:52 (UTC)

I'm getting a conflicting package error when I shouldn't be:

looking for conflicting packages...
:: python-scipy and python-scipy-openblas are in conflict. Remove python-scipy-openblas?

But python-scipy-openblas is listed as sufficient in the Dependencies table. What's going on?

Universebenzene commented on 2019-03-07 14:08 (UTC)

@bertptrs Fine, so I bring back the build() function now. Thanks!

bertptrs commented on 2019-03-07 13:58 (UTC) (edited on 2019-03-07 14:00 (UTC) by bertptrs)

You are right on the prepare() part; I've misread the diff. And while the package builds fine, the problem of compiling in package_*() is more of a semantic one. Some packages (quite a few unfortunately) compile source code in the prepare() phase, but this is incorrect. Most python packages only need to byte-compile all of their .py files. For this package it is especially noticeable as there is a lot of actual native code compilation.

The correct way to do it is: have a build() that calls python(2) setup.py build for both versions, and then in each package_ function call python(2) setup.py install …. The package function really should only be moving files from here to there. Just because you can compile the packages there doesn't mean you should. One might want to inspect the created binaries before creating a package, for example, or really just any use of makepkg --repackage.

You can see an example in the PKGBUILD for numpy: https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/python-numpy (and also the previous versions of this package)

Universebenzene commented on 2019-03-07 13:12 (UTC) (edited on 2019-03-07 13:13 (UTC) by Universebenzene)

Hi @bertptrs, actually I don't have build() function in the PKGBUILD, and I am modifying the source code in prepare() function , not build(). In fact for most python packages, the python setup.py install does the build at the same time, so we don't really need another build() for them. The package builds well on my PCs, so could you please tell me what kinds of errors occur on yours? Thanks for feedback.

bertptrs commented on 2019-03-07 12:45 (UTC)

Hi, I see you modified the PKGBUILD quite a bit, and with it introduced some errors. Would you mind going back to the old style?

Currently, it modifies source code in build() rather than prepare() and also compiles code in package() rather than in build(). Both are bad practices, and the PKGBUILD did this correctly before the latest commit. Please see https://wiki.archlinux.org/index.php/Python_package_guidelines