GNU bug report logs - #59239
[PATCH] gnu: Add python-synapseclient.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Mădălin Ionel Patrașcu <madalinionel.patrascu@HIDDEN>; Keywords: patch; dated Sun, 13 Nov 2022 05:44:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 59239 <at> debbugs.gnu.org:


Received: (at 59239) by debbugs.gnu.org; 17 Nov 2022 11:28:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 17 06:28:50 2022
Received: from localhost ([127.0.0.1]:59313 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ovd4c-0005Tq-IV
	for submit <at> debbugs.gnu.org; Thu, 17 Nov 2022 06:28:50 -0500
Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21099)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1ovd4Z-0005Td-VB
 for 59239 <at> debbugs.gnu.org; Thu, 17 Nov 2022 06:28:50 -0500
ARC-Seal: i=1; a=rsa-sha256; t=1668684525; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=OCNCkrQTFTm6DxJ9JoiN99MyiNba4MnpGBX1U93h2ygjU11NdbLdMg+EI/VxtU7FPqe12eFcrEU19Yj2zqgk6tDpMKrzg5PXY6M+riwr+QKrhQByZtd4z7PdVpSB7B3v5c1J+QPbc5PvQZXKC7p32iiyMkAYHi1m2qHYsDMYVio=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; t=1668684525;
 h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To;
 bh=UnjXGaBclqFlGiLQVNDLghpYli0QcIhckNsBECCYeNY=; 
 b=JonZVy1QY4JzbldbzWDS69vPTmRRIhJJg+uiHkGeaVH4megojPNNtjAjdgw5qliBTZ8Lt2iOWoGYfAK26Q5Wjyvt63ecvbb9IhQeUU/Ay8Whwe+GOHI+Lsi8uKgsVEj2onB1EbVgPvXhzoYArN2DDjUEcRD0VyRlZK6xhqFENTM=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1668684525; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To;
 bh=UnjXGaBclqFlGiLQVNDLghpYli0QcIhckNsBECCYeNY=;
 b=Debxq+xWoCqGGu7VDJ7z5+BZN0IzF7K2mpkQ0QRTivW/8VZIq68S7sGqQlrgY/Au
 nsd+YPWrFKIVKjTXR1D3PrBlODqeGf1cT7FTUZHT7xO51oL+ak/yYxK/K22wIl97hMr
 iBuOTFZZavS6eLwFl5XEQrgkcVQZwX4shAvP298g=
Received: from localhost (66-108-142-46.pool.kielnet.net [46.142.108.66]) by
 mx.zohomail.com with SMTPS id 1668684522194433.83292486014204;
 Thu, 17 Nov 2022 03:28:42 -0800 (PST)
References: <20221113054308.5582-1-madalinionel.patrascu@HIDDEN>
User-agent: mu4e 1.8.9; emacs 28.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: =?utf-8?B?TcSDZMSDbGlu?= Ionel =?utf-8?Q?Patra=C8=99cu?=
 <madalinionel.patrascu@HIDDEN>
Subject: Re: [bug#59239] [PATCH] gnu: Add python-synapseclient.
Date: Thu, 17 Nov 2022 12:24:27 +0100
In-reply-to: <20221113054308.5582-1-madalinionel.patrascu@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Message-ID: <87v8ndu8ew.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 59239
Cc: 59239 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Hi M=C4=83d=C4=83lin,

> * gnu/packages/python-xyz.scm (python-synapseclient): New variable.
[=E2=80=A6]

> +              ;;(method url-fetch)
> +              ;;(uri (pypi-uri "synapseclient" version))
> +              ;;(sha256
> +              ;; (base32
> +              ;;  "1g2n5bbq5vkvprk4ap3sbz2q39cjwl8igy3krlskg34c1q7if7r4"=
))))

Please remove this commented code.

> +    (build-system python-build-system)
> +    (arguments
> +     '(#:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'relax-version-requirements
> +           (lambda _
> +             (substitute* "setup.py"
> +               (("keyring>=3D15,<23\\.5") "keyring>=3D15")

Is this really a good idea?  Upper bounds usually exist for a reason.
We currently have version 23.9.  Can you please clear this with upstream
first?

> +               (("keyrings\\.alt=3D=3D3\\.1") "keyrings.alt>=3D3.1"))))
> +         (add-before 'build 'set-homeless-shelter
> +           (lambda _
> +             ;; could not create '/homeless-shelter': Permission denied
> +             (setenv "HOME" "/tmp")))

We=E2=80=99re setting HOME, not homeless-shelter.

> +         (replace 'check
> +           (lambda* (#:key tests? #:allow-other-keys)
> +             (when tests?
> +               ;; these tests require server authentification  SynapseNo=
CredentialsError
> +               (delete-file-recursively "tests/integration/synapseclient=
")
> +               (delete-file-recursively "tests/integration/synapseutils")
> +               (invoke "pytest")))))))

typo: =E2=80=9Cauthentication=E2=80=9D.  What exactly does this error mean?=
  Does it
talk to the internet?  How are these tests supposed to be run?

Is it possible to disable these tests with an option to pytest?  That
would seem better than conditionally deleting them.

Finally, I think the test files should be deleted unconditionally, so
that =E2=80=9Ctests?=E2=80=9D only governs whether the tests are *run* inst=
ead of also
causing other side effects.

--=20
Ricardo




Information forwarded to guix-patches@HIDDEN:
bug#59239; Package guix-patches. Full text available.

Message received at 59239 <at> debbugs.gnu.org:


Received: (at 59239) by debbugs.gnu.org; 17 Nov 2022 10:15:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 17 05:15:02 2022
Received: from localhost ([127.0.0.1]:59184 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ovbvC-0003Ps-Ki
	for submit <at> debbugs.gnu.org; Thu, 17 Nov 2022 05:15:02 -0500
Received: from mout.web.de ([217.72.192.78]:56379)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jonathan.brielmaier@HIDDEN>) id 1ovbv9-0003P3-MR
 for 59239 <at> debbugs.gnu.org; Thu, 17 Nov 2022 05:15:01 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
 t=1668680093; bh=3J+9R6rvsM7+bkKdjT1OW3s432FBHWRhBMRde1CDyXw=;
 h=X-UI-Sender-Class:Date:To:Subject:From;
 b=sEPbBAp6JNaJdIe+dlnbPqMxEOuXKVkI0/dXDgS9cQwsb/TQNeMDuuAAYXeRUaTH5
 4niO6RAWVdiyWNepYIHfRvXC0F15Zjg++hAd6MIp+aIwxlwxi+KYFKBSONNEwQPHl4
 jK3KP+D+uUnAL6MUobGSoMqEbNcxlZKY/I/kZMH+alm78eL5l3fwSMXCDxHa9QRpbp
 8LKcpKXYt7+2oGGDmGsbbe2/apM907vUccPy+roZDSYsBv7L1VpkK1hquk3QR9tGtG
 3BIBoMnERk1UTEV618UMPHyJXObhXtoWIPn4kNp1q4008Ud5sBQi5sKtyo7pUlXD5q
 h22Nj4EPHlptQ==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from [192.168.178.23] ([77.12.9.120]) by smtp.web.de (mrweb106
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MLRUX-1odo5O07D1-00Ie8h for
 <59239 <at> debbugs.gnu.org>; Thu, 17 Nov 2022 11:14:53 +0100
Message-ID: <3b11534b-362d-288c-92d8-a590798cfacf@HIDDEN>
Date: Thu, 17 Nov 2022 11:14:52 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.4.1
To: 59239 <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-synapseclient.
Content-Language: de-DE
From: Jonathan Brielmaier <jonathan.brielmaier@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:07A84IxAVhNj0BTekp9vlhI/KR1PId5g8WQ4i9ulFWEXxfNYl7Y
 htCI8akKDfb+/Xja+TwWDVwfk0JrhfxlhgG6vjeL6cxYpOkql70UDIyRzLZu2EQgzLg7GjI
 UK6AfwstdTCcz9n4kHOctE5kLJd6msbBEo3OaLkcdrTLHYy6m4QfBOm0xbRifJ7g7NxKQx9
 M89w3JOm8FYgKU3OblzTw==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:mOy9cIAuQJ0=;mKK/mK1SY+dxLvMP/7ogsv0bic8
 fkarYbHPeS0vspe5DNfeFF9K5XNpqw5TM2d7xa7a6kuBurJdEm/fQYBjdPtUjR9Gv7uZmMr6h
 /rokO+k5W0pzkkPjgmcAt5bq/3dsQC2nTgJiSNM2QFkhqcv4uu3M+E+h9/Sx5S7s2z9djM61p
 4xn6rpnpKhsRbRyeX2oituMxJo8VDT0gN4CMPG+/kgr0GL3lREbK5jGKeWEHfu5I3iTHizxxY
 5lx+u089NjKKNH7Cq1oD7E40d1fwsBDE449Nqe4+AWM6ePv8VfHCsi6K0cCQB+YGY6jcLHGOy
 Z3tgSRltw9gE58ATMzfwX+uNZafoofYfAAc6jFZidXna/+ZKdDPxpPRpsQy6/onE8C+k7UKwA
 /4Z7+mRROpI2yvc3+gulYsn9L8HVYOBPIr7jiA6dLWdw3/xRvA6rETNjBElUEG4J8QJ7L+dlw
 pLG+hD6Z9M7nQxw/n2hcMTiHJukJzVpYJi/Js3cCOB32SueZDF6tlLAlVsLhDxMttpEw1hrEs
 fA1tIaOAhUQH739SaiZnUcqcyeXFYspYoL90Rwk2T4pCZEpJ4t0NsyJIcvX0LYlZ2/RaQnq0w
 tbWLhpWAFAMHs53oniIcui27OESIM/kxoEg2NL/7Q3lrb9ZDxtlhNvcBKgwZobt6mBPvJDXfo
 0k4KVBdPS7NKpiR0fGRe5cHT1xkoImCVUP/ZcEco64l5HI8NOb0v2bf1CKV6tHvDPKG/8wfEZ
 lSv06OxbESk7NAGqSZ6phbbVilr4koFMWhQ/nPuzGXJrnOcw0d/XHoc2iTQPk379SiuTMOCnk
 UVEHEOOY5uP1qsN0WRIbIk5fwlYdwpvLIQlOz/V+54k3A2/F/WMUqqkZxL5qmsOKo7gfmxwV0
 tB0rL54q92tffr8pcjEdM2Cvyl1IOZhzw+Q2AbDSr0VAnGjn+/V763qS5mb5hGPa+1zQ7L+UY
 ABymYA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 59239
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi Mandalin,

I think there are some leftovers included in the patch:
https://issues.guix.gnu.org/59239#0-lineno29

~Jonathan




Information forwarded to guix-patches@HIDDEN:
bug#59239; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Nov 2022 05:43:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 13 00:43:42 2022
Received: from localhost ([127.0.0.1]:49851 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ou5mP-0004Ia-Jp
	for submit <at> 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 <MadalinIonel.Patrascu@HIDDEN>)
 id 1ou5mO-0004IS-2b
 for submit <at> 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 <MadalinIonel.Patrascu@HIDDEN>)
 id 1ou5mN-0003hm-Tf
 for guix-patches@HIDDEN; 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 <MadalinIonel.Patrascu@HIDDEN>)
 id 1ou5mL-0003NU-BG
 for guix-patches@HIDDEN; 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 <guix-patches@HIDDEN>; 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=20Ionel=20Patra=C8=99cu?=
 <madalinionel.patrascu@HIDDEN>
To: <guix-patches@HIDDEN>
Subject: [PATCH] gnu: Add python-synapseclient.
Date: Sun, 13 Nov 2022 06:43:08 +0100
Message-ID: <20221113054308.5582-1-madalinionel.patrascu@HIDDEN>
X-Mailer: git-send-email 2.38.1
MIME-Version: 1.0
X-Debbugs-Cc: rekado@HIDDEN
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@HIDDEN; 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-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

* 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





Acknowledgement sent to Mădălin Ionel Patrașcu <madalinionel.patrascu@HIDDEN>:
New bug report received and forwarded. Copy sent to rekado@HIDDEN, guix-patches@HIDDEN. Full text available.
Report forwarded to rekado@HIDDEN, guix-patches@HIDDEN:
bug#59239; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 17 Nov 2022 11:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.