guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#55060] [PATCH 6/6] gnu: Add python-pyvista.


From: Paul A. Patience
Subject: [bug#55060] [PATCH 6/6] gnu: Add python-pyvista.
Date: Fri, 22 Apr 2022 19:36:36 +0000

On 2022-04-22 14:04:03-04:00, Maxime Devos wrote:
> Paul A. Patience schreef op vr 22-04-2022 om 01:03 [+0000]:
>> +         ;; Disable tests for now because they require several modules
>> +         ;; currently unpackaged in Guix.
>> +         (delete 'check)
>> +         ;; Disable the sanity check, which fails with the following error:
>> +         ;;
>> +         ;;   ...checking requirements: ERROR: pyvista==0.34.0 
>> DistributionNotFound(Requirement.parse('vtk'), {'pyvista'})
>> +         ;;
>> +         ;; Probably it cannot find VTK because it isn't a Python library.
>
> vtk is (among other things) a Python library, try building vtk and
> looking into lib/python3.9/site-packages/vtk.py.

vtk.py is indeed there.
Also, I am able to "import vtk" in a Python repl.
I'm not sure why the sanity check cannot find vtk.py, then.
This sanity check issue also plagues the python-vedo package, and I
don't know how to fix it.
(However, obviously the last line of the comment is incorrect.)

> As such, shouldn't 'vtk' be in propagated-inputs, such that when
> dependents use 'python-pyvista', the vtk libraries will actually be
> found?

I fixed this in the v2 series.

Best regards,
Paul






reply via email to

[Prev in Thread] Current Thread [Next in Thread]