unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Steve George <steve@futurile.net>
To: 73070@debbugs.gnu.org
Cc: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com,
	sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de
Subject: [bug#73070] [PATCH v2 4/4] gnu: python-altair: Update to 5.3.0.
Date: Sat, 21 Sep 2024 23:48:00 +0100	[thread overview]
Message-ID: <947f110df38bf122656bdf6384d2ae979a59ad92.1726958372.git.steve@futurile.net> (raw)
In-Reply-To: <cover.1726958372.git.steve@futurile.net>

From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>

* gnu/packages/statistics.scm (python-altair): Update to 5.3.0.
  [arguments]<#:test-flags>: Add failing tests, reorganize.

Reviewed-by: Steve George <steve@futurile.net>
Change-Id: I695e63e5395f40997ab59706240b8b059778b0ad
---
 gnu/packages/statistics.scm | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 103a857317..b8de5a1d93 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -21,6 +21,7 @@
 ;;; Copyright © 2023 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com>
 ;;; Copyright © 2024 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2108,7 +2109,7 @@ (define-public python-vega-datasets
 (define-public python-altair
   (package
     (name "python-altair")
-    (version "5.0.1")
+    (version "5.3.0")
     (source (origin
               (method git-fetch)        ; no tests in PyPI
               (uri (git-reference
@@ -2117,15 +2118,27 @@ (define-public python-altair
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1r74v5n51br9pjhxdzrr62cdgnwkapci93aifnl8dqmfpizfpd7d"))))
+                "1lx3pkphi36pljns6jjxhyn9fbrana8f1y6gcg4yca48nvwlfssl"))))
     (build-system pyproject-build-system)
     (arguments
-     ;; First two open an external connection.
-     ;; Last introduces a circular dependency on altair-viewer.
-     (list #:test-flags #~(list "-k" (string-append
-                                      "not test_from_and_to_json_roundtrip"
-                                      " and not test_render_examples_to_chart"
-                                      " and not test_save_html"))))
+     (list #:test-flags
+           ;; XXX: This test file requires hard to package python-anywidgets.
+           #~(list "--ignore=tests/test_jupyter_chart.py"
+                   "-k" (string-join
+                         (list
+                          ;; these tests open an external connection.
+                          "not test_from_and_to_json_roundtrip"
+                          "test_render_examples_to_chart"
+                          ;; introduces a circular dependency on altair-viewer.
+                          "not test_save_html"
+                          ;; these tests require the vl-convert vega compiler
+                          "test_vegalite_compiler"
+                          "test_to_dict_with_format_vega"
+                          "test_to_json_with_format_vega"
+                          "test_to_url"
+                          "test_renderer_with_none_embed_options"
+                          "test_jupyter_renderer_mimetype")
+                         " and not "))))
     (propagated-inputs (list python-jinja2
                              python-jsonschema
                              python-numpy
-- 
2.46.0





  parent reply	other threads:[~2024-09-21 22:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-06 14:20 [bug#73070] [PATCH 0/3] Fix python development environment Nicolas Graves via Guix-patches via
2024-09-06 15:25 ` [bug#73070] [PATCH 1/3] gnu: python-pkginfo: Update to 1.10.0 Nicolas Graves via Guix-patches via
2024-09-06 15:25   ` [bug#73070] [PATCH 2/3] gnu: python-twine: Update to 5.1.1 Nicolas Graves via Guix-patches via
2024-09-06 15:25   ` [bug#73070] [PATCH 3/3] gnu: python-altair: Update to 5.3.0 Nicolas Graves via Guix-patches via
2024-09-21 22:47 ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Steve George
2024-09-21 22:47   ` [bug#73070] [PATCH v2 1/4] gnu: python-pkginfo: Update to 1.10.0 Steve George
2024-09-21 22:47   ` [bug#73070] [PATCH v2 2/4] gnu: python-readme-renderer: Update to 41.0 Steve George
2024-09-21 22:47   ` [bug#73070] [PATCH v2 3/4] gnu: python-twine: Update to 5.1.1 Steve George
2024-09-21 22:48   ` Steve George [this message]
2024-09-25 14:16   ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Ludovic Courtès
2024-09-25 17:07     ` jgart via Guix-patches via
2024-09-25 23:03 ` [bug#73070] [PATCH 0/3] Fix python development environment Sharlatan Hellseher
2024-09-26  6:57   ` Nicolas Graves via Guix-patches via
2024-09-26  7:23 ` Sharlatan Hellseher
2024-09-26  7:41 ` [bug#73070] Apply patches Andreas Enge
2024-09-26  9:32 ` bug#73070: [PATCH 0/3] Fix python development environment Sharlatan Hellseher

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=947f110df38bf122656bdf6384d2ae979a59ad92.1726958372.git.steve@futurile.net \
    --to=steve@futurile.net \
    --cc=73070@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    --cc=marius@gnu.org \
    --cc=me@bonfacemunyoki.com \
    --cc=sharlatanus@gmail.com \
    --cc=tanguy@bioneland.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).