From unknown Thu Jun 19 16:22:27 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42719] [PATCH 2/3] gnu: Add python-hpack. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Aug 2020 15:14:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42719 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42719@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15966404201552 (code B ref -1); Wed, 05 Aug 2020 15:14:03 +0000 Received: (at submit) by debbugs.gnu.org; 5 Aug 2020 15:13:40 +0000 Received: from localhost ([127.0.0.1]:51966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3L6p-0000Or-Oq for submit@debbugs.gnu.org; Wed, 05 Aug 2020 11:13:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:40204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3L6k-0000OV-LJ for submit@debbugs.gnu.org; Wed, 05 Aug 2020 11:13:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3L6k-0002dy-G9 for guix-patches@gnu.org; Wed, 05 Aug 2020 11:13:34 -0400 Received: from mout01.posteo.de ([185.67.36.65]:39580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3L6g-00086p-KZ for guix-patches@gnu.org; Wed, 05 Aug 2020 11:13:34 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id BB624160062 for ; Wed, 5 Aug 2020 17:13:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596640408; bh=AW2HpLBX5ALzp6xtRr1weQR8nrTzre3/j4u2aQhQZYI=; h=From:To:Cc:Subject:Date:From; b=JMK+auEiRr6kQLir4jv2aB7vaIn4vo4aI+AaFrC07a6hkg4ib7jPvAD/ma9+K1rlV FEn1JejEtOj4I3b/zVlsYob9oJo7Zg3LekC0PzhepYon3nSpfHCYPmz9t0L5gwQbhp 6+3EtuSxLrN1rJFRVAeYH+moZVhFgG11uZVocG1YUCN6DNZT7wO3B3AyIVdckpNlpa NsCB01Qt/HemFlvoAJcswqgJyXY3MCHlckNYIBWWhF7IvPgsWCoJeEsBiQXiEJPOFG MtFnuXSBFOWHCE7PLjXxU8qJYDSQk4P0dHK7CK70uWWZ/HUGvLTHSCaqGyvno2dMM9 3tBPq6keT7AGA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BMFWC3NFjz9rxP; Wed, 5 Aug 2020 17:13:27 +0200 (CEST) From: Vinicius Monego Date: Wed, 5 Aug 2020 12:12:55 -0300 Message-Id: <20200805151256.7769-2-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200805151256.7769-1-monego@posteo.net> References: <20200805151256.7769-1-monego@posteo.net> 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/08/04 23:29:57 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-hpack): New variable. --- gnu/packages/python-web.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index a9f63bcf28..857a0e755c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -493,6 +493,40 @@ It provides a pure-Python codebase that is capable of decoding a binary stream into HTTP/2 frames.") (license license:expat))) +(define-public python-hpack + (package + (name "python-hpack") + (version "3.0.0") + (source + (origin + ;; PyPI tarball is missing some files necessary for the tests. + (method git-fetch) + (uri (git-reference + (url "https://github.com/python-hyper/hpack") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0w8hkz50a6lzkmgi41ryicm0mh9ca9cx29pm3s0xlpn0vs29xrmd")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "test" "-k" + ;; This test will be fixed in the next version. See: + ;; https://github.com/python-hyper/hpack/issues/168. + "not test_get_by_index_out_of_range")))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://hyper.rtfd.org") + (synopsis "Pure-Python HPACK header compression") + (description + "This module contains a pure-Python HTTP/2 header encoding (HPACK) logic +for use in Python programs that implement HTTP/2.") + (license license:expat))) + (define-public python-sockjs-tornado (package (name "python-sockjs-tornado") -- 2.20.1 From unknown Thu Jun 19 16:22:27 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#42719: closed (Re: [bug#42719] [PATCH 2/3] gnu: Add python-hpack.) Message-ID: References: <87r1sjub22.fsf@gnu.org> <20200805151256.7769-2-monego@posteo.net> X-Gnu-PR-Message: they-closed 42719 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 42719@debbugs.gnu.org Date: Thu, 06 Aug 2020 14:03:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1596722583-6715-1" This is a multi-part message in MIME format... ------------=_1596722583-6715-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42719: [PATCH 2/3] gnu: Add python-hpack. 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 42719@debbugs.gnu.org. --=20 42719: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42719 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1596722583-6715-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42719-done) by debbugs.gnu.org; 6 Aug 2020 14:02:56 +0000 Received: from localhost ([127.0.0.1]:54617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3gTw-0001jj-4n for submit@debbugs.gnu.org; Thu, 06 Aug 2020 10:02:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3gTu-0001iL-4u for 42719-done@debbugs.gnu.org; Thu, 06 Aug 2020 10:02:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51432) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3gTo-00064S-TI; Thu, 06 Aug 2020 10:02:48 -0400 Received: from lfbn-ann-1-356-169.w86-200.abo.wanadoo.fr ([86.200.73.169]:51288 helo=meru) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k3gTn-0004Eg-U4; Thu, 06 Aug 2020 10:02:48 -0400 From: Mathieu Othacehe To: Vinicius Monego Subject: Re: [bug#42719] [PATCH 2/3] gnu: Add python-hpack. In-Reply-To: <20200805151256.7769-2-monego@posteo.net> (Vinicius Monego's message of "Wed, 5 Aug 2020 12:12:55 -0300") References: <20200805151256.7769-1-monego@posteo.net> <20200805151256.7769-2-monego@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Date: Thu, 06 Aug 2020 16:02:45 +0200 Message-ID: <87r1sjub22.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42719-done Cc: 42719-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 (---) > * gnu/packages/python-web.scm (python-hpack): New variable. Pushed, thanks! Mathieu ------------=_1596722583-6715-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Aug 2020 15:13:40 +0000 Received: from localhost ([127.0.0.1]:51966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3L6p-0000Or-Oq for submit@debbugs.gnu.org; Wed, 05 Aug 2020 11:13:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:40204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3L6k-0000OV-LJ for submit@debbugs.gnu.org; Wed, 05 Aug 2020 11:13:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3L6k-0002dy-G9 for guix-patches@gnu.org; Wed, 05 Aug 2020 11:13:34 -0400 Received: from mout01.posteo.de ([185.67.36.65]:39580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3L6g-00086p-KZ for guix-patches@gnu.org; Wed, 05 Aug 2020 11:13:34 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id BB624160062 for ; Wed, 5 Aug 2020 17:13:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596640408; bh=AW2HpLBX5ALzp6xtRr1weQR8nrTzre3/j4u2aQhQZYI=; h=From:To:Cc:Subject:Date:From; b=JMK+auEiRr6kQLir4jv2aB7vaIn4vo4aI+AaFrC07a6hkg4ib7jPvAD/ma9+K1rlV FEn1JejEtOj4I3b/zVlsYob9oJo7Zg3LekC0PzhepYon3nSpfHCYPmz9t0L5gwQbhp 6+3EtuSxLrN1rJFRVAeYH+moZVhFgG11uZVocG1YUCN6DNZT7wO3B3AyIVdckpNlpa NsCB01Qt/HemFlvoAJcswqgJyXY3MCHlckNYIBWWhF7IvPgsWCoJeEsBiQXiEJPOFG MtFnuXSBFOWHCE7PLjXxU8qJYDSQk4P0dHK7CK70uWWZ/HUGvLTHSCaqGyvno2dMM9 3tBPq6keT7AGA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BMFWC3NFjz9rxP; Wed, 5 Aug 2020 17:13:27 +0200 (CEST) From: Vinicius Monego To: guix-patches@gnu.org Subject: [PATCH 2/3] gnu: Add python-hpack. Date: Wed, 5 Aug 2020 12:12:55 -0300 Message-Id: <20200805151256.7769-2-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200805151256.7769-1-monego@posteo.net> References: <20200805151256.7769-1-monego@posteo.net> 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/08/04 23:29:57 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-hpack): New variable. --- gnu/packages/python-web.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index a9f63bcf28..857a0e755c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -493,6 +493,40 @@ It provides a pure-Python codebase that is capable of decoding a binary stream into HTTP/2 frames.") (license license:expat))) +(define-public python-hpack + (package + (name "python-hpack") + (version "3.0.0") + (source + (origin + ;; PyPI tarball is missing some files necessary for the tests. + (method git-fetch) + (uri (git-reference + (url "https://github.com/python-hyper/hpack") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0w8hkz50a6lzkmgi41ryicm0mh9ca9cx29pm3s0xlpn0vs29xrmd")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "test" "-k" + ;; This test will be fixed in the next version. See: + ;; https://github.com/python-hyper/hpack/issues/168. + "not test_get_by_index_out_of_range")))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://hyper.rtfd.org") + (synopsis "Pure-Python HPACK header compression") + (description + "This module contains a pure-Python HTTP/2 header encoding (HPACK) logic +for use in Python programs that implement HTTP/2.") + (license license:expat))) + (define-public python-sockjs-tornado (package (name "python-sockjs-tornado") -- 2.20.1 ------------=_1596722583-6715-1--