[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
164/233: gnu: python-voila: Update to 0.3.5.
From: |
guix-commits |
Subject: |
164/233: gnu: python-voila: Update to 0.3.5. |
Date: |
Sun, 24 Apr 2022 23:39:59 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 399b451c0ed61cd6a120bf8793f8f0084713ac94
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")
- 89/233: gnu: Add font-gfs-ambrosia., (continued)
- 89/233: gnu: Add font-gfs-ambrosia., guix-commits, 2022/04/24
- 92/233: gnu: Add python-untangle., guix-commits, 2022/04/24
- 93/233: gnu: python-black: Update to 22.3.0., guix-commits, 2022/04/24
- 95/233: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/04/24
- 96/233: gnu: Add python-pydevd., guix-commits, 2022/04/24
- 97/233: gnu: Add python-debugpy., guix-commits, 2022/04/24
- 98/233: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/04/24
- 134/233: gnu: Add python-strict-rfc3339., guix-commits, 2022/04/24
- 147/233: gnu: Add python-pecan., guix-commits, 2022/04/24
- 148/233: gnu: Add python-aioredis., guix-commits, 2022/04/24
- 164/233: gnu: python-voila: Update to 0.3.5.,
guix-commits <=
- 190/233: gnu: python-mkdocs: Update to 1.3.0., guix-commits, 2022/04/24
- 192/233: gnu: python-cantools: Update to 37.0.7., guix-commits, 2022/04/24
- 195/233: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/04/24
- 100/233: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/04/24
- 103/233: gnu: python-jupyter-core: Update to 4.10.0., guix-commits, 2022/04/24
- 102/233: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/04/24
- 109/233: gnu: python-nbclient: Update to 0.6.0., guix-commits, 2022/04/24
- 111/233: gnu: Add texlive-unicode-math., guix-commits, 2022/04/24
- 116/233: gnu: python-send2trash: Update to 1.8.0 and update home page., guix-commits, 2022/04/24
- 117/233: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/04/24