From unknown Wed Aug 20 00:02:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 01/10] gnu: Add python-httptools. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159937115917495 (code B ref -1); Sun, 06 Sep 2020 05:46:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Sep 2020 05:45:59 +0000 Received: from localhost ([127.0.0.1]:44530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnV1-0004Y7-As for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:45:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:47676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnV0-0004Y0-1b for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:45:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEnUz-0002pY-Qa for guix-patches@gnu.org; Sun, 06 Sep 2020 01:45:57 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEnUx-0006j7-BL for guix-patches@gnu.org; Sun, 06 Sep 2020 01:45:57 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 83B9A16005C for ; Sun, 6 Sep 2020 07:45:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371152; bh=DDduYFHhGpN90dcJtR1jR7B0rQYHGXlW+aC6Acj2pac=; h=From:To:Cc:Subject:Date:From; b=iZ5I/7yj8TaCFjSxySRqMThAPN21N5bP/mgsie3oa8hc79E28kL3P741wXCHGN3HU 4mkO9mszTJt22gl2JvGei5qc+wxZydKjGF1P/64hyKQR+dXQZwZkko0fWrxp5v9kTl j16aC5seLQNe3zvtRFFuQtabqWrYUAqV4vEv44mCemY8sDYebSwCZ3kXBUTIQtwslB 4pYCQKk3QFPmLwhtgb+7fyW6YsNcHVwxEOlrhnwsZqU8CGshmqtwHyLKvfPyAWkgfk rnl+A9nGMnAGXJIfR/3TYtsFpD/lESvdQBbd8uuJ1lAm2VSofQesxbQ8LjI2Keewjw /rwttJ0hUxF4A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgPV6VnDz9rxP; Sun, 6 Sep 2020 07:45:50 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:45:03 -0300 Message-Id: <20200906054503.65491-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/06 01:45:52 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/python-web.scm (python-httptools): New variable. --- gnu/packages/python-web.scm | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 42b2bbc1a1..5dc7430bde 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3957,6 +3957,55 @@ and fairly speedy.") (properties '((hidden? . #t))) (native-inputs `()))) +(define-public python-httptools + (package + (name "python-httptools") + (version "0.1.1") + (source + (origin + ;; PyPI tarball comes with a vendored http-parser and no tests. + (method git-fetch) + (uri (git-reference + (url "https://github.com/MagicStack/httptools") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0g08128x2ixsiwrzskxc6c8ymgzs39wbzr5mhy0mjk30q9pqqv77")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'preparations + (lambda _ + ;; Skip a failing test (AssertionError). Bug report: + ;; https://github.com/MagicStack/httptools/issues/10. + (substitute* "tests/test_parser.py" + ((" def test_parser_response_1") + (string-append + " @unittest.skip(\"Disabled.\")\n" + " def test_parser_response_1"))) + ;; Use packaged http-parser. + (substitute* "setup.py" (("self.use_system_http_parser = False") + "self.use_system_http_parser = True")) + ;; This path is hardcoded. Hardcode our own. + (substitute* "httptools/parser/cparser.pxd" + (("../../vendor/http-parser") + (string-append (assoc-ref %build-inputs "http-parser") + "/include"))) + ;; Don't force Cython version. + (substitute* "setup.py" (("Cython==") "Cython>=")) + #t))))) + (native-inputs + `(("python-cython" ,python-cython) + ("python-pytest" ,python-pytest))) + (inputs + `(("http-parser" ,http-parser))) + (home-page "https://github.com/MagicStack/httptools") + (synopsis "Collection of framework independent HTTP protocol utils") + (description + "@code{httptools} is a Python binding for the nodejs HTTP parser.") + (license license:expat))) + (define-public python-translation-finder (package (name "python-translation-finder") -- 2.20.1 From unknown Wed Aug 20 00:02:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 02/10] gnu: Add python-uvloop. References: <20200906054503.65491-1-monego@posteo.net> In-Reply-To: <20200906054503.65491-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43233-submit@debbugs.gnu.org id=B43233.159937124117670 (code B ref 43233); Sun, 06 Sep 2020 05:48:01 +0000 Received: (at 43233) by debbugs.gnu.org; 6 Sep 2020 05:47:21 +0000 Received: from localhost ([127.0.0.1]:44535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWK-0004aw-NF for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:20 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWI-0004ah-LS for 43233@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:19 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 74A532400FB for <43233@debbugs.gnu.org>; Sun, 6 Sep 2020 07:47:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371231; bh=FxqjFtNsFV1n8t024YFlrberxxm3FyyqIxJrbGZUImM=; h=From:To:Cc:Subject:Date:From; b=UR+MN8U4jjUBh3WaclMmxPctJoxv2l4PPxUu/64tJMYwjEFNSo0SWNtSsjjm4Qs7P Y5o1JBJU6WsSuc1oUOfadR5v/EAzm3lt2ZFym99aHQVVEKVLrikFziwjGoV5bK36L9 /rO3xCS9G4BXbN9Z3jorCjPNLyhU1dVMIzp2TyoIK4tOG1S0OOMGYG/ss26ju5yqBL 6dOx9XtKz/mI+/9S/EwKv97f2sqHCwXqTFm+0FsDmdsr9faDizb3PHG2YMkMpaA+W/ fyb35pfUMvsdYY7DB64kKnbZz3Fjffhu8SjEH0H3Yjj7pNOj3KDS4rY7pR0S52QO5g LaBjrB63a8HkA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgR15GrZz9rxL; Sun, 6 Sep 2020 07:47:09 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:46:45 -0300 Message-Id: <20200906054653.467-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-web.scm (python-uvloop): New variable. --- gnu/packages/python-web.scm | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 5dc7430bde..49699a7bc5 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -68,6 +68,7 @@ #:use-module (gnu packages databases) #:use-module (gnu packages django) #:use-module (gnu packages groff) + #:use-module (gnu packages libevent) #:use-module (gnu packages libffi) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -3887,6 +3888,43 @@ XPath and therefore does not have all the correctness corner cases that are hard or impossible to fix in cssselect.") (license license:bsd-3))) +(define-public python-uvloop + (package + (name "python-uvloop") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "uvloop" version)) + (sha256 + (base32 "07j678z9gf41j98w72ysrnb5sa41pl5yxd7ib17lcwfxqz0cjfhj")))) + (build-system python-build-system) + (arguments + '(#:tests? #f ;FIXME: tests hang and with some errors in the way + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'preparations + (lambda _ + ;; Use packaged libuv. + (substitute* "setup.py" (("self.use_system_libuv = False") + "self.use_system_libuv = True")) + #t))))) + (native-inputs + `(("python-aiohttp" ,python-aiohttp) + ("python-cython" ,python-cython) + ("python-flake8" ,python-flake8) + ("python-psutil" ,python-psutil) + ("python-pyopenssl" ,python-pyopenssl) + ("python-twine" ,python-twine))) + (inputs + `(("libuv" ,libuv))) + (home-page "https://github.com/MagicStack/uvloop") + (synopsis "Fast implementation of asyncio event loop on top of libuv") + (description + "@code{uvloop} is a fast, drop-in replacement of the built-in asyncio +event loop. It is implemented in Cython and uses libuv under the hood.") + (license license:expat))) + (define-public gunicorn (package (name "gunicorn") -- 2.20.1 From unknown Wed Aug 20 00:02:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 03/10] gnu: Add python-pytest-toolbox. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43233-submit@debbugs.gnu.org id=B43233.159937124817695 (code B ref 43233); Sun, 06 Sep 2020 05:48:02 +0000 Received: (at 43233) by debbugs.gnu.org; 6 Sep 2020 05:47:28 +0000 Received: from localhost ([127.0.0.1]:44538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWS-0004bK-0B for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:28 -0400 Received: from mout02.posteo.de ([185.67.36.66]:50707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWP-0004av-Rj for 43233@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:26 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 31E0E2400FB for <43233@debbugs.gnu.org>; Sun, 6 Sep 2020 07:47:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371240; bh=wCXsZpjUCKSSDuz73OdcHZ5WJRKDkin94bnB4FfsvLU=; h=From:To:Cc:Subject:Date:From; b=Yc0whPeSObDNwXzWpPluy6Bax0OmFn9q7kUrOB1RLzDMNKSiau/kZ324sZI0ertJJ k8wPjmhqDT/MAPSDerAF1y/HuqX8fNpbaMKSf88+jMtx+yhf6qQEimI1yxBWP6D1jy noC2CGcQ2XTIME9V5PyP0D1xZkZpu8yEYvbHMVstBiRqV9kyRgPq32N0DObUhGRjA+ Kc5HnB/truWaTJ07c4nz8FD7WHgMX1j0uB0qjGbO5IHQQctcYjqrL1fSpv2ObPwIAH ZXQuc2rnsKTK/sGuiVs5mNZ830on3jZFMiXju4sh1UUIrS8cv9h/h6Sf+hAF0Hj79j HLJ23uvgI80bw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgRC016Wz9rxL; Sun, 6 Sep 2020 07:47:18 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:46:46 -0300 Message-Id: <20200906054653.467-2-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200906054653.467-1-monego@posteo.net> References: <20200906054653.467-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-check.scm (python-pytest-toolbox): New variable. --- gnu/packages/python-check.scm | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b8a0d67f3d..c0de32b207 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -698,6 +698,49 @@ rounds that are calibrated to the chosen timer.") service processes for your tests with pytest.") (license license:expat))) +(define-public python-pytest-toolbox + (package + (name "python-pytest-toolbox") + (version "0.4") + (source + (origin + ;; No tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/samuelcolvin/pytest-toolbox") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wqkr3g5gmqdxmhzfsxbwy8pm3cadaj6a8cxq58w9bacly4hqbh0")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Make the installed plugin discoverable by Pytest. + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-docutils" ,python-docutils) + ("python-flake8" ,python-flake8) + ("python-isort" ,python-isort) + ("python-pydantic" ,python-pydantic) + ("python-pyflakes" ,python-pyflakes) + ("python-pygments" ,python-pygments) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-isort" ,python-pytest-isort) + ("python-pytest-mock" ,python-pytest-mock) + ("python-pytest-sugar" ,python-pytest-sugar))) + (home-page "https://github.com/samuelcolvin/pytest-toolbox") + (synopsis "Numerous useful plugins for Pytest") + (description + "Pytest Toolbox contains many useful plugins for Pytest. Among them are +new fixtures, new methods and new comparison objects.") + (license license:expat))) + (define-public python-pytest-aiohttp (package (name "python-pytest-aiohttp") -- 2.20.1 From unknown Wed Aug 20 00:02:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 04/10] gnu: Add python-watchgod. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43233-submit@debbugs.gnu.org id=B43233.159937125417713 (code B ref 43233); Sun, 06 Sep 2020 05:48:02 +0000 Received: (at 43233) by debbugs.gnu.org; 6 Sep 2020 05:47:34 +0000 Received: from localhost ([127.0.0.1]:44541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWY-0004bd-AH for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:34 -0400 Received: from mout01.posteo.de ([185.67.36.65]:47385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWW-0004bG-9l for 43233@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:32 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 235E816005F for <43233@debbugs.gnu.org>; Sun, 6 Sep 2020 07:47:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371246; bh=7eK9ER2mr/fP7RL1sltN1P1FSa/7WijaIPMWp7QGe9k=; h=From:To:Cc:Subject:Date:From; b=nq2HT/nZMmL3vh6nT3z+Tngtv+L8zT4V/IKmKf3yc92j/Jykv2/fUEk0PcTx9a31X 60WISf0J/JMdvInm75LjZV/5C040tm5QX4CGYgCzvEyxfbzhMKU+XzLHZVeu2KrkKi cUwywzhv4abKc8wFtS6gWygdBwSjNSLODY1Eqab3OlCLRz2Q4OJpNtTBcCu/FNzERw ZSfshEOWMFfHvlkOguMlm6pKvUxBu690YUdWuUWTqAeZyL4H1NJLrtTiCA+VsOHl9Q oYr6BBgqmR3GfLmhSyiOpvdVkd93dStRulhuE6XcaR0WrWWjvM9BumGVJjk4d/xkhH emElHQCccB2Iw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgRJ6FvGz9rxM; Sun, 6 Sep 2020 07:47:24 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:46:47 -0300 Message-Id: <20200906054653.467-3-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200906054653.467-1-monego@posteo.net> References: <20200906054653.467-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-watchgod): New variable. --- gnu/packages/python-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a4c797cc08..dae1a6e2a8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20343,6 +20343,49 @@ such as a file modification and trigger an action. This is similar to inotify, but portable.") (license license:asl2.0))) +(define-public python-watchgod + (package + (name "python-watchgod") + (version "0.6") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/samuelcolvin/watchgod") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1lqx44wkryakgpyqj3m0hsz61bqr07vc7smgzh188374hwvscp66")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-docutils" ,python-docutils) + ("python-flake8" ,python-flake8) + ("python-isort" ,python-isort) + ("python-pycodestyle" ,python-pycodestyle) + ("python-pyflakes" ,python-pyflakes) + ("python-pygments" ,python-pygments) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-aiohttp" ,python-pytest-aiohttp) + ("python-pytest-mock" ,python-pytest-mock) + ("python-pytest-sugar" ,python-pytest-sugar) + ("python-pytest-toolbox" ,python-pytest-toolbox))) + (home-page "https://github.com/samuelcolvin/watchgod") + (synopsis "Simple, modern file watching and code reload in Python") + (description + "Simple, modern file watching and code reload in Python inspired by +@code{watchdog}. Among the differences are a unified approach for each +operating systems and an elegant approach to concurrency using threading.") + (license license:expat))) + (define-public python-wget (package (name "python-wget") -- 2.20.1 From unknown Wed Aug 20 00:02:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 05/10] gnu: Add python-uvicorn. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43233-submit@debbugs.gnu.org id=B43233.159937126117736 (code B ref 43233); Sun, 06 Sep 2020 05:48:03 +0000 Received: (at 43233) by debbugs.gnu.org; 6 Sep 2020 05:47:41 +0000 Received: from localhost ([127.0.0.1]:44544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWf-0004c0-Ib for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:41 -0400 Received: from mout01.posteo.de ([185.67.36.65]:49015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWd-0004bk-Sl for 43233@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:40 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 40F2F16005F for <43233@debbugs.gnu.org>; Sun, 6 Sep 2020 07:47:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371254; bh=7Zp85EuVu4upuOsjqrpKMUmQ6t+xmoQBWcbSMTSh9CY=; h=From:To:Cc:Subject:Date:From; b=c1knfnIah40TXPLTvni0cNrQHOQneSgWfKgqDIbSMEKjIgiA7zrZZsav8LdpQhg+H PbDXmweV0X85K9XPRAIwhrZ1tjn6fOjIWCx2jif3cCMoubEGGdzOPu432vaIc7J6NY OwQ4AtbM1WQZjF5znHwEdndQzB+XCan6kXTxHgeqyR/RbkAF7KnFcKq3amdvsJs+JA F+FadEGEZIfAOxXjFhpO2DZTB6TKSJb/La0zHtqNdTtSCY0Qj+CU5s67Zcp9wV30Jt lSPd0o1+7H7GRcbvIqrFq8xTDEZVTspK161E7cVikhIqIvepsYHupkpUtNKj+IGFBL ev5VR3HxlOstg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgRT0m2wz9rxN; Sun, 6 Sep 2020 07:47:32 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:46:48 -0300 Message-Id: <20200906054653.467-4-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200906054653.467-1-monego@posteo.net> References: <20200906054653.467-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-web.scm (python-uvicorn): New variable. --- gnu/packages/python-web.scm | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 49699a7bc5..d772506607 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4044,6 +4044,55 @@ and fairly speedy.") "@code{httptools} is a Python binding for the nodejs HTTP parser.") (license license:expat))) +(define-public python-uvicorn + (package + (name "python-uvicorn") + (version "0.11.8") + (source + (origin + ;; PyPI tarball has no tests. + (method git-fetch) + (uri (git-reference + (url "https://github.com/encode/uvicorn") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00iidg5ysp7k00bw3kmkvr8mghnh4jdi0p2ryiarhryf8wz2r3fy")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-black" ,python-black) + ("python-codecov" ,python-codecov) + ("python-flake8" ,python-flake8) + ("python-isort" ,python-isort) + ("python-mypy" ,python-mypy) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-mock" ,python-pytest-mock) + ("python-requests" ,python-requests))) + (propagated-inputs + `(("python-click" ,python-click) + ("python-h11" ,python-h11) + ("python-httptools" ,python-httptools) + ("python-pyyaml" ,python-pyyaml) + ("python-uvloop" ,python-uvloop) + ("python-watchgod" ,python-watchgod) + ("python-websockets" ,python-websockets) + ("python-wsproto" ,python-wsproto))) + (home-page "https://github.com/encode/uvicorn") + (synopsis "Lightning-fast ASGI server") + (description + "@code{uvicorn} is a lightning-fast ASGI server implementation, using +@code{uvloop} and @code{httptools}. It currently supports HTTP/1.1 and +WebSockets. Support for HTTP/2 is planned.") + (license license:bsd-3))) + (define-public python-translation-finder (package (name "python-translation-finder") -- 2.20.1 From unknown Wed Aug 20 00:02:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 06/10] gnu: Add python-flake8-pie. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43233-submit@debbugs.gnu.org id=B43233.159937126617754 (code B ref 43233); Sun, 06 Sep 2020 05:48:03 +0000 Received: (at 43233) by debbugs.gnu.org; 6 Sep 2020 05:47:46 +0000 Received: from localhost ([127.0.0.1]:44547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWj-0004cH-Ql for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:46 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWi-0004bs-UL for 43233@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:45 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 3FE2D16005C for <43233@debbugs.gnu.org>; Sun, 6 Sep 2020 07:47:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371259; bh=EOPnPiAwduZb4FBCuByo4fah40rvLw3rg4Z7U3PniSo=; h=From:To:Cc:Subject:Date:From; b=NUrynru3C7OyBieFNT5g4/vrQDZb/i1g0Agew0a/gbEx26kapRuJCJ6sU6AuYjWy0 YI6nASv9p6kt28gceRDmEoMYisdSMjyvkpATrllwOr/gaobhQ2ngbAeIep6vbHWjlq ChZnXN24AoVMMilBGipmRoO6kkeGbzESAulo/8c/Eqa1og46dOi6FKP5xfWP+yPKwr XX7OUMus7dFeTnbDo0omtpdV/sK9FhyqUgkDAF5gOLH0uR/HP9qPChFzuiKppBBA8c T7iivPCc2WBdT0oMqViCj+Kkwj1GpUR0vH0hp8ftBmFujYb4uCDdLc37qEoNl/OYIu wH2uFXCVj29qQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgRZ0kf2z9rxN; Sun, 6 Sep 2020 07:47:37 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:46:49 -0300 Message-Id: <20200906054653.467-5-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200906054653.467-1-monego@posteo.net> References: <20200906054653.467-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-flake8-pie): New variable. --- gnu/packages/python-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index dae1a6e2a8..2b5d07feb1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8181,6 +8181,24 @@ expressions after the entire file has been read. This enables support for first-class forward references that stub files use.") (license license:expat))) +(define-public python-flake8-pie + (package + (name "python-flake8-pie") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8-pie" version)) + (sha256 + (base32 "0kgipl5gljlp7aa7ykx15pswpzkd0d0qiznihb2z0d9a73181dyd")))) + (build-system python-build-system) + (home-page "https://github.com/sbdchd/flake8-pie") + (synopsis "Flake8 extension that implements lints") + (description + "This package provides a flake8 extension that implements miscellaneous +lints.") + (license license:bsd-2))) + (define-public python-mistune (package (name "python-mistune") -- 2.20.1 From unknown Wed Aug 20 00:02:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 07/10] gnu: Add python-autoflake. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43233-submit@debbugs.gnu.org id=B43233.159937127217772 (code B ref 43233); Sun, 06 Sep 2020 05:48:03 +0000 Received: (at 43233) by debbugs.gnu.org; 6 Sep 2020 05:47:52 +0000 Received: from localhost ([127.0.0.1]:44550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWq-0004ca-2L for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:52 -0400 Received: from mout02.posteo.de ([185.67.36.66]:45007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWo-0004cB-CV for 43233@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:50 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id B3A542400FB for <43233@debbugs.gnu.org>; Sun, 6 Sep 2020 07:47:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371264; bh=yuvCTheC7TLJaZ8x2jP3QGZfxXRH3g7GqlgFttmaAK4=; h=From:To:Cc:Subject:Date:From; b=hLwgsTElPXQlY+1Ks1aQtY3uPoQVWaoxCB7SGR51RVVNzhA7AMn/r3P7SdX4s26uG Xh2t6TH4/etK0ByE4iUmTgtdha8yaofvZPujAqIEcxmIWfmGYArUe1slwx+VshtZaV J2Zu7D1QZyqUd168G8l8aMKE6RYGlIyKhyhTi8aMAtvQ1C99jrfO94KslnE90jkcFz WIMvWULaSF5pO23aR7BeD8czeMyh+eWUOnKnaAZGRj+mJ1Xn7RUqqmYx7Eer59SYQi BDlIGn/RfSu3Ym6DA9JJo/jaU9Ew2REQGsuEmdKaPzb4yph4G+BuPiFbiauG8SSu7b a9bgnY+y97FDA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgRg3Jyxz9rxM; Sun, 6 Sep 2020 07:47:43 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:46:50 -0300 Message-Id: <20200906054653.467-6-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200906054653.467-1-monego@posteo.net> References: <20200906054653.467-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-autoflake): New variable. --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2b5d07feb1..c82d982372 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8199,6 +8199,30 @@ first-class forward references that stub files use.") lints.") (license license:bsd-2))) +(define-public python-autoflake + (package + (name "python-autoflake") + (version "1.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "autoflake" version)) + (sha256 + (base32 "0nzr057dbmgprp4a52ymafdkdd5zp2wcqf42913xc7hhvvdbj338")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pyflakes" ,python-pyflakes))) + (home-page "https://github.com/myint/autoflake") + (synopsis "Removes unused imports and unused variables") + (description + "@code{autoflake} removes unused imports and unused variables from Python +code as reported by @code{pyflakes}. + +By default, it only removes unused imports for modules that are part of the +standard library. Removal of unused variables is also disabled by default. +It also removes useless @code{pass} statements.") + (license license:expat))) + (define-public python-mistune (package (name "python-mistune") -- 2.20.1 From unknown Wed Aug 20 00:02:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 08/10] gnu: Add python-trio-typing. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:48:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43233-submit@debbugs.gnu.org id=B43233.159937127817792 (code B ref 43233); Sun, 06 Sep 2020 05:48:04 +0000 Received: (at 43233) by debbugs.gnu.org; 6 Sep 2020 05:47:58 +0000 Received: from localhost ([127.0.0.1]:44553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWw-0004ct-8u for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:58 -0400 Received: from mout02.posteo.de ([185.67.36.66]:57185) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWu-0004cY-4c for 43233@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:56 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 67F9C2400FB for <43233@debbugs.gnu.org>; Sun, 6 Sep 2020 07:47:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371270; bh=9q8PIH9vR+7WTsdzYDHUJhcTiIwtaNIa+TRUyZdjPn8=; h=From:To:Cc:Subject:Date:From; b=UpR7KgSuvvXBsul1pJ2zqK7JFUMPdgEzprmJGjvUEabv94wZlEmXLSRm1oLygaN3i Qfgb1uW2OXHTc4JB5bnuE//S7KHrdulc1Sc/z3EsJxqxxgbsc844baJRYTrWvs6aSA T1hasGzl1C9P03V2wMWSkQ7Bn2g+VYTh0/sAKXp5FNvoSdpG+We4a0zb/CKz+ZDDOX lZhW0mnRZdMPuMuTuwMjjHGtoXqiehfoBFPbPSb0HWI4u2L29vnXE6PEUfCiSYSVhX +laOxrqFhrAsTj7EOKxetNK3WDXeHitwDBgaY3FUX6Z9FF5c9/gcEJC39qO3SHKJef GgXlmAjv0OZyg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgRn1Gt4z9rxM; Sun, 6 Sep 2020 07:47:48 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:46:51 -0300 Message-Id: <20200906054653.467-7-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200906054653.467-1-monego@posteo.net> References: <20200906054653.467-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-trio-typing): New variable. --- gnu/packages/python-xyz.scm | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c82d982372..e31e7f82fc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19259,6 +19259,54 @@ programs that do multiple things at the same time with parallelized I/O.") ;; Either license applies. (license (list license:expat license:asl2.0)))) +(define-public python-trio-typing + (package + (name "python-trio-typing") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trio-typing" version)) + (sha256 + (base32 "1yvlj4vf3wyvp16dw6vyfm4i2idm8lvdc3fvjhi6mhm62zv7s07j")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-attrs" ,python-attrs) + ("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-mypy" ,python-mypy) + ("python-mypy-extensions" + ,python-mypy-extensions) + ("python-trio" ,python-trio) + ("python-typing-extensions" + ,python-typing-extensions))) + (home-page "https://github.com/python-trio/trio-typing") + (synopsis "Static type checking support for Trio and related projects") + (description + "This package provides: + +@itemize +@item PEP 561 typing stubs packages for the Trio project packages: + +@itemize +@item trio (@code{trio-stubs}) +@item outcome (@code{outcome-stubs}) +@item async_generator (@code{async_generator-stubs}) +@end itemize + +@item A package @code{trio_typing} containing types that Trio programs often +want to refer to (@code{AsyncGenerator[Y, S]} and @code{TaskStatus[T])} and +a mypy plugin that smooths over some limitations in the basic type hints. +@end itemize") + ;; Either license applies. + (license (list license:expat license:asl2.0)))) + (define-public python-humanize (package (name "python-humanize") -- 2.20.1 From unknown Wed Aug 20 00:02:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 09/10] gnu: Add python-httpcore. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:48:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43233-submit@debbugs.gnu.org id=B43233.159937128317837 (code B ref 43233); Sun, 06 Sep 2020 05:48:04 +0000 Received: (at 43233) by debbugs.gnu.org; 6 Sep 2020 05:48:03 +0000 Received: from localhost ([127.0.0.1]:44558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnX0-0004dV-Gj for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:48:02 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWy-0004ck-PZ for 43233@debbugs.gnu.org; Sun, 06 Sep 2020 01:48:01 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 22B1816005F for <43233@debbugs.gnu.org>; Sun, 6 Sep 2020 07:47:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371275; bh=Wwpj9YxRbMCiUtwLfb6Gt2tF327WE124GzqVw+SFGmY=; h=From:To:Cc:Subject:Date:From; b=ow18NZeupkDbQyINBsVsT4Ht4zb2a0+gLx35sBeyy2rSIWX0y6QKyxhw4uCbrylYo kCz4alzl7DLnf5spnLZwG/s6evG9PCB1H54tHeVzy3KESdqOHz/xHrnMHFhMPBLEIv VpLm8asIQB2/pVEqMLoT+768MIKxSi7e0ULiKi9MhNif3hVVpj7rb/WAo5ox9iYoKQ KL5lHtmG6iyxJSxyZWZGvvm0FZI9okGf82VgviC2v/aE4NC7Bf2TeaxUf52lxayKes sk3lqU2pxx80PsvQxGMydwb4vvZ/HtYNnm36ZjTdjheI53RbzgNgPaFa9sIUbQlaA4 l9P8I3x92lT5w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgRs6zxfz9rxM; Sun, 6 Sep 2020 07:47:53 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:46:52 -0300 Message-Id: <20200906054653.467-8-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200906054653.467-1-monego@posteo.net> References: <20200906054653.467-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-web.scm (python-httpcore): New variable. --- mitmproxy requires python-kaitaistruct which requires kaitai-struct-compiler which is written in Scala. We don't have a Scala compiler in Guix. gnu/packages/python-web.scm | 74 +++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d772506607..4fe637a5c6 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4306,6 +4306,80 @@ and serve updated contents upon changes to the directory.") @acronym{TLS, Transport Layer Security} support.") (license license:bsd-2))) +(define-public python-httpcore + (package + (name "python-httpcore") + (version "0.10.2") + (source + (origin + ;; PyPI tarball does not contain tests. + (method git-fetch) + (uri (git-reference + (url "https://github.com/encode/httpcore") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00gn8nfv814rg6fj7xv97mrra3fvx6fzjcgx9y051ihm6hxljdsi")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-unavailable-tests + (lambda _ + ;; These tests require 'mitmproxy' which is not packaged. + (for-each (lambda (f) + (delete-file f)) + '("tests/conftest.py" + "tests/sync_tests/test_interfaces.py" + "tests/async_tests/test_interfaces.py")) + #t)) + (add-after 'remove-unavailable-tests 'force-h11-version + ;; Allow build with h11 >= 0.10. + (lambda _ + (substitute* "setup.py" (("h11>=0.8,<0.10") "h11")) + #t)) + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "--cov=httpcore" "--cov=tests" "tests")))))) + (native-inputs + `(;; ("mitmproxy" ,mitmproxy) ;; TODO: Package this. + ("python-autoflake" ,python-autoflake) + ("python-flake8" ,python-flake8) + ("python-flake8-bugbear" ,python-flake8-bugbear) + ("python-flake8-pie" ,python-flake8-pie) + ("python-isort" ,python-isort) + ("python-mypy" ,python-mypy) + ("python-pytest" ,python-pytest) + ("python-pytest-asyncio" ,python-pytest-asyncio) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-trio" ,python-pytest-trio) + ("python-uvicorn" ,python-uvicorn) + ("python-trustme" ,python-trustme))) + (propagated-inputs + `(("python-h11" ,python-h11) + ("python-h2" ,python-h2) + ("python-sniffio" ,python-sniffio) + ("python-trio" ,python-trio) + ("python-trio-typing" ,python-trio-typing))) + (home-page "https://github.com/encode/httpcore") + (synopsis "Minimal, low-level HTTP client") + (description + "HTTP Core provides a minimal and low-level HTTP client, which does one +thing only: send HTTP requests. + +Some things HTTP Core does do: + +@itemize +@item Sending HTTP requests. +@item Provides both sync and async interfaces. +@item Supports HTTP/1.1 and HTTP/2. +@item Async backend support for asyncio and trio. +@item Automatic connection pooling. +@item HTTP(S) proxy support. +@end itemize") + (license license:bsd-3))) + (define-public python-websockets (package (name "python-websockets") -- 2.20.1 From unknown Wed Aug 20 00:02:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 10/10] gnu: Add python-httpx. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43233-submit@debbugs.gnu.org id=B43233.159937128617897 (code B ref 43233); Sun, 06 Sep 2020 05:49:01 +0000 Received: (at 43233) by debbugs.gnu.org; 6 Sep 2020 05:48:06 +0000 Received: from localhost ([127.0.0.1]:44567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnX4-0004ea-0G for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:48:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44905) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnX2-0004d2-Si for 43233@debbugs.gnu.org; Sun, 06 Sep 2020 01:48:05 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 3A27C2400FB for <43233@debbugs.gnu.org>; Sun, 6 Sep 2020 07:47:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371279; bh=93Zm0NVxnTE+i1YlwaPverAj2eyrVeXRAUjrHMwQmwU=; h=From:To:Cc:Subject:Date:From; b=NHTheYv1sRkwz/67I1Y9j5voVwFSBJSn51JVJwYEMMzYCnbfWsL865EGMRWEOOOpZ m4FJRsR4VuCFg2Uy+e6nLMvJC0uj/v7Ngcbfo9brVEoqkKP5uNeZUJo71ORLKAgTbx Xqk2wH+cfHgTcdsIkp82UPq6M/SNEFoZIZK61NqlthWPY5aabEVr6DMAOPbKhKcbfr wA44l/TcCshNxZHZAhXl4z0NnxPKAlmXWiPdmTANvnCTQQyj3w4bLNG60pmixk/SSF iIE2t2vQ4iVFvxnhnNNFS0ccKjqL4xIsUIkTRQxJP1412HSaxK6PER3+ZKnt0SDYsV AeRy4RbAv+OJw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgRy0SNwz9rxM; Sun, 6 Sep 2020 07:47:57 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:46:53 -0300 Message-Id: <20200906054653.467-9-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200906054653.467-1-monego@posteo.net> References: <20200906054653.467-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-web.scm (python-httpx): New variable. --- gnu/packages/python-web.scm | 88 +++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4fe637a5c6..82f62975c1 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -73,6 +73,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-check) + #:use-module (gnu packages python-compression) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-xyz) #:use-module (gnu packages serialization) @@ -4380,6 +4381,93 @@ Some things HTTP Core does do: @end itemize") (license license:bsd-3))) +(define-public python-httpx + (package + (name "python-httpx") + (version "0.14.3") + (source + (origin + ;; PyPI tarball does not contain tests. + (method git-fetch) + (uri (git-reference + (url "https://github.com/encode/httpx") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0mn8gqkgaij3s2pbwgrih20iq34f3f82dfvypaw3nnh7n63vna43")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv" "-k" + ;; This test tries to open an outgoing connection. + "not test_connect_timeout[asyncio]")))))) + (native-inputs + `(("python-autoflake" ,python-autoflake) + ("python-black" ,python-black) + ("python-cryptography" ,python-cryptography) + ("python-flake8" ,python-flake8) + ("python-flake8-bugbear" ,python-flake8-bugbear) + ("python-flake8-pie" ,python-flake8-pie) + ("python-isort" ,python-isort) + ("python-mypy" ,python-mypy) + ("python-pytest" ,python-pytest) + ("python-pytest-asyncio" ,python-pytest-asyncio) + ("python-pytest-trio" ,python-pytest-trio) + ("python-pytest-cov" ,python-pytest-cov) + ("python-trio" ,python-trio) + ("python-trio-typing" ,python-trio-typing) + ("python-trustme" ,python-trustme) + ("python-uvicorn" ,python-uvicorn))) + (propagated-inputs + `(("python-brotli" ,python-brotli) + ("python-certifi" ,python-certifi) + ("python-chardet" ,python-chardet) + ("python-httpcore" ,python-httpcore) + ("python-idna" ,python-idna) + ("python-rfc3986" ,python-rfc3986) + ("python-sniffio" ,python-sniffio))) + (home-page "https://github.com/encode/httpx") + (synopsis "Next generation HTTP client") + (description + "HTTPX is a fully featured HTTP client for Python 3, which provides sync +and async APIs, and support for both HTTP/1.1 and HTTP/2. + +HTTPX builds on the well-established usability of requests, and gives you: + +@itemize +@item A broadly requests-compatible API. +@item Standard synchronous interface, but with async support if you need it. +@item HTTP/1.1 and HTTP/2 support. +@item Ability to make requests directly to WSGI applications or ASGI applications. +@item Strict timeouts everywhere. +@item Fully type annotated. +@item 99% test coverage. +@end itemize + +Plus all the standard features of requests: + +@itemize +@item International Domains and URLs +@item Keep-Alive & Connection Pooling +@item Sessions with Cookie Persistence +@item Browser-style SSL Verification +@item Basic/Digest Authentication +@item Elegant Key/Value Cookies +@item Automatic Decompression +@item Automatic Content Decoding +@item Unicode Response Bodies +@item Multipart File Uploads +@item HTTP(S) Proxy Support +@item Connection Timeouts +@item Streaming Downloads +@item .netrc Support +@item Chunked Requests +@end itemize") + (license license:bsd-3))) + (define-public python-websockets (package (name "python-websockets") -- 2.20.1 From unknown Wed Aug 20 00:02:36 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vinicius Monego Subject: bug#43233: closed (Re: [bug#43233] [PATCH 10/10] gnu: Add python-httpx.) Message-ID: References: <87d02ym566.fsf@gnu.org> <20200906054503.65491-1-monego@posteo.net> X-Gnu-PR-Message: they-closed 43233 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 43233@debbugs.gnu.org Date: Mon, 07 Sep 2020 07:13:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1599462782-11003-1" This is a multi-part message in MIME format... ------------=_1599462782-11003-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #43233: [PATCH 01/10] gnu: Add python-httptools. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 43233@debbugs.gnu.org. --=20 43233: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43233 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1599462782-11003-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 43233-done) by debbugs.gnu.org; 7 Sep 2020 07:12:26 +0000 Received: from localhost ([127.0.0.1]:47731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFBKE-0002qe-Ab for submit@debbugs.gnu.org; Mon, 07 Sep 2020 03:12:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFBKD-0002qR-0V for 43233-done@debbugs.gnu.org; Mon, 07 Sep 2020 03:12:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36614) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFBK7-0000O5-NA; Mon, 07 Sep 2020 03:12:19 -0400 Received: from [2a01:e0a:19b:d9a0:9d9d:97cc:d92a:8ac0] (port=50884 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kFBK6-0006pB-Jk; Mon, 07 Sep 2020 03:12:19 -0400 From: Mathieu Othacehe To: Vinicius Monego Subject: Re: [bug#43233] [PATCH 10/10] gnu: Add python-httpx. References: <20200906054653.467-1-monego@posteo.net> <20200906054653.467-9-monego@posteo.net> Date: Mon, 07 Sep 2020 09:12:17 +0200 In-Reply-To: <20200906054653.467-9-monego@posteo.net> (Vinicius Monego's message of "Sun, 6 Sep 2020 02:46:53 -0300") Message-ID: <87d02ym566.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43233-done Cc: 43233-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Vinicius, > * gnu/packages/python-web.scm (python-httpx): New variable. Nice job! Besides some superlatives in synopsis/descriptions such as "lightning fast" that I edited, it all looks fine. I pushed the whole patchset. Thanks, Mathieu ------------=_1599462782-11003-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Sep 2020 05:45:59 +0000 Received: from localhost ([127.0.0.1]:44530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnV1-0004Y7-As for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:45:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:47676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnV0-0004Y0-1b for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:45:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEnUz-0002pY-Qa for guix-patches@gnu.org; Sun, 06 Sep 2020 01:45:57 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEnUx-0006j7-BL for guix-patches@gnu.org; Sun, 06 Sep 2020 01:45:57 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 83B9A16005C for ; Sun, 6 Sep 2020 07:45:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371152; bh=DDduYFHhGpN90dcJtR1jR7B0rQYHGXlW+aC6Acj2pac=; h=From:To:Cc:Subject:Date:From; b=iZ5I/7yj8TaCFjSxySRqMThAPN21N5bP/mgsie3oa8hc79E28kL3P741wXCHGN3HU 4mkO9mszTJt22gl2JvGei5qc+wxZydKjGF1P/64hyKQR+dXQZwZkko0fWrxp5v9kTl j16aC5seLQNe3zvtRFFuQtabqWrYUAqV4vEv44mCemY8sDYebSwCZ3kXBUTIQtwslB 4pYCQKk3QFPmLwhtgb+7fyW6YsNcHVwxEOlrhnwsZqU8CGshmqtwHyLKvfPyAWkgfk rnl+A9nGMnAGXJIfR/3TYtsFpD/lESvdQBbd8uuJ1lAm2VSofQesxbQ8LjI2Keewjw /rwttJ0hUxF4A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgPV6VnDz9rxP; Sun, 6 Sep 2020 07:45:50 +0200 (CEST) From: Vinicius Monego To: guix-patches@gnu.org Subject: [PATCH 01/10] gnu: Add python-httptools. Date: Sun, 6 Sep 2020 02:45:03 -0300 Message-Id: <20200906054503.65491-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/06 01:45:52 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Vinicius Monego X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/python-web.scm (python-httptools): New variable. --- gnu/packages/python-web.scm | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 42b2bbc1a1..5dc7430bde 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3957,6 +3957,55 @@ and fairly speedy.") (properties '((hidden? . #t))) (native-inputs `()))) +(define-public python-httptools + (package + (name "python-httptools") + (version "0.1.1") + (source + (origin + ;; PyPI tarball comes with a vendored http-parser and no tests. + (method git-fetch) + (uri (git-reference + (url "https://github.com/MagicStack/httptools") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0g08128x2ixsiwrzskxc6c8ymgzs39wbzr5mhy0mjk30q9pqqv77")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'preparations + (lambda _ + ;; Skip a failing test (AssertionError). Bug report: + ;; https://github.com/MagicStack/httptools/issues/10. + (substitute* "tests/test_parser.py" + ((" def test_parser_response_1") + (string-append + " @unittest.skip(\"Disabled.\")\n" + " def test_parser_response_1"))) + ;; Use packaged http-parser. + (substitute* "setup.py" (("self.use_system_http_parser = False") + "self.use_system_http_parser = True")) + ;; This path is hardcoded. Hardcode our own. + (substitute* "httptools/parser/cparser.pxd" + (("../../vendor/http-parser") + (string-append (assoc-ref %build-inputs "http-parser") + "/include"))) + ;; Don't force Cython version. + (substitute* "setup.py" (("Cython==") "Cython>=")) + #t))))) + (native-inputs + `(("python-cython" ,python-cython) + ("python-pytest" ,python-pytest))) + (inputs + `(("http-parser" ,http-parser))) + (home-page "https://github.com/MagicStack/httptools") + (synopsis "Collection of framework independent HTTP protocol utils") + (description + "@code{httptools} is a Python binding for the nodejs HTTP parser.") + (license license:expat))) + (define-public python-translation-finder (package (name "python-translation-finder") -- 2.20.1 ------------=_1599462782-11003-1--