summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2026-02-21 17:08:15 +0000
committerDanny Milosavljevic <dannym@friendly-machines.com>2026-02-21 21:52:40 +0100
commit69a885dbd777f405c5cb0cec4af9c2d922447e8c (patch)
tree4a9d445a18122c83aa675623a0729823e045aa65 /gnu/packages/python-science.scm
parenta8927662b3ca3cd3966d2b0a291b8a46c2056d14 (diff)
gnu: python-pyvista: Update to 0.46.5.
* gnu/packages/python-science.scm (python-pyvista): Update to 0.46.5. [arguments]<#:test-flags>: Ignore tests/core/test_dataobject_filters.py, tests/core/test_dataset_filters.py, and tests/plotting/test_plotter.py. Disable test_read_exodus, test_nek5000_reader, test_exodus_reader_ext, test_exodus_reader_core, test_exodus_blocks, test_download_dataset_texture, test_structured_grid_cast_to_explicit_structured_grid, test_pad_image_multi_component_with_scalar, test_pad_image_raises, test_points_to_cells_and_cells_to_points_dimensions, test_meshio[cow_ugrid], test_meshio[points_only], and test_max_positional_args_matches_pyproject. <#:phases>{patch-pyproject}: Generalize vtk version pattern. [native-inputs]: Add nss-certs-for-test, python-aiohttp, python-mypy, python-pandas, python-pytest-cases, python-pytest-mock, python-pytest-pyvista, which, and xorg-server-for-tests. Replace python-pytest with python-pytest-8. [propagated-inputs]: Add python-cmcrameri, python-cmocean, and python-colorcet. Replace vtk-9.3 with vtk-9.5. Change-Id: Ic5b9a7a46c5fee8682a9d0f47d791e2d07de5f64
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm53
1 files changed, 44 insertions, 9 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index d15a67f6cd1..fbac93c0fda 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -86,6 +86,7 @@
86 #:use-module (gnu packages mpi) 86 #:use-module (gnu packages mpi)
87 #:use-module (gnu packages networking) 87 #:use-module (gnu packages networking)
88 #:use-module (gnu packages ninja) 88 #:use-module (gnu packages ninja)
89 #:use-module (gnu packages nss)
89 #:use-module (gnu packages pcre) 90 #:use-module (gnu packages pcre)
90 #:use-module (gnu packages perl) 91 #:use-module (gnu packages perl)
91 #:use-module (gnu packages pkg-config) 92 #:use-module (gnu packages pkg-config)
@@ -5531,7 +5532,7 @@ tests and comparing subsequent results against that cache.")
5531(define-public python-pyvista 5532(define-public python-pyvista
5532 (package 5533 (package
5533 (name "python-pyvista") 5534 (name "python-pyvista")
5534 (version "0.44.2") 5535 (version "0.46.5")
5535 (source 5536 (source
5536 (origin 5537 (origin
5537 (method git-fetch) 5538 (method git-fetch)
@@ -5540,7 +5541,7 @@ tests and comparing subsequent results against that cache.")
5540 (commit (string-append "v" version)))) 5541 (commit (string-append "v" version))))
5541 (file-name (git-file-name name version)) 5542 (file-name (git-file-name name version))
5542 (sha256 5543 (sha256
5543 (base32 "0lnh4cvf6wld7hm293015d80ny0vnsk96ckfvc2crzd1b79ch1v5")))) 5544 (base32 "0553bp4fhbar9z0ybjv1mw1jhb5rhrr4v6q2bzmia0ww0dn8fc69"))))
5544 (build-system pyproject-build-system) 5545 (build-system pyproject-build-system)
5545 (arguments 5546 (arguments
5546 (list 5547 (list
@@ -5551,6 +5552,12 @@ tests and comparing subsequent results against that cache.")
5551 "--ignore=tests/examples/test_download_files.py" 5552 "--ignore=tests/examples/test_download_files.py"
5552 "--ignore=tests/examples/test_downloads.py" 5553 "--ignore=tests/examples/test_downloads.py"
5553 "--ignore=tests/plotting/test_texture.py" 5554 "--ignore=tests/plotting/test_texture.py"
5555 ;; Tries to download data from GitHub at collection time.
5556 "--ignore=tests/core/test_dataobject_filters.py"
5557 ;; Tries to download data from GitHub at collection time.
5558 "--ignore=tests/core/test_dataset_filters.py"
5559 ;; Tries to download data from GitHub at collection time.
5560 "--ignore=tests/plotting/test_plotter.py"
5554 "-k" (string-join 5561 "-k" (string-join
5555 (list "not test_actor_texture" 5562 (list "not test_actor_texture"
5556 "test_add_multiple" 5563 "test_add_multiple"
@@ -5630,7 +5637,23 @@ tests and comparing subsequent results against that cache.")
5630 "test_xdmf_reader" 5637 "test_xdmf_reader"
5631 ;; XXX: incompatible with Numpy@2 5638 ;; XXX: incompatible with Numpy@2
5632 ;; Drop when updating along with vtk. 5639 ;; Drop when updating along with vtk.
5633 "test_check_subdtype_changes_type") 5640 "test_check_subdtype_changes_type"
5641 ;; These tests try to download data from GitHub.
5642 "test_read_exodus"
5643 "test_nek5000_reader"
5644 "test_exodus_reader_ext"
5645 "test_exodus_reader_core"
5646 "test_exodus_blocks"
5647 "test_download_dataset_texture"
5648 "test_structured_grid_cast_to_explicit_structured_grid"
5649 "test_pad_image_multi_component_with_scalar"
5650 "test_pad_image_raises"
5651 "test_points_to_cells_and_cells_to_points_dimensions"
5652 ;; These tests download cow.vtp from GitHub.
5653 "test_meshio[cow_ugrid]"
5654 "test_meshio[points_only]"
5655 ;; Looks for pyproject.toml in installed package.
5656 "test_max_positional_args_matches_pyproject")
5634 " and not ")) 5657 " and not "))
5635 #:phases 5658 #:phases
5636 #~(modify-phases %standard-phases 5659 #~(modify-phases %standard-phases
@@ -5638,7 +5661,7 @@ tests and comparing subsequent results against that cache.")
5638 (add-after 'unpack 'patch-pyproject 5661 (add-after 'unpack 'patch-pyproject
5639 (lambda _ 5662 (lambda _
5640 (substitute* "pyproject.toml" 5663 (substitute* "pyproject.toml"
5641 (("'vtk<9\\.4\\.0'," all) (string-append "#" all))))) 5664 (("'vtk[^']*'," all) (string-append "#" all)))))
5642 (add-after 'unpack 'fix-failing-tests 5665 (add-after 'unpack 'fix-failing-tests
5643 (lambda _ 5666 (lambda _
5644 (substitute* "tests/plotting/test_plotting.py" 5667 (substitute* "tests/plotting/test_plotting.py"
@@ -5652,20 +5675,32 @@ tests and comparing subsequent results against that cache.")
5652 (lambda _ 5675 (lambda _
5653 (setenv "HOME" "/tmp")))))) 5676 (setenv "HOME" "/tmp"))))))
5654 (native-inputs 5677 (native-inputs
5655 (list python-ipython 5678 (list nss-certs-for-test
5656 python-pytest 5679 python-aiohttp
5680 python-ipython
5681 python-mypy
5682 python-pandas
5683 python-pytest-8
5684 python-pytest-cases
5685 python-pytest-mock
5686 python-pytest-pyvista
5657 python-scipy 5687 python-scipy
5658 python-tqdm 5688 python-tqdm
5659 python-trimesh)) 5689 python-trimesh
5690 which
5691 xorg-server-for-tests))
5660 (propagated-inputs 5692 (propagated-inputs
5661 (list python-imageio 5693 (list python-cmcrameri
5694 python-cmocean
5695 python-colorcet
5696 python-imageio
5662 python-matplotlib 5697 python-matplotlib
5663 python-meshio 5698 python-meshio
5664 python-numpy 5699 python-numpy
5665 python-pillow 5700 python-pillow
5666 python-pooch 5701 python-pooch
5667 python-scooby 5702 python-scooby
5668 vtk-9.3)) 5703 vtk-9.5))
5669 (home-page "https://docs.pyvista.org/") 5704 (home-page "https://docs.pyvista.org/")
5670 (synopsis "3D plotting and mesh analysis through VTK") 5705 (synopsis "3D plotting and mesh analysis through VTK")
5671 (description 5706 (description