all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Paul A. Patience" <paul@apatience.com>
To: 54869@debbugs.gnu.org
Cc: "Paul A. Patience" <paul@apatience.com>
Subject: [bug#54869] [PATCH v2 7/7] gnu: python-vedo: Update to 2022.2.0.
Date: Fri, 22 Apr 2022 11:53:32 +0000	[thread overview]
Message-ID: <20220422115258.63649-8-paul@apatience.com> (raw)
In-Reply-To: <20220422115258.63649-1-paul@apatience.com>

* gnu/packages/python-science.scm (python-vedo): Update to 2022.2.0.
[arguments]: Add 'fix-tests' phase.
[inputs]: Move fenics and python-matplotlib to propagated-inputs.
Move python-pkgconfig from here...
[native-inputs]: ...to here.
[propagated-inputs]: Add python-deprecated (and fenics and
python-matplotlib).
[description]: Make description more accurate.
---
 gnu/packages/python-science.scm | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index d0fca49aaf..b1fc94cecc 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
 ;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -858,21 +859,28 @@ (define-public python-upsetplot
 (define-public python-vedo
   (package
     (name "python-vedo")
-    (version "2021.0.3")
+    (version "2022.2.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/marcomusy/vedo")
-             (commit version)))
+             (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "18i3ajh5jzhpc86di15lwh4jv97jhm627ii877sa4yhv6abzjfpn"))))
+         "1hhv4xc4bphhd1zrnf7r6fpf65xvkdqmb1lh51qg1xpv91h2az0h"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-tests
+           ;; These tests require online data.
+           (lambda _
+             (substitute* "tests/common/test_actors.py"
+               (("^st = .*") "")
+               (("^assert isinstance\\(st\\.GetTexture\\(\\), .*") ""))
+             (delete-file "tests/common/test_pyplot.py")))
          (add-after 'build 'mpi-setup
            ,%openmpi-setup)
          (replace 'check
@@ -887,18 +895,18 @@ (define-public python-vedo
                            '("common" "dolfin"))))))
          ;; Disable the sanity check, which fails with the following error:
          ;;
-         ;;   ...checking requirements: ERROR: vedo==2021.0.3 DistributionNotFound(Requirement.parse('vtk'), {'vedo'})
+         ;;   ...checking requirements: ERROR: vedo==2022.2.0 DistributionNotFound(Requirement.parse('vtk<9.1.0'), {'vedo'})
          ;;
          ;; Probably it cannot find VTK because it isn't a Python library.
          (delete 'sanity-check))))
-    (inputs        ; for the check phase
-     (list fenics
-           python-matplotlib
+    (native-inputs
+     (list pkg-config
            python-pkgconfig))
-    (native-inputs ; for python-pkgconfig
-     (list pkg-config))
     (propagated-inputs
-     (list python-numpy
+     (list fenics
+           python-deprecated
+           python-matplotlib
+           python-numpy
            vtk))
     (home-page "https://github.com/marcomusy/vedo")
     (synopsis
@@ -909,8 +917,7 @@ (define-public python-vedo
 range of functionalities for working with three-dimensional meshes and
 point clouds.  It can also be used to generate high quality
 two-dimensional renderings such as scatter plots and histograms.
-@code{vedo} is based on @code{vtk} and @code{numpy}, with no other
-dependencies.")
+@code{vedo} is based on @code{vtk} and @code{numpy}.")
     ;; vedo is released under the Expat license.  Included fonts are
     ;; covered by the OFL license and textures by the CC0 license.
     ;; The earth images are in the public domain.
--
2.35.1






  parent reply	other threads:[~2022-04-22 12:46 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-12  1:21 [bug#54869] [PATCH 0/5] gnu: python-vedo: Update to 2022.2.0 and sanity-check failures Paul A. Patience
2022-04-12  1:22 ` [bug#54870] [PATCH 1/5] gnu: fenics-dolfin: Honor #:tests? flag Paul A. Patience
2022-04-12  1:22 ` [bug#54871] [PATCH 2/5] gnu: fenics: " Paul A. Patience
2022-04-12  1:22 ` [bug#54872] [PATCH 3/5] gnu: python-vedo: " Paul A. Patience
2022-04-12  1:22 ` [bug#54874] [PATCH 4/5] gnu: python-vedo: Remove input labels Paul A. Patience
2022-04-12  1:22 ` [bug#54873] [PATCH 5/5] gnu: python-vedo: Update to 2022.2.0 Paul A. Patience
2022-04-22 11:53 ` [bug#54869] [PATCH v2 0/7] " Paul A. Patience
2022-04-22 11:53   ` [bug#54869] [PATCH v2 1/7] gnu: fenics-dolfin: Honor #:tests? flag Paul A. Patience
2022-04-22 17:46     ` Maxime Devos
2022-04-22 11:53   ` [bug#54869] [PATCH v2 2/7] gnu: fenics: " Paul A. Patience
2022-04-22 11:53   ` [bug#54869] [PATCH v2 3/7] gnu: fenics: Fix sanity check Paul A. Patience
2022-04-22 11:53   ` [bug#54869] [PATCH v2 4/7] gnu: python-vedo: Honor #:tests? flag Paul A. Patience
2022-04-22 11:53   ` [bug#54869] [PATCH v2 5/7] gnu: python-vedo: Remove input labels Paul A. Patience
2022-04-22 11:53   ` [bug#54869] [PATCH v2 6/7] gnu: python-vedo: Disable sanity check Paul A. Patience
2022-04-22 11:53   ` Paul A. Patience [this message]
2022-04-22 20:25 ` [bug#54869] [PATCH v3 0/7] gnu: python-vedo: Update to 2022.2.0 Paul A. Patience
2022-04-22 20:25   ` [bug#54869] [PATCH v3 1/7] gnu: fenics-dolfin: Honor #:tests? flag Paul A. Patience
2022-04-22 20:25   ` [bug#54869] [PATCH v3 2/7] gnu: fenics: " Paul A. Patience
2022-04-22 20:25   ` [bug#54869] [PATCH v3 3/7] gnu: fenics: Fix sanity check Paul A. Patience
2022-04-22 20:25   ` [bug#54869] [PATCH v3 4/7] gnu: python-vedo: Honor #:tests? flag Paul A. Patience
2022-04-22 20:25   ` [bug#54869] [PATCH v3 5/7] gnu: python-vedo: Remove input labels Paul A. Patience
2022-04-22 20:26   ` [bug#54869] [PATCH v3 6/7] gnu: python-vedo: Disable sanity check Paul A. Patience
2022-04-22 20:26   ` [bug#54869] [PATCH v3 7/7] gnu: python-vedo: Update to 2022.2.0 Paul A. Patience
2022-05-06 13:11   ` bug#54869: bug#54874: [PATCH 4/5] gnu: python-vedo: Remove input labels Ludovic Courtès
2022-05-06 13:36     ` [bug#54869] [bug#54874] " Maxime Devos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220422115258.63649-8-paul@apatience.com \
    --to=paul@apatience.com \
    --cc=54869@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.