[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/09: gnu: Add python-bokeh.
From: |
guix-commits |
Subject: |
06/09: gnu: Add python-bokeh. |
Date: |
Thu, 16 Jun 2022 09:27:11 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit d62dbedd6d3a64e26c386b1c7091ef9eebd65da9
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jun 16 15:17:15 2022 +0200
gnu: Add python-bokeh.
* gnu/packages/python-xyz.scm (python-bokeh): New variable.
---
gnu/packages/python-xyz.scm | 92 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 92 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e6bd8c4832..4b8e63890f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -197,6 +197,7 @@
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages networking)
#:use-module (gnu packages ncurses)
+ #:use-module (gnu packages node)
#:use-module (gnu packages ninja)
#:use-module (gnu packages openstack)
#:use-module (gnu packages pcre)
@@ -14387,6 +14388,97 @@ named for) extending the Levenberg-Marquardt method
from
enhancements to optimization and data fitting problems.")
(license license:bsd-3)))
+(define-public python-bokeh
+ (package
+ (name "python-bokeh")
+ (version "2.4.3")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "bokeh" version))
+ (sha256
+ (base32
+ "00sbhya9vfdv3yi07j6mxwx1x1h9497nhd3smdjrcdxgc48q0czg"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; These require selenium.
+ (delete-file "tests/unit/bokeh/io/test_export.py")
+ (delete-file "tests/unit/bokeh/io/test_webdriver.py")
+ (delete-file "tests/unit/bokeh/embed/test_standalone.py")
+
+ ;; Doesn't find ManagedServerLoop fixture
+ (delete-file "tests/unit/bokeh/test_client_server.py")
+
+ ;; This fails because of the Guix wrapper around pytest
+ (delete-file "tests/unit/bokeh/io/test_util__io.py")
+
+ ;; Fixture ipython not found.
+ (delete-file
"tests/unit/bokeh/application/handlers/test_notebook__handlers.py")
+ (delete-file
"tests/unit/bokeh/command/subcommands/test_info.py")
+
+ ;; pd fixture not found.
+ (delete-file "tests/unit/bokeh/models/test_mappers.py")
+ (delete-file "tests/unit/bokeh/models/util/test_structure.py")
+ (delete-file "tests/unit/bokeh/plotting/test__plot.py")
+ (delete-file "tests/unit/bokeh/plotting/test__graph.py")
+ (delete-file "tests/unit/bokeh/plotting/test_figure.py")
+ (delete-file "tests/unit/bokeh/core/test_json_encoder.py")
+ (delete-file "tests/unit/bokeh/core/property/test_bases.py")
+ (delete-file "tests/unit/bokeh/core/property/test_container.py")
+ (delete-file "tests/unit/bokeh/core/property/test_dataspec.py")
+ (delete-file "tests/unit/bokeh/core/property/test_datetime.py")
+ (delete-file "tests/unit/bokeh/core/property/test_pandas.py")
+
+ ;; nx fixture not found.
+ (delete-file "tests/unit/bokeh/plotting/test_graph.py")
+ (delete-file "tests/unit/bokeh/models/test_graphs.py")
+ (delete-file "tests/unit/bokeh/io/test_showing.py")
+ (delete-file
"tests/unit/bokeh/document/test_events__document.py")
+
+ ;; These tests need external sample data
+ (delete-file-recursively "tests/unit/bokeh/sampledata/")
+
+ ;; Attempts to install something via npm.
+ (delete-file "tests/unit/bokeh/test_ext.py")
+
+ ;; More failures due to set up problems.
+ (delete-file "tests/unit/bokeh/server/test_server__server.py")
+ (delete-file "tests/unit/bokeh/server/test_tornado__server.py")
+ (delete-file "tests/unit/bokeh/util/test_serialization.py")
+ (delete-file "tests/unit/bokeh/util/test_hex.py")
+ (delete-file "tests/unit/bokeh/models/test_sources.py")
+ (delete-file "tests/unit/bokeh/embed/test_bundle.py")
+
+ (invoke "pytest" "-v")))))))
+ (propagated-inputs
+ (list node-lts
+ python-jinja2
+ python-numpy
+ python-packaging
+ python-pillow
+ python-pyyaml
+ python-tornado
+ python-typing-extensions))
+ (native-inputs
+ (list python-beautifulsoup4
+ python-dateutil
+ python-flaky
+ python-nbconvert
+ python-pandas
+ python-pytest
+ python-pytz
+ python-requests))
+ (home-page "https://github.com/bokeh/bokeh")
+ (synopsis "Interactive plots and applications in the browser from Python")
+ (description
+ "This package provides tools for interactive plots and applications in the
+browser from Python.")
+ (license license:bsd-3)))
+
(define-public python-boto
(package
(name "python-boto")
- branch master updated (59ec9e3f3e -> f700223c3b), guix-commits, 2022/06/16
- 02/09: gnu: Add python-pyarrow-0.16., guix-commits, 2022/06/16
- 04/09: gnu: Add python-interlap., guix-commits, 2022/06/16
- 05/09: gnu: Add python-multiprocessing-on-dill., guix-commits, 2022/06/16
- 08/09: gnu: Add python-arboreto., guix-commits, 2022/06/16
- 03/09: gnu: python-locket: Update to 1.0.0., guix-commits, 2022/06/16
- 09/09: gnu: Add pyscenic., guix-commits, 2022/06/16
- 06/09: gnu: Add python-bokeh.,
guix-commits <=
- 01/09: gnu: Add apache-arrow-0.16., guix-commits, 2022/06/16
- 07/09: gnu: Add python-ctxcore., guix-commits, 2022/06/16