From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OKl0LJAvaWL+HwEAbAwnHQ (envelope-from ) for ; Wed, 27 Apr 2022 13:57:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4DidK5AvaWIZ/wAAG6o9tA (envelope-from ) for ; Wed, 27 Apr 2022 13:57:04 +0200 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 2E506B4BD for ; Wed, 27 Apr 2022 13:57:04 +0200 (CEST) Received: from localhost ([::1]:52790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njgI2-0004PJ-VH for larch@yhetil.org; Wed, 27 Apr 2022 07:57:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njgCE-00051V-Ci for guix-patches@gnu.org; Wed, 27 Apr 2022 07:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njgCE-0004Is-2X for guix-patches@gnu.org; Wed, 27 Apr 2022 07:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njgCD-0000RR-LC for guix-patches@gnu.org; Wed, 27 Apr 2022 07:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55104] [PATCH 000/232] Update IPython to latest, fix texlive-polyglossia, add more Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Apr 2022 11:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55104 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 55104@debbugs.gnu.org Received: via spool by 55104-submit@debbugs.gnu.org id=B55104.16510602591686 (code B ref 55104); Wed, 27 Apr 2022 11:51:01 +0000 Received: (at 55104) by debbugs.gnu.org; 27 Apr 2022 11:50:59 +0000 Received: from localhost ([127.0.0.1]:41379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njgCA-0000R7-GW for submit@debbugs.gnu.org; Wed, 27 Apr 2022 07:50:59 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:54647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njgC8-0000Qt-F2 for 55104@debbugs.gnu.org; Wed, 27 Apr 2022 07:50:57 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4KpHBf1TtKz9sWC; Wed, 27 Apr 2022 13:50:50 +0200 (CEST) Date: Wed, 27 Apr 2022 13:50:41 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1651060248; 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: in-reply-to:in-reply-to:references:references; bh=PtSL8yV9ok6uN+G7SZCqP8Qj6vDmm/RD9ZHx7bNikUo=; b=A0c37uBCHZiuFqTOI6QxQCEeC5Fmu7m/c26MS3w3pI8FyUtZE5ULxj5R2oLqb1I9YZvrx/ jkFl2x6ypmqJzXopTNR3NEVMa0pw+Bf1kLyCzxFB/SxwfsNtLdk2Ru9KQ96Xec865PyDOs LWFpFF2g2k1bB0wC/VgOBG6aTGK0iT+JKr7Dy58sZbcDGN98Evm5UeZgbfQ3+gXAzUQbej BYRs7snbPKn6kWK2nSTNH9pUoFXDlx1g/ST/TP5fCkB8W5AYkWD8Iy3ITs4pq2ETHJvCJ4 Cfzf3XopGVWmKHh2NTC1seDB9PJPAuPNOL5TEZOL27Uoi5bWms4Vy8vKvqm+6g== From: Lars-Dominik Braun Message-ID: References: <20220425035714.25466-1-maxim.cournoyer@gmail.com> <87bkwp2tjt.fsf@gmail.com> <87tuafnrwq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="A1hqumNlvOE5FF92" Content-Disposition: inline In-Reply-To: <87tuafnrwq.fsf@gmail.com> 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651060624; 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: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=PtSL8yV9ok6uN+G7SZCqP8Qj6vDmm/RD9ZHx7bNikUo=; b=ify+HgrRQYXafyvwJFwXW8TH6GRt9oo8Ho72SPhUSQlS7zaqSkasjg3/jjSh8JCtBmn4E9 mT30gldKMczz8zlYqUqWTnQKuXnifXTUY5A0UCYz8pF4ULF1eY88ewSp6Puh8D0bHclikx ziSJIPttqeHxG8Blbo3e25aQWrMfyhuInHAhcv9rQVu1ZZYZlRckRU+xtT9pnKzoNb1iRM 6zzkClpUczaSI40JWJRMWa91S6tkBsME9V220NcYTcce+oYD8EXTBv31uqTFYAwgVeheiP N6smUYoq62MV6GJBF2oZEZ4C5cd7YFN44/NaVywomMzGKy//VBlBIebHH/PWLg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651060624; a=rsa-sha256; cv=none; b=Z1Oq/CLFBnQVX6oUsngJdR3VQlPvTqH2EO3anTciTi78uFWo7tUQk5cQXVDt1xDvehKj/d hvV5q5HDLZa0dS6KiBidx4w6lDgr33WSZzcMeZC7AX0Cs/6JXGE+FRuLKPa85/OveNesCi tdEh5t/fdTxou3KbNA+nZMIXTFb4wW5pKucT7j8KZ9cOFoqhMGQEVugE96czNNCDdXA73C BFHfIMb6Ai2xSijdrpH1yHqrvYS5oEfodGdJu1gGTnPdidIVJ4KHS0XJ8jqXNeI3FEf+QW kjUNsYpmYSpCNzULhd2oh8GnZmSAPRW/JXDKDFyyHWgE0IrE9Ouu0+6x+0Ti2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=A0c37uBC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none); 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" X-Migadu-Spam-Score: 5.80 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=A0c37uBC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none); 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" X-Migadu-Queue-Id: 2E506B4BD X-Spam-Score: 5.80 X-Migadu-Scanner: scn1.migadu.com X-TUID: kEWjPtjXq6p7 --A1hqumNlvOE5FF92 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Maxim, > OK, thanks! see patches attached. Cheers, Lars --A1hqumNlvOE5FF92 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-python-pytest-sanic-Update-to-1.9.1.patch" >From 7f4cef6d4446284af90965515bd5a89fa2829c25 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 27 Apr 2022 09:44:34 +0200 Subject: [PATCH 1/6] gnu: python-pytest-sanic: Update to 1.9.1. * gnu/packages/python-check.scm (python-pytest-sanic): Update to 1.9.1. --- gnu/packages/python-check.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 5fec85b1ba..ef70d9c3d8 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1984,13 +1984,13 @@ (define-public python-stestr (define-public python-pytest-sanic (package (name "python-pytest-sanic") - (version "1.7.0") + (version "1.9.1") (source (origin (method url-fetch) (uri (pypi-uri "pytest-sanic" version)) (sha256 (base32 - "0hm7im77dgqfk8k34qbbfhimg8hifl4zwpa2s3mgbknrjvyw5qpx")))) + "0shq1bqnydj0l3ipb73j1qh5kqcjvzkps30zk8grq3dwmh3wmnkr")))) (build-system python-build-system) (arguments ;; Tests depend on python-sanic. -- 2.35.1 --A1hqumNlvOE5FF92 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0006-gnu-python-sanic-Update-to-21.12.1.patch" >From eefa6b2658122bf320de610b911fcbdfa6bf835d Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 27 Apr 2022 09:51:09 +0200 Subject: [PATCH 6/6] gnu: python-sanic: Update to 21.12.1. * gnu/packages/python-web.scm (python-sanic): Update to 21.12.1. [arguments]<#:phases>: Remove 'use-recent-pytest, update skipped tests in 'check. [propagated-inputs]: Remove python-httpx, replace python-multidict with python-multidict-5, add python-sanic-routing. [native-inputs]: Add python-bandit, python-chardet, python-isort and python-sanic-testing. Remove python-hstspreload, python-httpcore, python-pytest-cov and python-urllib3. --- gnu/packages/python-web.scm | 53 ++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 25 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b2769306be..0d6118ed0d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -86,6 +86,7 @@ (define-module (gnu packages python-web) #:use-module (gnu packages libevent) #:use-module (gnu packages libffi) #:use-module (gnu packages node) + #:use-module (gnu packages openstack) #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -6386,53 +6387,55 @@ (define-public python-sanic-testing (define-public python-sanic (package (name "python-sanic") - (version "20.12.4") + ;; We provide the latest LTS version of python-sanic. + (version "21.12.1") (source (origin (method url-fetch) (uri (pypi-uri "sanic" version)) (sha256 (base32 - "0axfc151s7nrykzypzciyvkxxrs5ayx8kxv4r620hjb9w3jjhfnp")))) + "0b8mcd1q9qkwcv2qz8nlyaacs0bp7a1l31sdq2m8hhkxykzfq5bg")))) (build-system python-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'use-recent-pytest - ;; Allow using recent dependencies. - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "setup.py" - (("pytest==5.2.1") "pytest") - (("multidict>=5.0,<6.0") "multidict") - (("httpx==0\\.15\\.4") "httpx")) - #t)) - (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-vv" "./tests" "-k" - (string-append "not test_zero_downtime " - "and not test_gunicorn_worker " - "and not test_logo_"))))))) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv" "./tests" "-k" + (string-append + ;; PyPi sources lack examples module. + "not test_gunicorn_" + ;; Does not expect brotli and reordered headers. + " and not test_raw_headers" + ;; These look like buggy testcases. + " and not test_zero_downtime" + " and not test_non_default_uvloop_config_raises_warning" + " and not test_listeners_triggered" + " and not test_keep_alive_connection_context" + " and not test_keep_alive_client_timeout")))))))) (propagated-inputs (list python-aiofiles python-httptools - python-httpx - python-multidict + python-multidict-5 + python-sanic-routing python-ujson python-uvloop python-websockets)) (native-inputs (list gunicorn + python-bandit python-beautifulsoup4 - python-hstspreload - python-httpcore + python-chardet + python-isort python-pytest - python-pytest-cov python-pytest-benchmark python-pytest-sanic python-pytest-sugar python-pytest-asyncio - python-urllib3 + python-sanic-testing python-uvicorn)) (home-page "https://github.com/sanic-org/sanic/") -- 2.35.1 --A1hqumNlvOE5FF92 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0005-gnu-Add-python-sanic-testing.patch" >From b8373146955fca9fb6925af10bd2541f5745f795 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 27 Apr 2022 09:50:22 +0200 Subject: [PATCH 5/6] gnu: Add python-sanic-testing. * gnu/packages/python-web.scm (python-sanic-testing): New variable. --- gnu/packages/python-web.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 83be0176f4..b2769306be 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6361,6 +6361,28 @@ (define-public python-sanic-routing the @code{BasicRouter}.") (license license:expat))) +(define-public python-sanic-testing + (package + (name "python-sanic-testing") + (version "22.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sanic-testing" version)) + (sha256 + (base32 "1vkgi9d3xyik507j4jy9s74mkl81hgx3c2d5y3aa1av9h6wjjivp")))) + (build-system python-build-system) + (arguments + ;; PyPi sources does not contain tests, recursive dependency on python-sanic. + (list #:tests? #f)) + (propagated-inputs (list python-httpx python-sanic-bootstrap python-websockets)) + (home-page "https://github.com/sanic-org/sanic-testing/") + (synopsis "Test clients for Sanic") + (description "Internal package for @code{python-sanic}, which is +meant to be the core testing utility and clients for testing Sanic +applications.") + (license license:expat))) + (define-public python-sanic (package (name "python-sanic") -- 2.35.1 --A1hqumNlvOE5FF92 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0003-gnu-Add-python-sanic-routing.patch" >From 47997c9f641e8ab85a39167e91810243106dab30 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 27 Apr 2022 09:48:24 +0200 Subject: [PATCH 3/6] gnu: Add python-sanic-routing. * gnu/packages/python-web.scm (python-sanic-routing): New variable. --- gnu/packages/python-web.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index bf31b9dc74..6ffec0d91b 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6341,6 +6341,26 @@ (define-public python-hstspreload as a Python package.") (license license:bsd-3))) +(define-public python-sanic-routing + (package + (name "python-sanic-routing") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sanic-routing" version)) + (sha256 + (base32 "0k9paln0jd4sc2bklp977c82n29pk12wiv726siplkh57y5yi70k")))) + (build-system python-build-system) + (arguments + ;; PyPi sources does not contain tests, recursive dependency on python-sanic. + (list #:tests? #f)) + (home-page "https://github.com/sanic-org/sanic-routing/") + (synopsis "Routing component for Sanic") + (description "Internal package for @code{python-sanic}, which provides +the @code{BasicRouter}.") + (license license:expat))) + (define-public python-sanic (package (name "python-sanic") -- 2.35.1 --A1hqumNlvOE5FF92 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0002-gnu-Add-python-multidict-5.patch" >From 0d8a6d6405217af07a7ca28e8a7c8aea1e3d08dc Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 27 Apr 2022 09:45:48 +0200 Subject: [PATCH 2/6] gnu: Add python-multidict-5. Incompatible with version 4. * gnu/packages/python-xyz.scm (python-multidict-5): New variable. --- gnu/packages/python-xyz.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2898b0da6e..a79cc7ea1d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7068,6 +7068,18 @@ (define-public python-multidict where key might be occurred more than once in the container.") (license license:asl2.0))) +(define-public python-multidict-5 + (package + (inherit python-multidict) + (version "5.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "multidict" version)) + (sha256 + (base32 + "1kjrxav572j45xvr1iy60zb2g8zqvrinzdkl4ax36js4vczckl8d")))))) + (define-public python-orderedmultidict (package (name "python-orderedmultidict") -- 2.35.1 --A1hqumNlvOE5FF92 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0004-gnu-Add-python-sanic-bootstrap.patch" >From 51b618907c0ed986dfcd396c52c949b0b6f89d20 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 27 Apr 2022 09:49:13 +0200 Subject: [PATCH 4/6] gnu: Add python-sanic-bootstrap. * gnu/packages/python-web.scm (python-sanic-bootstrap): New variable. --- gnu/packages/python-web.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6ffec0d91b..83be0176f4 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6423,6 +6423,13 @@ (define-public python-sanic your code non-blocking and speedy.") (license license:expat))) +(define-public python-sanic-bootstrap + (package + (inherit python-sanic) + (name "python-sanic-bootstrap") + (arguments (list #:tests? #f)) + (native-inputs '()))) + (define-public python-socketio (package (name "python-socketio") -- 2.35.1 --A1hqumNlvOE5FF92--