From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QGA+ISuEcGOvQAEAbAwnHQ (envelope-from ) for ; Sun, 13 Nov 2022 06:44:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QAMPISuEcGO4XwEAauVa8A (envelope-from ) for ; Sun, 13 Nov 2022 06:44:11 +0100 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 27B31D777 for ; Sun, 13 Nov 2022 06:44:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ou5mp-0003j0-8i; Sun, 13 Nov 2022 00:44:07 -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 1ou5ml-0003id-8S for guix-patches@gnu.org; Sun, 13 Nov 2022 00:44:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ou5mk-0003Tm-Td for guix-patches@gnu.org; Sun, 13 Nov 2022 00:44:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ou5mk-0004JI-Ff; Sun, 13 Nov 2022 00:44:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59239] [PATCH] gnu: Add python-synapseclient. Resent-From: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Original-Sender: "Debbugs-submit" Resent-CC: rekado@elephly.net, guix-patches@gnu.org Resent-Date: Sun, 13 Nov 2022 05:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59239 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59239@debbugs.gnu.org Cc: rekado@elephly.net X-Debbugs-Original-To: X-Debbugs-Original-Xcc: rekado@elephly.net Received: via spool by submit@debbugs.gnu.org id=B.166831822216532 (code B ref -1); Sun, 13 Nov 2022 05:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Nov 2022 05:43:42 +0000 Received: from localhost ([127.0.0.1]:49851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ou5mP-0004Ia-Jp for submit@debbugs.gnu.org; Sun, 13 Nov 2022 00:43:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:54118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ou5mO-0004IS-2b for submit@debbugs.gnu.org; Sun, 13 Nov 2022 00:43:40 -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 1ou5mN-0003hm-Tf for guix-patches@gnu.org; Sun, 13 Nov 2022 00:43:39 -0500 Received: from b2062.mx.srv.dfn.de ([194.95.234.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ou5mL-0003NU-BG for guix-patches@gnu.org; Sun, 13 Nov 2022 00:43:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :x-mailer:message-id:date:date:subject:subject:from:from :received; s=mdc; t=1668318203; x=1670132604; bh=ywAcjqhs3BPfFEz lY3JXIEl6d7jXUdr53a3LPatCFlw=; b=dsav+nicjgHyQlW1cSUb+vhV//YzBoq AyhmJrqW9zM/aHsOj9yDgiZPOdnmMduaYbjzmWfU6b/hBwPqsLT9V+HwTcJfP/73 W9A1MCeN0Q8UH+H4TTBpqT9b/MoHhE3bqucoSQQ3He3T3JFpZPlPL3R/9sPA5YG9 auC7poNE6Ez8= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by b2062.mx.srv.dfn.de (Postfix) with ESMTPS id 6F2D61602A3 for ; Sun, 13 Nov 2022 06:43:23 +0100 (CET) Received: from Guix-Ubuntu18.04 (141.80.113.106) by SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.13; Sun, 13 Nov 2022 06:43:22 +0100 From: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Date: Sun, 13 Nov 2022 06:43:08 +0100 Message-ID: <20221113054308.5582-1-madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [141.80.113.106] X-ClientProxiedBy: SW-IT-P-EX3.mdc-berlin.net (141.80.113.61) To SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) X-TM-AS-Product-Ver: SMEX-14.0.0.3092-9.0.1002-27260.005 X-TM-AS-Result: No-10--8.373000-5.000000 X-TMASE-MatchedRID: u+bDrN2E+3v/R1NSMc2qCU7nLUqYrlslFIuBIWrdOeOjEIt+uIPPOAbo TDS3zulAric7Gwt0xr7DRMIc9/eC4F0ieHN50/kHxi///JpaHQNGmC2qcPUEPu55sqsU0mRFgju zl/ha2817C7/RLfO+aL1Euivo0hwLeCZrJIofIYaOjIrMSa2sR9hQO8CvZj/XpKG9GN+fhxS+6Y UxHdZpEQwwnhrS9TCamDxSncsvBzagOUOBLqPMtHAqViM7NdjVPAxIUC0bmYyKtcrCRXmudyP+F D9UJZFvF9I3HgybRyF+lccVhYJB16PFjJEFr+olwXCBO/GKkVr3FLeZXNZS4KBkcgGnJ4Wmj+8y TjWnpuPhaR5uSvkxZP4x5V8jXZhWhbRxrJbS4zV+3BndfXUhXQ== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--8.373000-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27260.005 X-TM-SNTS-SMTP: 1ABF11DB8B0E16B12E1283D5757A1272E2353AA1BDC5FDB88DBE400D5FA30D312002:F Received-SPF: pass client-ip=194.95.234.172; envelope-from=MadalinIonel.Patrascu@mdc-berlin.de; helo=b2062.mx.srv.dfn.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668318250; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=SQ/F3jaGK9i1rgzdURiWDjHZPGxhfOviMMKjPbcLAwk=; b=F7Q/+4aIpBcY4pCo54EtZkzvTDG17VjzaBtn9OwhzHSrj8QR8wJ4xd3wIu+VbxrGVx7Q3w wENlJW7m+GeiyxNaOoZQw6LUqPfbRo5U6ATGpVmdWU/SkGVti4l2nuEee7BfNpCr8T/RcQ Aw7DwZ//5XTKmXiRsD+nPGFOx9Vck3M29UN58T88QiHjhgIJVOoE0XcfB6ohQo1AU5QvkV l+BCZnNWgQ6swL6nwZ6FmYV+KCrvRonUSvkN5a5gts6h4XWpKXLzN7WXoptPn0hZxrixxR noQxD8hWbpop6wThkZJj3zle5Vj4kRs+aZ9DTDnfaF8cXo/Gz1UupwB/2WZZOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668318250; a=rsa-sha256; cv=none; b=ZVhxCqPpIdvtCsouG2obEMnaVDs7SWJN/hOW822VQwZwuOUpvMHsfN/ZcDGjI3lmDIpqsg ez3zVkqIKCkr4TopLgNcjclAVBmNvQPsTQDGdOsJ5CGG0uCro50D58YLQaJa9tP+F4LSY3 YMHr/GpJlppuUYoZLbRCSOp8O6zXf+O3US0OJLkdYmy/ECzlUkEok9eT0QUzwKU07l6Go8 aPhLXkzUe5b+PhREpT+U1zdJof1iklp8Zm8xScOXAEhHJyICuzFmRWId6JXUH+bKGbZOJ8 1PwYjjeGecu/4yryY4Gwt2b6qkdSBHD6H511ZPAwwzr8aPYRQkebqLhxmn0DEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=dsav+nic; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=none); 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" X-Migadu-Spam-Score: 7.86 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=dsav+nic; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=none); 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" X-Migadu-Queue-Id: 27B31D777 X-Spam-Score: 7.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: ac2PO1AXr66+ * gnu/packages/python-xyz.scm (python-synapseclient): New variable. --- gnu/packages/python-xyz.scm | 60 +++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e26656fa32..b599a2e4ed 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10383,6 +10383,66 @@ (define-public python-sympy as possible in order to be comprehensible and easily extensible.") (license license:bsd-3))) +(define-public python-synapseclient + (package + (name "python-synapseclient") + (version "2.7.0") + (source (origin + ;; git version contains tests + (method git-fetch) + (uri (git-reference + (url + "https://github.com/Sage-Bionetworks/synapsePythonClient") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0v2yyjpmxlxmbn1xbxzx1l1bs45ir9p4i51dlf847irnrrmifxcd")))) + ;;(method url-fetch) + ;;(uri (pypi-uri "synapseclient" version)) + ;;(sha256 + ;; (base32 + ;; "1g2n5bbq5vkvprk4ap3sbz2q39cjwl8igy3krlskg34c1q7if7r4")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'relax-version-requirements + (lambda _ + (substitute* "setup.py" + (("keyring>=15,<23\\.5") "keyring>=15") + (("keyrings\\.alt==3\\.1") "keyrings.alt>=3.1")))) + (add-before 'build 'set-homeless-shelter + (lambda _ + ;; could not create '/homeless-shelter': Permission denied + (setenv "HOME" "/tmp"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; these tests require server authentification SynapseNoCredentialsError + (delete-file-recursively "tests/integration/synapseclient") + (delete-file-recursively "tests/integration/synapseutils") + (invoke "pytest"))))))) + (propagated-inputs + (list python-deprecated + python-keyring + python-keyrings.alt + python-requests)) + (native-inputs + (list python-boto3 + python-flake8-3.8 + python-pandas + python-psutil + python-pytest + python-pytest-mock + python-pytest-xdist-next)) + (home-page "https://www.synapse.org") + (synopsis "Client for Synapse, a collaborative compute space") + (description + "This package provides a client for @code{Synapse}, a collaborative compute +space that allows scientists to share and analyze data together.") + (license license:asl2.0))) + (define-public python-q (package (name "python-q") base-commit: c4025af8c11c3e9ea0c2747b6c475c916fb61d80 -- 2.38.1