summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-21 21:21:14 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-21 22:06:45 +0000
commite5b3deb1ec5351c9a4f4fb2e3e60ed981af2e8e2 (patch)
treef866213a4c44f075a03694884502ca3d86d92659 /gnu/packages/python-science.scm
parent65856d6cec7b8463ca8457cf053a427f4dfba67f (diff)
gnu: python-trimesh: Update to 4.5.3.
* gnu/packages/python-science.scm (python-trimesh): Update to 4.5.3, fix build. [arguments] <phases>: Remove 'fix-build, as resolved upstream. Delete 'sanity-check. Change-Id: I9320912764506a8c0d0bd7f300dca98b32ce4333
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm56
1 files changed, 25 insertions, 31 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 8de49ac7ea6..5ef91aaf11f 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -836,10 +836,7 @@ of regular expressions from text data and automatic test generation.")
836(define-public python-trimesh 836(define-public python-trimesh
837 (package 837 (package
838 (name "python-trimesh") 838 (name "python-trimesh")
839 ;; XXX: The latest version fails on sanity check, requiring newer 839 (version "4.5.3")
840 ;; setuptools which is not yet available on master. Update when
841 ;; python-team is merged.
842 (version "4.1.8")
843 (source 840 (source
844 (origin 841 (origin
845 (method git-fetch) ; no tests in PyPI 842 (method git-fetch) ; no tests in PyPI
@@ -848,39 +845,36 @@ of regular expressions from text data and automatic test generation.")
848 (commit version))) 845 (commit version)))
849 (file-name (git-file-name name version)) 846 (file-name (git-file-name name version))
850 (sha256 847 (sha256
851 (base32 "1vkp7znrlsqaiyg16py3jcqspi6yq4wh48lzng4sg248hqzhzspa")))) 848 (base32 "17fyapp8nffnnf95bmcvllvg41fjlpvlv6qndbm048hnyayixxld"))))
852 (build-system pyproject-build-system) 849 (build-system pyproject-build-system)
853 (arguments 850 (arguments
854 (list 851 (list
855 #:test-flags 852 #:test-flags
856 #~(list "-k" (string-append 853 ;; XXX: When more optional modules are available review
857 ;; XXX: When more optional modules are available review 854 ;; disabled tests once again.
858 ;; disabled tests once again. 855 ;;
859 ;; 856 ;; Disable tests requiring optional, not packed modules.
860 ;; Disable tests requiring optional, not packed modules. 857 #~(list "-k" (string-join
861 "not test_bezier_example" 858 (list "not test_bezier_example"
862 " and not test_discrete" 859 "test_discrete"
863 " and not test_dxf" 860 "test_dxf"
864 " and not test_ply_path_bezier" 861 "test_ply_path_bezier"
865 " and not test_ply_path_line" 862 "test_ply_path_line"
866 " and not test_ply_path_multi" 863 "test_ply_path_multi"
867 " and not test_revolve" 864 "test_revolve"
868 " and not test_screw" 865 "test_screw"
869 " and not test_simple_closed" 866 "test_simple_closed"
870 " and not test_simple_extrude" 867 "test_simple_extrude"
871 " and not test_simple_open" 868 "test_simple_open"
872 " and not test_slice_onplane" 869 "test_slice_onplane"
873 " and not test_spline_3D" 870 "test_spline_3D"
874 " and not test_svg")) 871 "test_svg")
872 " and not "))
875 #:phases 873 #:phases
876 #~(modify-phases %standard-phases 874 #~(modify-phases %standard-phases
877 (add-after 'unpack 'fix-build 875 ;; XXX: It struggles to load and fails with error: AttributeError:
878 (lambda _ 876 ;; module 'trimesh' has no attribute '__main__'.
879 ;; Reported upstream, see 877 (delete 'sanity-check))))
880 ;; <https://github.com/mikedh/trimesh/pull/2314>.
881 (substitute* "trimesh/resources/templates/blender_boolean.py.tmpl"
882 (("\\$MESH_PRE")
883 "'$MESH_PRE'")))))))
884 (native-inputs 878 (native-inputs
885 (list python-coveralls 879 (list python-coveralls
886 python-pyinstrument 880 python-pyinstrument