[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
188/474: gnu: python-nbstripout: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
188/474: gnu: python-nbstripout: Move to pyproject-build-system. |
Date: |
Sat, 30 Nov 2024 18:20:16 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 37914f648060a8c7b6217882de1bf36c865d0d47
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
- 145/474: gnu: vdirsyncer: Move to pyproject-build-system and enable tests., (continued)
- 145/474: gnu: vdirsyncer: Move to pyproject-build-system and enable tests., guix-commits, 2024/11/30
- 154/474: gnu: python-alembic: Move to pyproject-build-system., guix-commits, 2024/11/30
- 161/474: gnu: zulip-term: Move to pyproject-build-system., guix-commits, 2024/11/30
- 160/474: gnu: dynaconf: Improve package style., guix-commits, 2024/11/30
- 175/474: gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system., guix-commits, 2024/11/30
- 176/474: gnu: abjad: Update to 3.19., guix-commits, 2024/11/30
- 163/474: gnu: python-dateutil: Move to pyproject-build-system., guix-commits, 2024/11/30
- 179/474: gnu: python-pytest-remotedata: Ignore failing test., guix-commits, 2024/11/30
- 182/474: gnu: python-docspec-python: Move to pyproject-build-system., guix-commits, 2024/11/30
- 187/474: gnu: python-jaraco-test: Move to pyproject-build-system., guix-commits, 2024/11/30
- 188/474: gnu: python-nbstripout: Move to pyproject-build-system.,
guix-commits <=
- 189/474: gnu: Add ghc-xcb-types., guix-commits, 2024/11/30
- 194/474: gnu: python-autoflake: Update to 2.3.1., guix-commits, 2024/11/30
- 201/474: gnu: python-uqbar: Improve package style., guix-commits, 2024/11/30
- 192/474: gnu: python-pint: Disable benchmark tests., guix-commits, 2024/11/30
- 200/474: gnu: Add python-sphinx-autodoc-typehints-5., guix-commits, 2024/11/30
- 204/474: gnu: python-typeguard-4: Ignore failing tests., guix-commits, 2024/11/30
- 206/474: gnu: python-funsor: Ignore flaky test., guix-commits, 2024/11/30
- 203/474: gnu: python-uqbar: Update to 0.6.9., guix-commits, 2024/11/30
- 252/474: gnu: python-behave-web-api: Update to 2.0.1., guix-commits, 2024/11/30
- 228/474: gnu: python-automat: Update to 22.10.0., guix-commits, 2024/11/30