From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cMxbEvHu9GOcVgAAbAwnHQ (envelope-from ) for ; Tue, 21 Feb 2023 17:18:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CBjxEfHu9GMlIgAA9RJhRA (envelope-from ) for ; Tue, 21 Feb 2023 17:18:57 +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 CD4ED126F0 for ; Tue, 21 Feb 2023 17:18:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUVLS-00064x-Gk; Tue, 21 Feb 2023 11:18:22 -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 1pUVLO-0005wc-9v for guix-devel@gnu.org; Tue, 21 Feb 2023 11:18:19 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUVLM-0002Ex-3Y for guix-devel@gnu.org; Tue, 21 Feb 2023 11:18:18 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id CFC1013C0; Tue, 21 Feb 2023 17:18:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id knZoEpbdmW4U; Tue, 21 Feb 2023 17:18:10 +0100 (CET) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 04EBC1DE; Tue, 21 Feb 2023 17:18:09 +0100 (CET) Date: Tue, 21 Feb 2023 17:18:08 +0100 From: Andreas Enge To: Kaelyn Cc: Lars-Dominik Braun , guix-devel@gnu.org Subject: Re: Python (was: Merging core-updates?) Message-ID: References: <20230212100540.2214f16c@sybil.lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2a0c:e300::1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676996337; a=rsa-sha256; cv=none; b=NaM0FLdABMrqoMg0Wm2v2ZTxu28L882j9+PuTtHvGL8pLFnubsbCXvDROEPpkHQLRQentH yag98BvENpN0JCDnloOUjokle8STaESodIaTCDghGpuxGYvSZTqEcnXrqaVHZ9XniQhbE3 LTuNs4Hfq/utgyUnupppAfvHoGyHhP0ghP9AOFWopYweikWpcqCvdAyDb9aXs9JWxsa1qe z2eOjmaKuSgQStHNzNkH5ZYD4ZKfwlGuXae2X0q2UsKljw+6KhkDjwvRa5+lJD6b4Ha7HG ALnFeMAi9w71i8iWZU7rrNtP8KsFvCcqduBqeLd+dPoQbE2w5lVQWygoXE2YEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676996337; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=BoscFDSPCryWMlt5A/LYMOqV+p6UZwEaRyeDU++xtbA=; b=hYnG9nhHzahqUTc8jh4ElouBBI88dkqrKgFLYFx6ZdCFhcvECO8Rp2uLzxOsrYEi8uQE2x uTE/jINWSrnCQ7nd9ckh7SqDm+7hB3csOm9prweD3ibKA9YhPjfc5M0YzVsBaPm7JH33k8 duZvoKnNMGxKOBHnJP03Q76yltBPxV2vFF7zE6Eqx8c8WVoRmDlknaue6w7E6R+8EmPS0Y g5+GAFUYP1mOJwIYHk2nXVMHF0VwLJeJG3M4Vs1BDKZEp/sV0HAPHRZR/SMn9pNx25bzkf 5JS2SCg6qKqKuAmDS9AK80VgRLSVD2HlynctTQSdOMEi9iyoEW3a9G42Y3QlrA== Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.45 X-Spam-Score: -2.45 X-Migadu-Queue-Id: CD4ED126F0 X-TUID: bo04Bruy8iHN Am Sun, Feb 19, 2023 at 10:59:35PM +0000 schrieb Kaelyn: > It was mentioned recently that python-pycryptodome is / should be a drop-in replacement for python-pycrypto (it is also says that in the package description); Apparently it is not, as Lars wrote. And in any case, it does require some patching: I tried to compile python-potr with either of python-pycryptodome and python-pycryptodomex, and it fails in the check phase, where it tries to download pycrypto via pip. > perhaps replace the python-pycrypto input with python-pycryptodome for python-potr, with a snippet to change the pycrypto dependency to pycryptodome in python-potr's setup.py? Indeed this would be an alternative; but then here, I would still argue that it is not a "drop-in replacement" for python-potr (in C, one could imagine a separate project creating a library with the same soname). > After taking a peek at the poezio and python-potr git repos, the main alternative I can see to patching the dependency is to remove python-potr from poezio's inputs since python-potr is listed as an optional dependency in poezio's setup.py (for its OTR plugin). But without python-potr, the tests fail... So it may be optional, but not for the tests. I took the liberty to update poezio while keeping the python-potr dependency, as it does not worsen the situation, and could be argued to improve it. Andreas