[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
158/166: gnu: python-voila: Update to 0.3.5.
From: |
guix-commits |
Subject: |
158/166: gnu: python-voila: Update to 0.3.5. |
Date: |
Tue, 19 Apr 2022 09:18:13 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 7b35a6de728ee0500526118b0dcb61892323fb02
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 18 21:13:50 2022 -0400
gnu: python-voila: Update to 0.3.5.
* gnu/packages/jupyter.scm (python-voila): Update to 0.3.5.
[source]: Use git.
[arguments]: New field.
[propagated-inputs]: Add python-jupyterlab-server, python-traitlets and
python-websockets.
[native-inputs]: Remove python-jupyter-packaging and python-setuptools. Add
python-numpy and python-pandas.
---
gnu/packages/jupyter.scm | 43 +++++++++++++++++++++++++++++++++++--------
1 file changed, 35 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index ed54b2f008..bd78229e44 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -40,6 +40,7 @@
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
+ #:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages python-web)
#:use-module (gnu packages rdf)
@@ -652,26 +653,52 @@ a notebook.")
(define-public python-voila
(package
(name "python-voila")
- (version "0.2.10")
+ (version "0.3.5")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "voila" version))
+ (method git-fetch) ;no tests in pypi archive
+ (uri (git-reference
+ (url "https://github.com/voila-dashboards/voila")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0krfc95yjlhjdmrsladhy6lpf4xs1zw49nmkyl4pkykndglvwa1m"))))
+ "10qn34ddmcwcl9zxa0gwxarxr64k8hx4yysdwrf0iqvmzmkwmbbj"))))
(build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "setup.cfg"
+ (("nbclient>=0.4.0,<0.6")
+ "nbclient"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" "/tmp")
+ (invoke "pytest" "-vv"
+ ;; Many tests depend on Node JavaScript dependencies
+ ;; and a running HTTP server; ignore them.
+ "--ignore" "tests/app"
+ "--ignore" "tests/server")))))))
(propagated-inputs
- (list python-jupyter-client python-jupyter-server python-nbclient
- python-nbconvert))
+ (list python-jupyter-client
+ python-jupyter-server
+ python-jupyterlab-server
+ python-nbclient
+ python-nbconvert
+ python-traitlets
+ python-websockets))
(native-inputs
(list python-ipywidgets
- python-jupyter-packaging
python-matplotlib
python-mock
+ python-numpy
+ python-pandas
python-pytest
python-pytest-tornasync
- python-setuptools
python-tornado-6))
(home-page "https://github.com/voila-dashboards/voila")
(synopsis "Render live Jupyter notebooks with interactive widgets")
- 155/166: gnu: python-pynndescent: Update to 0.5.6., (continued)
- 155/166: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/04/19
- 89/166: gnu: Add font-gfs-ambrosia., guix-commits, 2022/04/19
- 111/166: gnu: Add texlive-unicode-math., guix-commits, 2022/04/19
- 120/166: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/04/19
- 119/166: gnu: Add python-docrepr., guix-commits, 2022/04/19
- 130/166: gnu: Add python-openapi-schema-validator., guix-commits, 2022/04/19
- 135/166: gnu: Add python-httpx-bootstrap., guix-commits, 2022/04/19
- 147/166: gnu: Add python-jupyterlab-server., guix-commits, 2022/04/19
- 156/166: gnu: python-umap-learn: Update to 0.5.3., guix-commits, 2022/04/19
- 98/166: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/04/19
- 158/166: gnu: python-voila: Update to 0.3.5.,
guix-commits <=
- 159/166: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/04/19
- 160/166: gnu: python-sparqlkernel: Use gexps and fix inputs., guix-commits, 2022/04/19
- 164/166: gnu: python-types-dataclasses: Fix typo., guix-commits, 2022/04/19
- 165/166: gnu: python-cmarkgfm: Update to 0.8.0., guix-commits, 2022/04/19
- 153/166: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/04/19
- 161/166: gnu: python-jupyter-protocol: Update to 0.2.0., guix-commits, 2022/04/19
- 105/166: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/04/19
- 91/166: gnu: python-flask: Update to 2.1.1., guix-commits, 2022/04/19
- 96/166: gnu: Add python-pydevd., guix-commits, 2022/04/19
- 99/166: gnu: Add python-pytest-forked-next., guix-commits, 2022/04/19