From patchwork Wed Mar 22 17:29:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Miguel_=C3=81ngel_Moreno?= X-Patchwork-Id: 1386 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 37AC716FB5; Wed, 22 Mar 2023 17:30:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AA0EE16FAD for ; Wed, 22 Mar 2023 17:30:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pf2Hk-0007kf-U7; Wed, 22 Mar 2023 13:30:04 -0400 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 1pf2Hj-0007kV-IO for guix-patches@gnu.org; Wed, 22 Mar 2023 13:30:03 -0400 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 1pf2Hj-0000yf-8W for guix-patches@gnu.org; Wed, 22 Mar 2023 13:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pf2Hh-0004Cr-W2 for guix-patches@gnu.org; Wed, 22 Mar 2023 13:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62389] [PATCH 00/12] gnu: synapse: Update to 1.67.0 Resent-From: conses Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Mar 2023 17:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62389 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62389@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167950619916139 (code B ref -1); Wed, 22 Mar 2023 17:30:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Mar 2023 17:29:59 +0000 Received: from localhost ([127.0.0.1]:36544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pf2He-0004CE-JT for submit@debbugs.gnu.org; Wed, 22 Mar 2023 13:29:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:59592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pf2Hc-0004C6-EH for submit@debbugs.gnu.org; Wed, 22 Mar 2023 13:29:56 -0400 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 1pf2Hb-0007ji-Gs for guix-patches@gnu.org; Wed, 22 Mar 2023 13:29:56 -0400 Received: from relay10.mail.gandi.net ([2001:4b98:dc4:8::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pf2HZ-0000vl-1c for guix-patches@gnu.org; Wed, 22 Mar 2023 13:29:55 -0400 Received: (Authenticated sender: contact@conses.eu) by mail.gandi.net (Postfix) with ESMTPSA id 9C05C240004 for ; Wed, 22 Mar 2023 17:29:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conses.eu; s=gm1; t=1679506187; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Pe4BejAVPkUS/29Q/ydEN7MGn+UC8w66kJ4Pzu5HT38=; b=VPcyk33qJale8JtgAwH0aWWzl7fbTdGZ0kSLppoKpjJxUxqokw+n1gTK4f+AUpNXGhpjQP C24yiyY+oXS6grAHSwryAp0MFjipZ5/5rewcYzVyd8V15EFCCMMpRxg0q66ofCLO8LaTMo ecSeh4tJP/ljJJ6JbZ21YS06O8LspJ5LGNmvwZO9NL9cqaB4vzU9zgBoEAicFjUlwbXxGy oXhp65xQWrdSagokNcLhuNpBK4X70GpMO2RI3iVOLelNcF417PR214GjQM9QqNp4WMvHgB esYzft2KAlbJwLrLMlyHec0VhIv3wYfhW4tsp21U7NfMoTs9B0AB7VtOqbxG7g== From: conses Message-Id: Date: Wed, 22 Mar 2023 18:29:46 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Received-SPF: pass client-ip=2001:4b98:dc4:8::230; envelope-from=contact@conses.eu; helo=relay10.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi, This patch series updates Synapse to the latest version where no Rust tooling is needed, as per . I tried packaging version 1.68.0 onward but it requires a ton of transitive Rust library dependencies, as in the case of python-cryptography-next, and there are a lot of version mismatches with existing ones. I propose to update to a later version once a better way of dealing with Rust dependencies is found. Moreover, build times on those versions are significantly increased, taking well over an hour in my machine. All in all, this makes it really difficult to troubleshoot any packaging errors so I hope for an easier time in future versions. Tests were also removed since they depend on libraries that are considered optional (causing build times to be increased too), and they currently fail because some of the ones that test Twisted functionality require network access. Apart from that, this basically updates a few of its dependencies, and moves some of them to use python-cryptography-next. I think more emphasis should be put on updating this package more frequently (e.g. ), since Matrix is a widely used communication platform, and the fact that there hasn't been an update for more than 2 years while Nix is on the latest version doesn't look good for Guix and its adoption. conses (12): gnu: Add python-matrix-common. gnu: python-twisted: Update to 22.10.0. gnu: python-pyopenssl: Move to python-cryptography-next. gnu: python-urllib3: Move to python-cryptography-next. gnu: python-treq: Update to 20.9.0. gnu: python-josepy: Move to python-cryptography-next. gnu: python-secretstorage: Move to python-cryptography-next. gnu: python-acme: Move to python-cryptography-next. gnu: python-pysaml2: Move to python-cryptography-next. gnu: python-incremental: Update to 21.3.0. gnu: Add python-txredisapi. gnu: synapse: Update to 1.67.0. gnu/packages/matrix.scm | 22 ++++++-- gnu/packages/python-crypto.scm | 6 +-- gnu/packages/python-web.scm | 6 +-- gnu/packages/python-xyz.scm | 97 ++++++++++++++++++++++++++++------ gnu/packages/tls.scm | 2 +- 5 files changed, 106 insertions(+), 27 deletions(-)