[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
188/361: gnu: python-nbstripout: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
188/361: gnu: python-nbstripout: Move to pyproject-build-system. |
Date: |
Thu, 21 Nov 2024 06:29:15 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit fbde6066a9e10bce38613480a57326a0d055f4cf
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:53 2024 +0200
gnu: python-nbstripout: Move to pyproject-build-system.
* gnu/packages/jupyter.scm (python-nbstripout):
[build-system]: Move to pyproject-build-system.
[arguments]: Convert 'check replacement phase from <#:phases> to
<#:test-flags>. Use gexp.
Change-Id: I4d97b0739c43371c149296b23951cb2c17129840
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/jupyter.scm | 26 ++++++++++++--------------
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 5e97eef29f..2c9dd6d71c 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -860,21 +860,19 @@ nbshow present a single notebook in a terminal-friendly
way
(sha256
(base32
"1n57nvxsc94gz9w8ymi83bjkfhfwkpmx4y14m6gjrmlqd49m1aw6"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'delete-bad-tests
- (lambda _
- ;; These tests use git and hg, and they are sensitive to the
- ;; exact printed output.
- (for-each delete-file (list "tests/test-git.t"
- "tests/test-hg.t"
- "tests/test-status.t"
- "tests/test-uninstall.t"))))
- (add-before 'check 'set-CRAMSHELL
- (lambda _
- (setenv "CRAMSHELL" (which "bash")))))))
+ (list
+ ;; These tests use git and hg, and they are sensitive to the
+ ;; exact printed output.
+ #:test-flags '(map (lambda (test)
+ (string-append "--ignore=tests/test-" test ".t"))
+ '("git" "hg" "status" "uninstall"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-CRAMSHELL
+ (lambda _
+ (setenv "CRAMSHELL" (which "bash")))))))
(propagated-inputs (list python-nbformat))
(native-inputs
(list python-pytest
- 126/361: gnu: python-sphinx-4: Inherit from python-sphinx-5., (continued)
- 126/361: gnu: python-sphinx-4: Inherit from python-sphinx-5., guix-commits, 2024/11/21
- 125/361: gnu: python-sphinx-5: Disable failing tests., guix-commits, 2024/11/21
- 102/361: gnu: python-pydata-sphinx-theme: Disable one test., guix-commits, 2024/11/21
- 134/361: gnu: python-jupyterlab-widgets: Update to 3.0.10., guix-commits, 2024/11/21
- 145/361: gnu: vdirsyncer: Move to pyproject-build-system and enable tests., guix-commits, 2024/11/21
- 152/361: gnu: qtile: Improve package style., guix-commits, 2024/11/21
- 149/361: gnu: Add ghc-language-python., guix-commits, 2024/11/21
- 147/361: gnu: python-docker-pycreds: Move to pyproject-build-system., guix-commits, 2024/11/21
- 156/361: gnu: conda: Reindent., guix-commits, 2024/11/21
- 181/361: gnu: python-cairosvg: Move to pyproject-build-system., guix-commits, 2024/11/21
- 188/361: gnu: python-nbstripout: Move to pyproject-build-system.,
guix-commits <=
- 201/361: gnu: python-uqbar: Improve package style., guix-commits, 2024/11/21
- 209/361: gnu: python-fenics-dijitso: Move to pyproject-build-system., guix-commits, 2024/11/21
- 210/361: gnu: python-pyan3: Move to pyproject-build-system., guix-commits, 2024/11/21
- 219/361: gnu: python-notebook: Add python-jupyter-server to native inputs., guix-commits, 2024/11/21
- 223/361: gnu: Remove python-mistune-next., guix-commits, 2024/11/21
- 220/361: gnu: build-system/pyproject: Add missing native-inputs., guix-commits, 2024/11/21
- 231/361: gnu: python-daft: Adjust inputs., guix-commits, 2024/11/21
- 237/361: gnu: python-optree: Adjust inputs., guix-commits, 2024/11/21
- 84/361: gnu: python-jupyter-kernel-mgmt: Use Tornado 6., guix-commits, 2024/11/21
- 79/361: gnu: python-argon2-cffi: Update to 21.1.0., guix-commits, 2024/11/21