From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oDM/M5J1pGUoqgAAe85BDQ:P1 (envelope-from ) for ; Mon, 15 Jan 2024 01:00:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oDM/M5J1pGUoqgAAe85BDQ (envelope-from ) for ; Mon, 15 Jan 2024 01:00:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=LPMIudD9; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705276818; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=el43snspAHZQrcS5ALEWTgG0W4YP8mR6G0wNE2x7agk=; b=NE6NaDz/8qyi8hxzO3+GOa8JSEcHjqZhx25EP5Xe+7jdmSQxlMyADsqzsNrztTWDuENgJb Vvkj+ju9EjsvVWgX5vSmjDlHEp0V8StG2wq1+xZvZ0qI/FyHw/26k6sWQZLqObaYr8y1jk ZM3DSx7+Fpfj8uQKN9zOgygX4ghwp4r45V7mmBHtP1r3QqQsmXVXejhhNWLduXQfYrqIEF EujfR6E7px6ZDiw20g1VTM4bGMH7F10v+BScSft8eyjxBYS2Ig9g8f3dvLG/rO8r1gmUFB Jc86fIzdAmm8cEkVi/Xc6bD5emp/Z32G+GBAbM61YTrd+/wVGSiMHtQK9fceNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=LPMIudD9; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705276818; a=rsa-sha256; cv=none; b=lh8rLdR6K4Py1wUXgvpb7ay3Bpsgc4cPS3uJS3anml39+xVQCSyh9bu8f/bZKriiNo0MxU zICQjEwHwY43t/ajpAosKEgb9UIEIcbqf4hqgWBDMA/0XIG+Hn5dVxKfYqSf2UYuBjIHZT rSmkKCEGJ8+OskY8sEfIPlFZiN1b0YR5hVK2PJ1//3Aa2EYkpM1B2oOys82eYTFWH251gI t8LW068lFip4qRGt3nuPi8YmLqqqo86g5D96c76FTf+d1fRI1HduCUHVxBwymB512e3e14 AWeDbOkUDfKUXTuZgqTv1BRwiJKr53Z1+YYjwTTac+8Q1n+ytNGIxcDwMBL4kw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B9948400C0 for ; Mon, 15 Jan 2024 01:00:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPAOj-0007iu-Qa; Sun, 14 Jan 2024 19:00:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPAOe-0007dl-Rp for guix-patches@gnu.org; Sun, 14 Jan 2024 19:00:09 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rPAOe-0000lc-4Y for guix-patches@gnu.org; Sun, 14 Jan 2024 19:00:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rPAOd-0002at-HC for guix-patches@gnu.org; Sun, 14 Jan 2024 19:00:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66886] [PATCH v4 4/6] gnu: python-jupytext: Update to 1.15.2. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Jan 2024 00:00:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66886 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 66886@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 66886-submit@debbugs.gnu.org id=B66886.17052767949543 (code B ref 66886); Mon, 15 Jan 2024 00:00:07 +0000 Received: (at 66886) by debbugs.gnu.org; 14 Jan 2024 23:59:54 +0000 Received: from localhost ([127.0.0.1]:44301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPAOP-0002Tm-Uq for submit@debbugs.gnu.org; Sun, 14 Jan 2024 18:59:54 -0500 Received: from confino.investici.org ([2a11:7980:1::2:0]:51147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPAON-0002Sv-LP for 66886@debbugs.gnu.org; Sun, 14 Jan 2024 18:59:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1705276791; bh=el43snspAHZQrcS5ALEWTgG0W4YP8mR6G0wNE2x7agk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LPMIudD92vlh3DVk90AVSf2uKWkTYcyWVzir3YHlr2gQnLXHYud9akuPpcUV4vPw3 +QNFUacVbhNd8/1rVJhSuBX07J1QW3cHVwlV6xd6BAKdHqUXH/JepkZ8VO1rgRMUHp Gsdl5KyYaFKWpCh6Pf8wWyO701MapFwdPcke4qB0= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4TCshR453nz111C; Sun, 14 Jan 2024 23:59:51 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4TCshR33rXz10yK; Sun, 14 Jan 2024 23:59:51 +0000 (UTC) Date: Mon, 15 Jan 2024 00:59:36 +0100 Message-ID: <20240114235938.24529-4-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240114235938.24529-1-goodoldpaul@autistici.org> References: <20240114235938.24529-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.78 X-Migadu-Queue-Id: B9948400C0 X-Spam-Score: -6.78 X-Migadu-Scanner: mx11.migadu.com X-TUID: XyZAUzkYF7nh * gnu/packages/python-xyz.scm (python-jupytext): Update to 1.15.2; [build-system]: switch to pyproject-build-system; [arguments]: add setup-test-environment phase, use check phase from build system and move test flags from here... : ... 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 cef458e0fc..b4b95637c7 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