all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Giacomo Leidi via Guix-patches via <guix-patches@gnu.org>
To: 66886@debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul@autistici.org>
Subject: [bug#66886] [PATCH v3 4/6] gnu: python-jupytext: Update to 1.15.2.
Date: Sun,  3 Dec 2023 16:22:56 +0100	[thread overview]
Message-ID: <20231203152258.1793-4-goodoldpaul@autistici.org> (raw)
In-Reply-To: <20231203152258.1793-1-goodoldpaul@autistici.org>

* gnu/packages/python-xyz.scm (python-jupytext): Update to 1.15.2;
[build-system]: switch to pyproject-build-system;
[arguments]<phases>: add setup-test-environment phase, use check phase
from build system and move test flags from here...
<test-flags>: ... to here.

Change-Id: Iaec4090823715230e26865d4639871fb7c565802
---
 gnu/packages/python-xyz.scm | 26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7b96576810..bb69873651 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -336,7 +336,7 @@ (define-public python-janus
 (define-public python-jupytext
   (package
     (name "python-jupytext")
-    (version "1.14.4")
+    (version "1.15.2")
     (source
      (origin
        (method git-fetch)
@@ -345,27 +345,23 @@ (define-public python-jupytext
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "19d443vx597zzxna09qpync9iic3mris80bwm3kd8xaxaq0zq9w4"))))
-    (build-system python-build-system)
+        (base32 "0zi2b2g9b2dkzl69li5rwc17pdcxj8cxzlysd8s6jqbcc37jiwqs"))))
+    (build-system pyproject-build-system)
     (arguments
      (list
+      #:test-flags
+      #~'("-k" #$(string-join (list "not 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 'setup-test-environment
+            (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
            pre-commit
-- 
2.41.0





  parent reply	other threads:[~2023-12-03 15:24 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-01 16:58 [bug#66886] Update python-textual to 0.41 paul via Guix-patches via
2023-11-01 17:01 ` [bug#66886] [PATCH 1/5] gnu: Add python-pygments-2.16 Giacomo Leidi via Guix-patches via
2023-11-01 17:01   ` [bug#66886] [PATCH 2/5] gnu: python-markdown-it-py: Update to 3.0.0 Giacomo Leidi via Guix-patches via
2023-11-01 17:01   ` [bug#66886] [PATCH 3/5] gnu: python-rich: Update to 13.6.0 Giacomo Leidi via Guix-patches via
2023-11-01 17:01   ` [bug#66886] [PATCH 4/5] gnu: python-mdit-py-plugins: Update to 0.4.0 Giacomo Leidi via Guix-patches via
2023-11-01 17:01   ` [bug#66886] [PATCH 5/5] gnu: python-textual: Update to 0.41.0 Giacomo Leidi via Guix-patches via
2023-11-02  0:14   ` jgart via Guix-patches via
2023-11-16 23:55     ` paul via Guix-patches via
2023-11-18  2:44     ` jgart via Guix-patches via
2023-12-03 15:21       ` paul via Guix-patches via
2023-12-29 22:07         ` paul via Guix-patches via
2024-01-14 23:54           ` paul via Guix-patches via
2024-02-27 18:42             ` paul via Guix-patches via
2024-02-27 18:42               ` bug#66886: " paul via Guix-patches via
2023-11-16 23:54 ` [bug#66886] [PATCH v2 1/5] gnu: Add python-pygments-2.16 Giacomo Leidi via Guix-patches via
2023-11-16 23:54   ` [bug#66886] [PATCH v2 2/5] gnu: python-markdown-it-py: Update to 3.0.0 Giacomo Leidi via Guix-patches via
2023-11-16 23:54   ` [bug#66886] [PATCH v2 3/5] gnu: python-rich: Update to 13.7.0 Giacomo Leidi via Guix-patches via
2023-11-16 23:54   ` [bug#66886] [PATCH v2 4/5] gnu: python-mdit-py-plugins: Update to 0.4.0 Giacomo Leidi via Guix-patches via
2023-11-16 23:54   ` [bug#66886] [PATCH v2 5/5] gnu: python-textual: Update to 0.41.0 Giacomo Leidi via Guix-patches via
2023-12-03 15:22 ` [bug#66886] [PATCH v3 1/6] gnu: Add python-pygments-2.16 Giacomo Leidi via Guix-patches via
2023-12-03 15:22   ` [bug#66886] [PATCH v3 2/6] gnu: python-markdown-it-py: Update to 3.0.0 Giacomo Leidi via Guix-patches via
2023-12-03 15:22   ` [bug#66886] [PATCH v3 3/6] gnu: python-rich: Update to 13.7.0 Giacomo Leidi via Guix-patches via
2023-12-03 15:22   ` Giacomo Leidi via Guix-patches via [this message]
2023-12-03 15:22   ` [bug#66886] [PATCH v3 5/6] gnu: python-mdit-py-plugins: Update to 0.4.0 Giacomo Leidi via Guix-patches via
2023-12-03 15:22   ` [bug#66886] [PATCH v3 6/6] gnu: python-textual: Update to 0.41.0 Giacomo Leidi via Guix-patches via
2024-01-14 23:59 ` [bug#66886] [PATCH v4 1/6] gnu: Add python-pygments-2.16 Giacomo Leidi via Guix-patches via
2024-01-14 23:59   ` [bug#66886] [PATCH v4 2/6] gnu: python-markdown-it-py: Update to 3.0.0 Giacomo Leidi via Guix-patches via
2024-01-14 23:59   ` [bug#66886] [PATCH v4 3/6] gnu: python-rich: Update to 13.7.0 Giacomo Leidi via Guix-patches via
2024-01-14 23:59   ` [bug#66886] [PATCH v4 4/6] gnu: python-jupytext: Update to 1.15.2 Giacomo Leidi via Guix-patches via
2024-01-14 23:59   ` [bug#66886] [PATCH v4 5/6] gnu: python-mdit-py-plugins: Update to 0.4.0 Giacomo Leidi via Guix-patches via
2024-01-14 23:59   ` [bug#66886] [PATCH v4 6/6] gnu: python-textual: Update to 0.47.1 Giacomo Leidi 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=20231203152258.1793-4-goodoldpaul@autistici.org \
    --to=guix-patches@gnu.org \
    --cc=66886@debbugs.gnu.org \
    --cc=goodoldpaul@autistici.org \
    /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.