From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AEenOSw2fWdgqwAAqHPOHw:P1 (envelope-from ) for ; Tue, 07 Jan 2025 14:11:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id AEenOSw2fWdgqwAAqHPOHw (envelope-from ) for ; Tue, 07 Jan 2025 15:11:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=D6x2rFl4; dkim=fail ("headers rsa verify failed") header.d=adriaan.se header.s=soverin header.b=VrKUjHqz; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736259115; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DZlk8RxJgRpBYloAlrc7qy55G6myztHVuYtvvqv/bFI=; b=PJ9CUNT9+ZFpO0Q9Z+JB/sZMql410eC6rszRnp61G8kzuKvcj+rwJuGKhJa9BXr3Yq166R 6uF7d3ZEUUu/Otqth9j9vwM58BC6Jl8NUGujp2GNPWkRb6jKLcm4RjGwQdWvKgGkoy8gHd bwMf2/k5YW4/W/5o+7khpzyusrze6yZBHzzp3C44EqjgAOpA+5yaCPZNpnUDsYUV1DtaLS kAHrs8aCrIFOFpy1VmQGbWixjab0PahDByFScStP30rsInPTZZO9ECRyXu5RgXlqdOsM0G qff2N81DoiJJ7CdIi8jmh41+9XEFbFlN7BbjdFOOFZ2POam6GuqLdqF1PLLF8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=D6x2rFl4; dkim=fail ("headers rsa verify failed") header.d=adriaan.se header.s=soverin header.b=VrKUjHqz; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736259115; a=rsa-sha256; cv=none; b=Y74dl8/Aij+5CXHVMFZvWIyrBAmYXyX06wVmJhljVTeGWDUqzvF0HfPMHbNlZ/S+wciKhk 4MWTXBIs1ytcB3bJtHvNOpSXaT6pYAzk89RdAxYU9H7IyoDV6dp1jzuSfAOZVfCGvAt9xo MXqIC22uKFV5Se6xEmcCFG12Nscx12kMtkGzeyGAM3+cczRJNxD6hQYIHjnVj6i95jAOu/ vLLkJUfBTPnQBEhOnUXHfcDCyuGjtBFe7OZTH0FmhooZzjjZ06EFw1xfcgu9YEN+55kbHz Tc6E5sGINnxEWdVzgQgRz8XImnytE/KVLvPG3LHwDB7Ok1Ywf2YUsWAqwiN6QQ== 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 75ED5470DD for ; Tue, 07 Jan 2025 15:11:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVAIs-0004FJ-FC; Tue, 07 Jan 2025 09:11:30 -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 1tVAIX-00049E-Ky for guix-patches@gnu.org; Tue, 07 Jan 2025 09:11:10 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVAIX-0001fx-BU for guix-patches@gnu.org; Tue, 07 Jan 2025 09:11:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=DZlk8RxJgRpBYloAlrc7qy55G6myztHVuYtvvqv/bFI=; b=D6x2rFl4GSIMN9mz55u+LXVbkjfiXyIn8pJKqeHD8I77MbTfzMicCWT9xOPHKHiTY/dU6tsVIMnn88KmYLPS2iayODmyMDD+Dz2HFTbHREWd8YOc2+1MhkzWCkMeDxjDUMUeRqNvbccHMcX+84wRJ3E7LZNgl5UhwAmAlZnLLUCbVtUyUmkmU92GjxpRZDFRKMzMnXpYdpdInbOoZ4DOuq4GmbO0XBGaiG1u/guXau+kbWimnBkAd114KqtU/fcujzhhAgHFKqN+CGFwhdMd5N0g62eQRvwztaDb9wL+Dvwz79bFPVJF7VXVPbTNXDYxCQQaFtpEZc7f+2E2NdJ4nA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVAIX-0001BT-2v for guix-patches@gnu.org; Tue, 07 Jan 2025 09:11:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75420] [PATCH python-team 09/11] gnu: python-matrix-nio: Update to 0.25.1. Resent-From: Arjan Adriaanse Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 Jan 2025 14:11:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75420 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75420@debbugs.gnu.org Cc: Arjan Adriaanse Received: via spool by 75420-submit@debbugs.gnu.org id=B75420.17362590494447 (code B ref 75420); Tue, 07 Jan 2025 14:11:09 +0000 Received: (at 75420) by debbugs.gnu.org; 7 Jan 2025 14:10:49 +0000 Received: from localhost ([127.0.0.1]:42227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVAIC-00019c-2g for submit@debbugs.gnu.org; Tue, 07 Jan 2025 09:10:48 -0500 Received: from dane.soverin.net ([185.233.34.148]:46657) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tVAI9-00018z-P0 for 75420@debbugs.gnu.org; Tue, 07 Jan 2025 09:10:46 -0500 Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4YSCcv6FFGz2xDt; Tue, 7 Jan 2025 14:10:39 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.108]) by freedom.nl (Postfix) with ESMTPSA id 4YSCct3HFyz2xQn; Tue, 7 Jan 2025 14:10:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=adriaan.se; s=soverin; t=1736259039; bh=sEDaCeWSLMYkWPsgAlyFy74EhtGiCY8kgX7XzspCmts=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VrKUjHqzL63jujknkqvH9Echf8rm9jBEjviDhHkJGFcQstPxjNCn/75kZlqRaAodd EQSHlTR9WF4/wQ1sOe2SY2209/oxAz3upidoAGb1aPQJpKQm0AO9B5apAERvJdri5h tGjq5XTorsfWhRvcqkTGadylu5thxFXu9xDMdjP1yw4pwWdiRq0w/rnE9EctvGrDCh wE1ZVSYRLr5oYSGEGU+NeXvOw8co18dCcLgyRUjtTob058gUL1U0Ai+s9wdD4zoBYN 12E9aXbJwTn/Oux+urMtWqQaYoORtHXeHGqwI/wU1/7mFgS6kgwZ3jS21QofZWmNAk TzAQjAoqIjC4A== X-CM-Analysis: v=2.4 cv=e8f8Sbp/ c=1 sm=1 tr=0 ts=677d35df a=fD/rzi2Tphj41Sc3CkWoTA==:617 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=K33ine3eAAAA:8 a=8O_u1QrtAAAA:8 a=UqCG9HQmAAAA:8 a=1TJZy73Bjj_nXp7ztFsA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=ON3ZzEtSa1aNAstOKWIO:22 a=gKTPqCehHAPHH_QMXq4j:22 X-CM-Envelope: MS4xfB/ryDaAtVellGWFUhz1/ZR1HC7MTmHhQpc7DRf2yFD5uF0S83mQTDgRWeOdC34YAyQ6IVvItK1CA8//WV79/XKB8LLuWQr0GD2Q8uBoosWwB9TT4Dv+ q0pvDGCAt/JUc+kbO9mwKmMJQN6OAQMgvL51RISU6rThl6qc5lS4+gESksiT94mPNHHUf/QMRInBd/YmoT2e7svpzQUDXaulGPoCmjz/E3fPQc15RrGAWZad 6bir92jv29MobbHApOd9SVMS5jiwB0edVgsSPx+0Cuo= From: Arjan Adriaanse Date: Tue, 7 Jan 2025 15:09:20 +0100 Message-ID: <0cfeb199ba76af745e041d32d8c0d3ab12f13a8d.1736256868.git.arjan@adriaan.se> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spampanel-Class: ham 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 75ED5470DD X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: 0.33 X-Spam-Score: 0.33 X-TUID: YzKj/qtGFUpu * gnu/packages/matrix.scm (python-matrix-nio): Update to 0.25.1. Change-Id: I959818595a17a6bbc423d0c083feea039698fed7 --- gnu/packages/matrix.scm | 65 ++++++++++++----------------------------- 1 file changed, 19 insertions(+), 46 deletions(-) diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index 32ae62fcb4..a65e3b0143 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2020 Giacomo Leidi ;;; Copyright © 2022 Aleksandr Vityazev ;;; Copyright © 2022 Morgan Smith +;;; Copyright © 2025 Arjan Adriaanse ;;; ;;; This file is part of GNU Guix. ;;; @@ -160,78 +161,50 @@ (define-public synapse (define-public python-matrix-nio (package (name "python-matrix-nio") - (version "0.20.2") + (version "0.25.1") (source (origin - (method url-fetch) - (uri (pypi-uri "matrix_nio" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/matrix-nio/matrix-nio") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "110wg1grhqqgwvlgr98r2k8wxcggpj7lbdwmgkgmi2l7qj1vw3dm")))) + (base32 "0fmy2qaa7cpp6qk4ilwik2jrszk36c86l5haxvwgyp009pz4rz3i")))) (build-system pyproject-build-system) (arguments `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'relax-requirements - (lambda _ - (substitute* "pyproject.toml" - ;; Remove upper bounds of cachetool pin. - (("cachetools (.*version = )\"\\^4" _ match) - (string-append "cachetools " match - "\">=4"))))) - (add-before 'check 'install-tests - (lambda* (#:key inputs outputs #:allow-other-keys) - (copy-recursively (string-append - (assoc-ref inputs "tests") "/tests") - "tests") - #t)) (replace 'check (lambda* (#:key tests? inputs outputs #:allow-other-keys) (when tests? (add-installed-pythonpath inputs outputs) - ;; FIXME: two tests fail, for unknown reasons (invoke "python" "-m" "pytest" "-vv" "tests" "-k" - (string-append - "not test_upload_binary_file_object " - "and not test_connect_wrapper")))))))) + ;; This test requires networking. + "not test_connect_wrapper"))))))) (native-inputs - `(("python-pytest" ,python-pytest) - ("python-poetry-core" ,python-poetry-core) - ("python-hypothesis" ,python-hypothesis) - ("python-faker" ,python-faker) - ("python-pytest-aiohttp" ,python-pytest-aiohttp) - ("python-pytest-asyncio" ,python-pytest-asyncio) - ("python-aioresponses" ,python-aioresponses) - ("python-pytest-benchmark" ,python-pytest-benchmark) - ("tests" - ;; The release on pypi comes without tests. We can't build from this - ;; checkout, though, because installation requires an invocation of - ;; poetry. - ,(origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/poljar/matrix-nio.git") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1rd90sk5yygxzvcs4qhzr80bch7d3xszyfjf99pn10xsj10mi752")))))) + (list python-aioresponses + python-faker + python-hypothesis + python-pytest + python-pytest-aiohttp + python-pytest-asyncio + python-pytest-benchmark + python-wheel)) (propagated-inputs (list python-aiofiles python-aiohttp python-aiohttp-socks python-atomicwrites python-cachetools - python-dataclasses - python-future python-h11 python-h2 python-jsonschema - python-logbook python-olm python-peewee python-pycryptodome python-unpaddedbase64)) - (home-page "https://github.com/poljar/matrix-nio") + (home-page "https://github.com/matrix-nio/matrix-nio") (synopsis "Python Matrix client library, designed according to sans I/O principles") (description -- 2.46.0