From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MPKNJ3Va/2V0HQEAe85BDQ:P1 (envelope-from ) for ; Sat, 23 Mar 2024 23:40:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MPKNJ3Va/2V0HQEAe85BDQ (envelope-from ) for ; Sat, 23 Mar 2024 23:40:53 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=rGJXlp8u; 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=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711233653; h=from:from:sender:sender: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=vuuEhBZKoQuFh701oZn5zwV8Dcxe21U5IDV5dn7qBA4=; b=H3lHNTZitp6XJmbmm1+aNlG68Avk3lPxqS6K0mY+OKezldqmsa06wAFETNkApxvex4vg+t QK8PH1dnahwY/ivlW/1AOf/XzFhamRPenjYLKTYLMfvjkSSbqRDmz4Iqxl2tKtaD+L2EBe 4zP7ygneJwoEbJkxARhmGf1yz1TybEoxZDSTtSaefShJo5vWkBCL0DhdW6vg1HNSr1aDKH 5/Zsxf3cB/+h45w5dCM0/uT5679mzIC6Uf57X+jBkTACZ/64UkeTl1weUlVyH3s06/5OGh oVfXukGzZV+3rtL7b9ZKVQ9vibaYDIvo3fazSyUNdVBwVGxLCY60Yg5dOiuwGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=rGJXlp8u; 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=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711233653; a=rsa-sha256; cv=none; b=XvFcKgmSfaRv5tuEamAaF3GfxnJdAYXCLO48b4HrfAGMwbwX/rlXquD5zNbMZ5n3ZzXFbx J6o9pUM2ZtWdTX1gBPnwiXugQyQlQjpV2mhPiHVFVTBcJ5/hV4LVx7hRtD7AyjODt9P+W2 3OHPpFXz6PYYcUddI9Ah2ZfIBRz6P/bWeYO7MZ0GwgyK/Bqg5nv188Yab++YhoagF9qc+A GR4K6opxULdsu3hRT6SxU5uUknf5/z/lsz9QFvZGg+vUsFs32Ot5bK3JGwszpUZKZ8QSYS pcYA55aZPWbbDjoHb4g7vvG4TlnCgZK69uOpNBDdPU/LvfDEY70CpD4tnCldnA== 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 8BC088739 for ; Sat, 23 Mar 2024 23:40:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1roA2J-0003Gh-9S; Sat, 23 Mar 2024 18:40:23 -0400 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 1roA2H-0003FC-BZ for guix-patches@gnu.org; Sat, 23 Mar 2024 18:40:21 -0400 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 1roA2H-0006mW-2n for guix-patches@gnu.org; Sat, 23 Mar 2024 18:40:21 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1roA2w-0007uC-Et for guix-patches@gnu.org; Sat, 23 Mar 2024 18:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69591] [PATCH v4 06/32] gnu: Add python-expecttest. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Mar 2024 22:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69591 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69591@debbugs.gnu.org Cc: David Elsing Received: via spool by 69591-submit@debbugs.gnu.org id=B69591.171123362830243 (code B ref 69591); Sat, 23 Mar 2024 22:41:02 +0000 Received: (at 69591) by debbugs.gnu.org; 23 Mar 2024 22:40:28 +0000 Received: from localhost ([127.0.0.1]:58185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roA2M-0007rc-R3 for submit@debbugs.gnu.org; Sat, 23 Mar 2024 18:40:28 -0400 Received: from mout01.posteo.de ([185.67.36.65]:58543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ro9VD-0006Nr-MQ for 69591@debbugs.gnu.org; Sat, 23 Mar 2024 18:06:12 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 503E0240028 for <69591@debbugs.gnu.org>; Sat, 23 Mar 2024 23:05:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711231524; bh=yx4mr88ZNH5uC1bwX/SeZB2PHGyj/MaLFFJd3cxYz98=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=rGJXlp8uey/h2dqyX9zwqNGxvuun1JYqysFsBGSgudYluvlCPKdITOCZe/2xbxxr6 /c5oJnfef+31OntYwwaLrDxkFM7uyLdL0O+gg5h5gCt+kSn9zVWxQVzSpTY0JpIxCH yhL3ozXEIFyL9zYoh0DTvJ+5Qt5X97hH7LvC5nhTwGclkKecfbyU3mB7GkD3u5ZOcl 4bWFCrYIxyhTCQ3z87wpGPTqVStVhMrll2kMKwuhAGB6i+jXmwzkQIpcEoinpV/gqu amY1/7XGRKDjafGiXfCYRcwx913UhYsua3WcOlrBcgeFIaB/Imkt7PmEyzqPE5awiq XaemHaVXtDx0g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V2CtW4lF0z6trs; Sat, 23 Mar 2024 23:05:23 +0100 (CET) From: David Elsing Date: Sat, 23 Mar 2024 22:04:45 +0000 Message-ID: <20240323220518.25063-6-david.elsing@posteo.net> In-Reply-To: <20240323214040.20221-1-david.elsing@posteo.net> References: <20240323214040.20221-1-david.elsing@posteo.net> 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 8BC088739 X-Spam-Score: -3.93 X-Migadu-Spam-Score: -3.93 X-Migadu-Scanner: mx10.migadu.com X-TUID: AV2TEqEBZyDd * gnu/packages/python-check.scm (python-expecttest): New variable. --- gnu/packages/python-check.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index f876088488..dbca80652c 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2078,6 +2078,41 @@ (define-public python-eradicate valid Python syntax that are likely to be commented out code.") (license license:expat))) +(define-public python-expecttest + (let ((commit "683b09a352cc426851adc2e3a9f46e0ab25e4dee") + (revision "0")) + (package + (name "python-expecttest") + (version (git-version "0.2.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ezyang/expecttest") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1djwxp9x1hczzxbimv1b1bmd083am88v27l82nmlkhvzyg2cmpvv")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; The test runs tests expected to fail, so the output is + ;; confusing + (invoke "python3" "test_expecttest.py"))))))) + (native-inputs (list python-hypothesis poetry)) + (home-page "https://github.com/ezyang/expecttest") + (synopsis "Python module for expect tests") + (description "@code{expecttest} is a Python module for expect tests, where +the initial expected value of a test can be automatically set by running the +test itself.") + (license license:expat)))) + (define-public python-robber (package (name "python-robber") -- 2.41.0