From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WHutHx7H6GXVOAEAe85BDQ:P1 (envelope-from ) for ; Wed, 06 Mar 2024 20:42:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WHutHx7H6GXVOAEAe85BDQ (envelope-from ) for ; Wed, 06 Mar 2024 20:42:22 +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=YC6iKk4m; 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=1709754142; 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=OPMhsApGSdU2wI+UCyAPY567C/myg1VFxaN/bhT31uk=; b=C+6TDoRFopiM1PIt4wgHKh9jJooNp2LkaKwMGrwsDiVRMdHQOLQojBJH9buNGgLf1dzqjP Tlz+svDTqC/U2aMdVgNIqfGHjRvixv231qiSh0OOmC8hXF4MkRlC++UABzDQlE4f3vLTYx 6z7cuKR5QAlQN2bBDRjNkvl95/o35QsEC7bjNE5Ry1fuUkdRIZyjeFfGh2DXIFRUnie2n3 qTA0pbrc0R9yZtSiTgngt3r7w//TvuxRYbqOFZSrz5GvBeHGEwttU/Hn/k8SQLmUZ7u1bp Cr+zS6x4S6powy/9jpyp9BGl1N76278+emY8wA8fdu+bdBhci7+niTG2+3ScBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=YC6iKk4m; 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=1709754142; a=rsa-sha256; cv=none; b=r7ja8ho7WShJnwuDKFQ/WaVnaBDLlsuyTc1P52boFHSrfXCmrmFSymb2Yh1r/qdIPFCPmt b3YELlc6Fhtp5b/zxs09LaML96KWWZ7KWeRKDMTSZgGzDxoUVPJ8b+MU+IPIaz5KZYeqtZ FtkIm3NJknuo3Fmt04OkuCwm9Crawy7utLVATjdv8acIXohKpAU4SZ9gu0uEkGcmFx/l+L U3o2fudV3Jhr2aFRdo0iHjAuZDiVn5gGSV0EWftcPpXJX8ECGb7oZDEFTlNWdJShNoEPWF 6sjuUy30Tdkv+wer92vzRQCcU6knaOBCT+1+wjfuq0wnVwfkgnlfykyzhyo8Mg== 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 621D911B0E for ; Wed, 6 Mar 2024 20:42:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhx90-0001ex-05; Wed, 06 Mar 2024 14:41:38 -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 1rhx8v-0001bl-Lh for guix-patches@gnu.org; Wed, 06 Mar 2024 14:41:33 -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 1rhx8v-0006C8-DR for guix-patches@gnu.org; Wed, 06 Mar 2024 14:41:33 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhx9Q-0008Ek-CD for guix-patches@gnu.org; Wed, 06 Mar 2024 14:42:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69591] [PATCH 06/31] gnu: Add python-expecttest. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Mar 2024 19:42:04 +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.170975410731517 (code B ref 69591); Wed, 06 Mar 2024 19:42:04 +0000 Received: (at 69591) by debbugs.gnu.org; 6 Mar 2024 19:41:47 +0000 Received: from localhost ([127.0.0.1]:51526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhx95-0008Bo-AV for submit@debbugs.gnu.org; Wed, 06 Mar 2024 14:41:46 -0500 Received: from mout01.posteo.de ([185.67.36.65]:42109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhx8r-00089A-Aw for 69591@debbugs.gnu.org; Wed, 06 Mar 2024 14:41:33 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B1C0124002A for <69591@debbugs.gnu.org>; Wed, 6 Mar 2024 20:40:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709754052; bh=yOw8Ztsd5FRaatm9usq2QJFZs2dyCcYqPqBZ52QiX78=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=YC6iKk4mVw/6k6p8u6Yr2j+iB96aUhkL7OaUrPdNVaNEZBq8FUKJj8Vqs6AnCLTgr iRBjc/UafzI79vaS4TPiknKFQ0OZIjX5GynYqYnSatRjPe4c4ESWkps7EV8VKEnLJc q4FWZov7O6xA7llFYDv4ULM4JL/9sLY/Yks+KCghGfKq8/u0xWHUPsEUFiGRrF/vHo 1BNrfaQ+Z7pFKFPA8f8wlp/J+JyvAYAXCcDTqzucGwEoL/RU7bzr0bpbN85t5Y7Hs0 uriFXDdxkpT9IJR4O7koFR4C8bN407lmrdoDUlPpegUQt5RpSkUHWzacdQJg5QCRhP xQHTLDhrxGEyQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TqjTc2qYRz6txY; Wed, 6 Mar 2024 20:40:52 +0100 (CET) From: David Elsing Date: Wed, 6 Mar 2024 19:40:12 +0000 Message-ID: <20240306194037.17992-6-david.elsing@posteo.net> In-Reply-To: <20240306193725.17463-1-david.elsing@posteo.net> References: <20240306193725.17463-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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.37 X-Spam-Score: -2.37 X-Migadu-Queue-Id: 621D911B0E X-Migadu-Scanner: mx13.migadu.com X-TUID: 33ROlmwOyreT * 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 2338f32801..94694316ca 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2077,6 +2077,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