From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 oOxxKVyGzmUqnQAAqHPOHw:P1 (envelope-from ) for ; Thu, 15 Feb 2024 22:47:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oOxxKVyGzmUqnQAAqHPOHw (envelope-from ) for ; Thu, 15 Feb 2024 22:47:08 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=yGuZ4xXM; 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 (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708033628; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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=Q/r4K23JsyGqX5OXS/AcSrq046foZZ4gR9y3dBo7ekY=; b=bbwi/at4xNQj4bWzFa7H75P4jIbQG2esd710zKZvYvjwUghCnUpu11OWj/D2GCeY4zRcHw ArTXXiXdPqgvnAlvv2BSn5waGv8POGvB19D2tqBxVkIopsrqvFNMC6AlI4+xcoU6Mdsotf 6pXuoOXhebRYIAU9daDqJAL7tlpZShhr/cHXn/YC+9Jcl8e6l1/aJtBxiY04cKT2x5sD38 QoYBkOUWj4RKeOqUmbO3FWYEMqkkFB7M2t7xQRXv6WiNj9WHRWUOt3DzfKBxOk9wCw8IfM B82XOVOTu0g5SfUzws9SH92P9XDCFQ4xHWzuTulZ9+TnqZ2OP/o4Rr9oLC528Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=yGuZ4xXM; 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 (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708033628; a=rsa-sha256; cv=none; b=MOna5mRhDSm7D575pW73rDNM/trrTedc5Ee9xls77DcZNm+4ZJmNWUoVIMpLoXPqTBcMay so8HP14qFOpsNOE4WYGRm6Chp4C4TkoD/Dps3S3TslV8ilESu/N9fbTjKkd0JbiwcsC6wb 1y7JaZHuLwVKPJ1k/VejQK/Vl2EqzhWJooOtteJQUPkM7JfX8wc6ye9FQdr3hSL9924s3T gujs0LJBR34+tXkWoM5JM7j7kalYwmjwIHCyr2P7ztIjpklL7FRjn5N6jUAJ62HbQVzryU saFvQAfqiz5DzL9vk/XcEDWjjLpT73omqPeBQyAHm5OiofVL1BVkv4lg0Jktyg== 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 6DD6370582 for ; Thu, 15 Feb 2024 22:47:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rajZ8-0005ya-SD; Thu, 15 Feb 2024 16:46:46 -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 1rajZ5-0005yD-Bt for guix-patches@gnu.org; Thu, 15 Feb 2024 16:46:43 -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 1rajZ5-0005b4-3q for guix-patches@gnu.org; Thu, 15 Feb 2024 16:46:43 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rajZN-0006jB-UG for guix-patches@gnu.org; Thu, 15 Feb 2024 16:47:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69074] [PATCH] gnu: Add python-pysmt. References: In-Reply-To: Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Feb 2024 21:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69074@debbugs.gnu.org Received: via spool by 69074-submit@debbugs.gnu.org id=B69074.170803359825832 (code B ref 69074); Thu, 15 Feb 2024 21:47:01 +0000 Received: (at 69074) by debbugs.gnu.org; 15 Feb 2024 21:46:38 +0000 Received: from localhost ([127.0.0.1]:57623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rajYz-0006iZ-Rg for submit@debbugs.gnu.org; Thu, 15 Feb 2024 16:46:38 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]:38406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rajYy-0006iM-5A for 69074@debbugs.gnu.org; Thu, 15 Feb 2024 16:46:36 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4TbTCP28Ydz9sd9 for <69074@debbugs.gnu.org>; Thu, 15 Feb 2024 22:46:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1708033569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q/r4K23JsyGqX5OXS/AcSrq046foZZ4gR9y3dBo7ekY=; b=yGuZ4xXMunC8xOqCqcGdCrUWLSBWzEmEBUFtenITyjw8vAoJGBk/4YSSC5oQPEvcTFYQ7W J1QDlWCXVr2BqIoQaXeK1Ij1tSqEJw4o5PRNx2Uh7HhgiChxbwBm2HmdW/QTO9LCcQZJFw 1ADOV4giWZzOrQBF6uFHfiX8RKlMxSAMjk99ieVo5CN/gTz7cOYFhQnll1MsFubTYOS6L0 TxeOjFW6jSlDWXaL7mhcIP0G+iPQEJcWOxVRStO5N9afeDL0QZ4Eo2uMQAmBOsGcWddDac y+VddzDTtV6YQYq/+/S6eWpW2m5MePYQaSTs723C/2xnVXAYnuDaOVbADdULIA== From: Troy Figiel Date: Mon, 12 Feb 2024 15:58:21 +0100 Message-ID: <87il2pbdun.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -2.61 X-Spam-Score: -2.61 X-Migadu-Queue-Id: 6DD6370582 X-TUID: ylbE+CgREYqZ Hi S=C3=B6ren, here an example for python-pysmt, taken from your commit. It= might be good to add a comment why you cannot stick to a fixed version like 0.9.5. Or ask upstream for a new version :-) * gnu/packages/python-xyz.scm (python-pysmt): New variable. --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5fe5c0d60a..bb58e3aaa8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32303,6 +32303,39 @@ (define-public python-opcodes and BMI2).") (license license:bsd-2)))) =20 +(define-public python-pysmt + (let ((commit "f7b599c228ee8b429aab1b82ddf167bd956ea8a3") + (version "0.9.5") + (revision "0")) + (package + (name "python-pysmt") + (version (git-version version revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pysmt/pysmt") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05q70hk9rq3037f999ph5yi1ix4c91db29i17rxwcl6q24vlxiwg"))= )) + (build-system pyproject-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (add-before 'check 'set-pysmt-solver + (lambda _ + (setenv "PYSMT_SOLVER" "z3")))))) + (native-inputs (list python-pytest)) + (propagated-inputs (list z3)) + (home-page "https://github.com/pysmt/pysmt") + (synopsis + "Solver-agnostic library for SMT formula manipulation and solving") + (description + "This Python module provides a solver-agnostic abstraction for work= ing +with @acronym{SMT, Satisfiability Modulo Theory} formulas. For example, it +allows manipulation and solving such formulas.") + (license license:asl2.0)))) + (define-public python-rpyc (package (name "python-rpyc") --=20 2.42.0