[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
164/232: gnu: python-voila: Update to 0.3.5.
From: |
guix-commits |
Subject: |
164/232: gnu: python-voila: Update to 0.3.5. |
Date: |
Sun, 24 Apr 2022 23:59:06 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 0261f95ac04dac87528875678babca7f97fae014
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")
- 147/232: gnu: Add python-pecan., (continued)
- 147/232: gnu: Add python-pecan., guix-commits, 2022/04/24
- 142/232: gnu: python-httpx: Update to 0.22.0., guix-commits, 2022/04/24
- 143/232: gnu: python-uvicorn: Update to 0.17.6., guix-commits, 2022/04/24
- 149/232: gnu: python-fakeredis: Update to 1.7.1., guix-commits, 2022/04/24
- 152/232: gnu: Add python-openapi-core., guix-commits, 2022/04/24
- 153/232: gnu: Add python-jupyterlab-server., guix-commits, 2022/04/24
- 156/232: gnu: python-llvmlite: Update to 0.38.0., guix-commits, 2022/04/24
- 158/232: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/04/24
- 159/232: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/04/24
- 160/232: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/04/24
- 164/232: gnu: python-voila: Update to 0.3.5.,
guix-commits <=
- 162/232: gnu: python-umap-learn: Update to 0.5.3., guix-commits, 2022/04/24
- 170/232: gnu: python-types-dataclasses: Fix typo., guix-commits, 2022/04/24
- 172/232: gnu: python-readme-renderer: Update to 34.0., guix-commits, 2022/04/24
- 173/232: gnu: mbed-tools: Update to 7.53.0 and relax click version requirement., guix-commits, 2022/04/24
- 167/232: gnu: python-jupyter-protocol: Update to 0.2.0., guix-commits, 2022/04/24
- 177/232: gnu: python-can: Update to 4.0.0., guix-commits, 2022/04/24
- 191/232: gnu: Add python-crccheck., guix-commits, 2022/04/24
- 198/232: gnu: Add python-pydyf., guix-commits, 2022/04/24
- 206/232: gnu: Remove python2-keyring., guix-commits, 2022/04/24
- 188/232: gnu: python-ghp-import: Update to 2.0.2., guix-commits, 2022/04/24