[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
164/242: gnu: python-voila: Update to 0.3.5.
From: |
guix-commits |
Subject: |
164/242: gnu: python-voila: Update to 0.3.5. |
Date: |
Wed, 11 May 2022 18:03:21 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 6020b9cfc3a8a5b70b1ca6e032a59e4996a892c5
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 | 42 ++++++++++++++++++++++++++++++++++--------
1 file changed, 34 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index aaf69af5c6..109241771a 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -713,26 +713,52 @@ datasets across widgets.")
(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")
- 151/242: gnu: Add python-dictpath., (continued)
- 151/242: gnu: Add python-dictpath., guix-commits, 2022/05/11
- 143/242: gnu: python-uvicorn: Update to 0.17.6., guix-commits, 2022/05/11
- 154/242: gnu: python-hypothesis-6.23: Update to 6.43.3., guix-commits, 2022/05/11
- 155/242: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/05/11
- 148/242: gnu: Add python-aioredis., guix-commits, 2022/05/11
- 156/242: gnu: python-llvmlite: Update to 0.38.0., guix-commits, 2022/05/11
- 160/242: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/05/11
- 159/242: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/05/11
- 161/242: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/05/11
- 163/242: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/05/11
- 164/242: gnu: python-voila: Update to 0.3.5.,
guix-commits <=
- 165/242: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/05/11
- 173/242: gnu: mbed-tools: Update to 7.53.0 and relax click version requirement., guix-commits, 2022/05/11
- 175/242: gnu: python-parse-type: Update to 0.6.0, fixing build., guix-commits, 2022/05/11
- 178/242: gnu: python-amqp: Update to 5.1.1 and enable tests., guix-commits, 2022/05/11
- 166/242: gnu: python-sparqlkernel: Use gexps and fix inputs., guix-commits, 2022/05/11
- 172/242: gnu: python-readme-renderer: Update to 34.0., guix-commits, 2022/05/11
- 176/242: gnu: Add python-bson., guix-commits, 2022/05/11
- 169/242: gnu: xeus: Update to 2.4.1., guix-commits, 2022/05/11
- 185/242: gnu: python-multipart: Fix build with PyYAML 6., guix-commits, 2022/05/11
- 174/242: gnu: conan: Update to 1.47.0 and relax PyYAML requirement., guix-commits, 2022/05/11