From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 69980@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#69980] [PATCH python-team v3 13/14] gnu: python-jupytext: Move to pyproject-build-system.
Date: Sat, 1 Jun 2024 16:58:01 +0200 [thread overview]
Message-ID: <20240601145902.26806-14-ngraves@ngraves.fr> (raw)
In-Reply-To: <20240601145902.26806-1-ngraves@ngraves.fr>
* gnu/packages/python-xyz.scm (python-jupytext):
[build-system]: Move to pyproject-build-system.
[arguments]<#:test-flags>: Add flags.
<#:phases>: Remove 'check phase replacement.
Change-Id: I5d708c2fc76b609105c1551a6ed1755c56efcada
---
gnu/packages/python-xyz.scm | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 65345f2b6b5..ae94d13e803 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -455,26 +455,25 @@ (define-public python-jupytext
(file-name (git-file-name name version))
(sha256
(base32 "0bgf0c4py22ip7qfla8mrmypfh3bg151c8awsr1gvcbw7m4ni01k"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
+ #:test-flags
+ '(list "-k" (string-append
+ "not "
+ (string-join
+ (list "test_create_header_with_set_formats"
+ "test_pre_commit_hook"
+ "test_sync_with_pre_commit_hook")
+ " and not ")))
#:phases
#~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
+ (add-before 'check 'pre-check
+ (lambda _
;; some tests fail when HOME=/homeless-shelter.
(setenv "HOME" "/tmp")
;; OSError: [Errno 18] Invalid cross-device link
- (setenv "TMPDIR" "/tmp")
- (when tests?
- (let ((disabled-tests
- (list "test_create_header_with_set_formats"
- "test_pre_commit_hook"
- "test_sync_with_pre_commit_hook")))
- (invoke "pytest" "-vv" "-k"
- (string-append "not "
- (string-join disabled-tests
- " and not "))))))))))
+ (setenv "TMPDIR" "/tmp"))))))
(native-inputs
(list git-minimal
python-autopep8
--
2.41.0
next prev parent reply other threads:[~2024-06-01 15:01 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-24 13:38 [bug#69980] [PATCH 00/13] Update and cleanup pre-commit & friends Vinicius Monego
2024-03-24 13:40 ` [bug#69980] [PATCH 01/13] gnu: python-loguru: Remove pre-commit from native-inputs Vinicius Monego
2024-03-24 13:40 ` [bug#69980] [PATCH 02/13] gnu: python-jsonargparse: " Vinicius Monego
2024-03-24 13:40 ` [bug#69980] [PATCH 03/13] gnu: python-traitlets: " Vinicius Monego
2024-03-24 13:40 ` [bug#69980] [PATCH 04/13] gnu: python-seaborn: " Vinicius Monego
2024-03-24 13:40 ` [bug#69980] [PATCH 05/13] gnu: python-rich-click: " Vinicius Monego
2024-03-24 13:40 ` [bug#69980] [PATCH 06/13] gnu: python-lazy-loader: " Vinicius Monego
2024-03-24 13:40 ` [bug#69980] [PATCH 07/13] gnu: python-jupytext: " Vinicius Monego
2024-03-24 13:40 ` [bug#69980] [PATCH 08/13] gnu: python-omnipath: " Vinicius Monego
2024-03-24 13:40 ` [bug#69980] [PATCH 09/13] gnu: python-cfgv: Update to 3.4.0 Vinicius Monego
2024-03-24 13:40 ` [bug#69980] [PATCH 10/13] gnu: Add python-ukkonen Vinicius Monego
2024-03-24 13:40 ` [bug#69980] [PATCH 11/13] gnu: python-identify: Update to 2.5.35 Vinicius Monego
2024-04-17 22:07 ` Nicolas Graves via Guix-patches via
2024-03-24 13:40 ` [bug#69980] [PATCH 12/13] gnu: python-nodeenv: Update to 1.8.0 Vinicius Monego
2024-03-24 13:40 ` [bug#69980] [PATCH 13/13] gnu: pre-commit: Update to 3.6.2 Vinicius Monego
2024-05-09 14:46 ` [bug#69980] [PATCH v2 00/14] Update and cleanup pre-commit & friends Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 01/14] gnu: python-jsonargparse: Remove pre-commit from native-inputs Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 02/14] gnu: python-traitlets: " Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 03/14] gnu: python-seaborn: " Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 04/14] gnu: python-rich-click: " Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 05/14] gnu: python-lazy-loader: " Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 06/14] gnu: python-jupytext: " Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 07/14] gnu: python-omnipath: " Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 08/14] gnu: python-cfgv: Update to 3.4.0 Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 09/14] gnu: Add python-ukkonen Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 10/14] gnu: python-identify: Update to 2.5.35 Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 11/14] gnu: python-nodeenv: Update to 1.8.0 Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 12/14] gnu: pre-commit: Update to 3.6.2 Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 13/14] gnu: python-jupytext: Move to pyproject-build-system Nicolas Graves via Guix-patches via
2024-05-09 14:47 ` [bug#69980] [PATCH v2 14/14] gnu: jupytext: Fix pre-commit native-input removal Nicolas Graves via Guix-patches via
2024-06-01 14:57 ` [bug#69980] [PATCH python-team v3 00/14] Update pre-commit and remove dependents Nicolas Graves via Guix-patches via
2024-06-01 14:57 ` [bug#69980] [PATCH python-team v3 01/14] gnu: python-jsonargparse: Remove pre-commit from native-inputs Nicolas Graves via Guix-patches via
2024-06-01 14:57 ` [bug#69980] [PATCH python-team v3 02/14] gnu: python-traitlets: " Nicolas Graves via Guix-patches via
2024-06-01 14:57 ` [bug#69980] [PATCH python-team v3 03/14] gnu: python-rich-click: " Nicolas Graves via Guix-patches via
2024-06-01 14:57 ` [bug#69980] [PATCH python-team v3 04/14] gnu: python-lazy-loader: " Nicolas Graves via Guix-patches via
2024-06-01 14:57 ` [bug#69980] [PATCH python-team v3 05/14] gnu: python-omnipath: " Nicolas Graves via Guix-patches via
2024-06-01 14:57 ` [bug#69980] [PATCH python-team v3 06/14] gnu: python-jupytext: " Nicolas Graves via Guix-patches via
2024-06-01 14:57 ` [bug#69980] [PATCH python-team v3 07/14] gnu: python-seaborn: " Nicolas Graves via Guix-patches via
2024-06-01 14:57 ` [bug#69980] [PATCH python-team v3 08/14] gnu: python-cfgv: Update to 3.4.0 Nicolas Graves via Guix-patches via
2024-06-01 14:57 ` [bug#69980] [PATCH python-team v3 09/14] gnu: Add python-ukkonen Nicolas Graves via Guix-patches via
2024-06-01 14:57 ` [bug#69980] [PATCH python-team v3 10/14] gnu: python-identify: Update to 2.5.36 Nicolas Graves via Guix-patches via
2024-06-01 14:57 ` [bug#69980] [PATCH python-team v3 11/14] gnu: python-nodeenv: Update to 1.8.0 Nicolas Graves via Guix-patches via
2024-06-01 14:58 ` [bug#69980] [PATCH python-team v3 12/14] gnu: pre-commit: Update to 3.7.1 Nicolas Graves via Guix-patches via
2024-06-01 14:58 ` Nicolas Graves via Guix-patches via [this message]
2024-06-01 14:58 ` [bug#69980] [PATCH python-team v3 14/14] gnu: jupytext: Fix pre-commit native-input removal Nicolas Graves via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240601145902.26806-14-ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=69980@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.