From patchwork Wed Jun 7 17:33:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Miguel_=C3=81ngel_Moreno?= X-Patchwork-Id: 50754 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 CBB3127BBE9; Wed, 7 Jun 2023 18:34:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 C0F7127BBE2 for ; Wed, 7 Jun 2023 18:34:11 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6x2q-0003mT-JE; Wed, 07 Jun 2023 13:34: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 1q6x2o-0003mH-Ot for guix-patches@gnu.org; Wed, 07 Jun 2023 13:34:02 -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 1q6x2o-0001tO-G1 for guix-patches@gnu.org; Wed, 07 Jun 2023 13:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6x2o-0008K0-BX for guix-patches@gnu.org; Wed, 07 Jun 2023 13:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62389] [PATCH v2 6/6] gnu: synapse: Update to 1.67.0. Resent-From: Miguel =?utf-8?b?w4FuZ2Vs?= Moreno Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Jun 2023 17:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62389 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62389@debbugs.gnu.org Cc: me@mianmoreno.com Received: via spool by 62389-submit@debbugs.gnu.org id=B62389.168615919731931 (code B ref 62389); Wed, 07 Jun 2023 17:34:02 +0000 Received: (at 62389) by debbugs.gnu.org; 7 Jun 2023 17:33:17 +0000 Received: from localhost ([127.0.0.1]:54668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6x24-0008Ix-Vm for submit@debbugs.gnu.org; Wed, 07 Jun 2023 13:33:17 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:54711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6x23-0008If-1L for 62389@debbugs.gnu.org; Wed, 07 Jun 2023 13:33:15 -0400 X-GND-Sasl: me@mianmoreno.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mianmoreno.com; s=gm1; t=1686159188; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=4h7o6NbsWeAN6rl2f4PO5r52xaC+EKUzqKbSvWDrFbA=; b=JlFTqwBn8s86L/k235INgUf4TwUSsNd3VruuTyD+Mp353C//tOGYWkgKkKcfQ9OsUdF0Ax VND572EjAFJg6ziUtcJs3GVkl3kTCecvuWWvZ333afigHCUAQ/YuhqM+6dUWmfW9e6ifqx uQSfH7RqR80HA1XXLOERI534LQBqmpj+QB3Eyv8JyWmgrt9uQ8WKwv5eVqXnlZb5j/5yrZ dpgBLyl3+VojTtdrTmSqswlZfRAhE9uSk0xj+7XtowVHd5Xmtp/DO5X2Nvp/+vFhKptzt5 zizpgvjlOwZlbo+emyGVKALXillMmjg6g01ru4ByIVkF3DGoI1d7PX7t4cACKA== X-GND-Sasl: me@mianmoreno.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 7FCF6C0003; Wed, 7 Jun 2023 17:33:07 +0000 (UTC) From: Miguel =?utf-8?b?w4FuZ2Vs?= Moreno In-Reply-To: <9ddbe6448696df3082e02a2b7e3dbe5ae57bdd81.1686158920.git.me@mianmoreno.com> References: <9ddbe6448696df3082e02a2b7e3dbe5ae57bdd81.1686158920.git.me@mianmoreno.com> Message-Id: <916053d6d7b02004c2447edf99210a2b5dc63b6d.1686158921.git.me@mianmoreno.com> Date: Wed, 07 Jun 2023 19:33:06 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 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 * gnu/packages/matrix.scm (synapse): Update to 1.67.0. [propagated-inputs]: Add Python dependencies. [arguments]: Disable tests. --- gnu/packages/matrix.scm | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index f356674ed9..f67591f934 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -33,6 +33,7 @@ (define-module (gnu packages matrix) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages tls) #:use-module (gnu packages xml) #:use-module (guix build-system python) #:use-module (guix download) @@ -93,14 +94,18 @@ (define-public python-matrix-synapse-ldap3 (define-public synapse (package (name "synapse") - (version "1.29.0") + (version "1.67.0") (source (origin (method url-fetch) (uri (pypi-uri "matrix-synapse" version)) (sha256 (base32 - "0if2yhpz8psg0661401mvxznldbfhk2j9rhbs25jdaqm9jsv6907")))) + "05mljp6jjz7ylmmjvlvxm3w9h3ynrjq5b3b3zssmr48lbjxrb8pk")))) (build-system python-build-system) + (arguments + (list + ;; Tests require network access + #:tests? #f)) ;; TODO Run tests with ‘PYTHONPATH=. trial3 tests’. (propagated-inputs (list python-simplejson ; not attested but required @@ -133,11 +138,18 @@ (define-public synapse python-jinja2 python-bleach python-typing-extensions - ;; conditional requirements (synapse/python_dependencies.py) - ;;("python-hiredis" ,python-hiredis) + python-matrix-common + python-pyperf + python-redis + python-cryptography + python-ijson + python-pydantic + ;; conditional requirements (pyproject.toml) python-matrix-synapse-ldap3 python-psycopg2 python-jinja2 + python-txredisapi + python-hiredis python-txacme python-pysaml2 python-lxml @@ -146,7 +158,7 @@ (define-public synapse ;; all are monitoring aids and not essential. python-pyjwt)) (native-inputs - (list python-mock python-parameterized)) + (list python-mock python-parameterized openssl)) (home-page "https://github.com/matrix-org/synapse") (synopsis "Matrix reference homeserver") (description "Synapse is a reference \"homeserver\" implementation of