[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
113/361: gnu: python-jupyterlab-server: Update to 2.27.1.
From: |
guix-commits |
Subject: |
113/361: gnu: python-jupyterlab-server: Update to 2.27.1. |
Date: |
Fri, 22 Nov 2024 06:00:23 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit bcc80ad27def1df3710d3c8c8d59f827c1442540
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 8 10:06:46 2024 +0200
gnu: python-jupyterlab-server: Update to 2.27.1.
* gnu/packages/jupyter.scm (python-jupyterlab-server): Update to 2.27.1.
[build-system]: Use pyproject-build-system.
[arguments]: Replace custom 'check phase with #:test-flags; add phases
'ignore-deprecation-warnings and 'set-HOME.
[propagated-inputs]: Remove python-entrypoints.
[native-inputs]: Remove python-jupyter-server and python-pytest-tornasync;
add
python-hatchling, python-pytest-cov, python-pytest-jupyter,
python-pytest-timeout, python-requests-mock, and python-werkzeug.
Change-Id: If0a0631717a6dc6a260d6954349576b0f4efda3d
---
gnu/packages/jupyter.scm | 43 +++++++++++++++++++++++++++----------------
1 file changed, 27 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index f60f6cc500..a99c408f83 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -361,28 +361,35 @@ the JupyterLab CSS variables.")
(define-public python-jupyterlab-server
(package
(name "python-jupyterlab-server")
- (version "2.12.0")
+ (version "2.27.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "jupyterlab_server" version))
(sha256
- (base32 "1gxbfa5s0v4z0v8kagkm2bz8hlli5pwhr89y68w5kxcrqfsg9q00"))))
- (build-system python-build-system)
+ (base32 "07b3m34akrf79xpaim9cymhsac0ry5ry7if998lcfxmn173mlyq9"))))
+ (build-system pyproject-build-system)
(arguments
(list
+ #:test-flags
+ ;; XXX: These tests appear to fail due to the lack of
+ ;; locales.
+ '(list "-k" "not locale and not language")
#:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vv" "-c" "/dev/null" "tests"
- ;; XXX: These tests appear to fail due to the lack of
- ;; locales.
- "-k" "not locale and not language")))))))
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'ignore-deprecation-warnings
+ (lambda _
+ (substitute* "pyproject.toml"
+ ((" \"module:datetime.*" m)
+ (string-append
+ m
+ "\n\"ignore:zmq.eventloop.ioloop is
deprecated:DeprecationWarning\","
+ "\n\"ignore:There is no current event
loop:DeprecationWarning\","
+ "\n\"ignore:Spec is deprecated. Use SchemaPath from
jsonschema-path package.:DeprecationWarning\"," )))))
+ (add-before 'check 'set-HOME
+ (lambda _ (setenv "HOME" "/tmp"))))))
(propagated-inputs
(list python-babel
- python-entrypoints
python-importlib-metadata ;TODO: remove after Python >= 3.10
python-jinja2
python-json5
@@ -391,15 +398,19 @@ the JupyterLab CSS variables.")
python-packaging
python-requests))
(native-inputs
- (list python-ipykernel
- python-jupyter-server
+ (list python-hatchling
+ python-ipykernel
python-openapi-core
python-openapi-spec-validator
python-pytest
python-pytest-console-scripts
- python-pytest-tornasync
+ python-pytest-cov
+ python-pytest-jupyter
+ python-pytest-timeout
+ python-requests-mock
python-ruamel.yaml
- python-strict-rfc3339))
+ python-strict-rfc3339
+ python-werkzeug))
(home-page "https://jupyter.org")
(synopsis "Server components for JupyterLab applications")
(description "JupyterLab Server sits between JupyterLab and Jupyter
- 97/361: gnu: Add python-jupyter-server-terminals., (continued)
- 97/361: gnu: Add python-jupyter-server-terminals., guix-commits, 2024/11/22
- 102/361: gnu: python-pydata-sphinx-theme: Disable one test., guix-commits, 2024/11/22
- 100/361: gnu: python-tabulate: Add Setuptools and Wheel., guix-commits, 2024/11/22
- 101/361: gnu: python-openapi-schema-validator: Update to 0.6.2., guix-commits, 2024/11/22
- 106/361: gnu: Add python-pathable., guix-commits, 2024/11/22
- 103/361: gnu: python-lazy-object-proxy: Update to 1.10.0., guix-commits, 2024/11/22
- 105/361: gnu: python-sparqlkernel: Patch install script., guix-commits, 2024/11/22
- 110/361: gnu: python-openapi-core: Update to 0.19.1., guix-commits, 2024/11/22
- 107/361: gnu: Add python-jsonschema-path., guix-commits, 2024/11/22
- 114/361: gnu: python-sphinx-pytest: Update to 0.2.0., guix-commits, 2024/11/22
- 113/361: gnu: python-jupyterlab-server: Update to 2.27.1.,
guix-commits <=
- 108/361: gnu: python-openapi-spec-validator: Update to 0.7.1., guix-commits, 2024/11/22
- 117/361: gnu: repo2docker: Update to 2024.03.0., guix-commits, 2024/11/22
- 116/361: gnu: Add python-sphinxext-rediraffe., guix-commits, 2024/11/22
- 118/361: gnu: Add python-pytoolconfig., guix-commits, 2024/11/22
- 124/361: gnu: python-nbclient: Update to 0.10.0., guix-commits, 2024/11/22
- 126/361: gnu: python-sphinx-4: Inherit from python-sphinx-5., guix-commits, 2024/11/22
- 119/361: gnu: Add python-whatthepatch., guix-commits, 2024/11/22
- 130/361: gnu: python-nbconvert: Update to 7.16.4., guix-commits, 2024/11/22
- 131/361: gnu: python-widgetsnbextension: Update to 4.0.10., guix-commits, 2024/11/22
- 134/361: gnu: python-jupyterlab-widgets: Update to 3.0.10., guix-commits, 2024/11/22