From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 14:51:28 2021 Received: (at submit) by debbugs.gnu.org; 27 Sep 2021 18:51:28 +0000 Received: from localhost ([127.0.0.1]:42859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUvip-0001Cz-Ml for submit@debbugs.gnu.org; Mon, 27 Sep 2021 14:51:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:56826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUvJ1-0000S7-0a for submit@debbugs.gnu.org; Mon, 27 Sep 2021 14:24:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUvJ0-0007XM-RX for bug-guix@gnu.org; Mon, 27 Sep 2021 14:24:46 -0400 Received: from kompot.si ([194.249.242.49]:35930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUvIr-0003tM-E9 for bug-guix@gnu.org; Mon, 27 Sep 2021 14:24:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kompot.si; s=mail; t=1632767071; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=f1fWg26Tf8akuV3lA1zS9Jr2G7qA01RRFvl13aFsL0c=; b=y6CXY+BU1ImyP6WlrvXEHa7d4CRdAhv/OO4Cd/nQO7ZxsH+2uxXmdRrl3+ecRRrEKK5TsP AhHZzsGzf8GMvFNDPLEva6thCFk8PN74JGzyEXLEgI6CFEuej/w1n8jtrgoLpPwO7rBR/o NIK5wXtSY20ikL/XN32BRiKa/KBGGA4= Date: Mon, 27 Sep 2021 20:24:26 +0200 From: Lio Novelli To: bug-guix@gnu.org Subject: python-feedparser Message-ID: <20210927202426.4cff11f9@mail.kompot.si> Organization: Kompot MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=194.249.242.49; envelope-from=lio@kompot.si; helo=kompot.si 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 27 Sep 2021 14:51:26 -0400 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.4 (--) Feedparser module is missing sgmllib dependency: >>> import feedparser Traceback (most recent call last): File "", line 1, in File "/home/len/.guix-profile/lib/python3.8/site-packages/feedparser/__i= nit__.py", line 28, in from .api import parse File "/home/len/.guix-profile/lib/python3.8/site-packages/feedparser/api= .py", line 36, in from .html import _BaseHTMLProcessor File "/home/len/.guix-profile/lib/python3.8/site-packages/feedparser/htm= l.py", line 31, in from .sgml import * File "/home/len/.guix-profile/lib/python3.8/site-packages/feedparser/sgm= l.py", line 30, in import sgmllib ModuleNotFoundError: No module named 'sgmllib' =46rom https://pypi.org/project/sgmllib3k/ https://github.com/conda-forge/sgmllib3k-feedstock I'll try to provide the patch but this will be my first one and I'm having some issues getting through (understanding) guix documentation on submitting bugs and patches. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 20:12:34 2021 Received: (at 50853) by debbugs.gnu.org; 28 Sep 2021 00:12:34 +0000 Received: from localhost ([127.0.0.1]:43177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV0jZ-000583-R9 for submit@debbugs.gnu.org; Mon, 27 Sep 2021 20:12:34 -0400 Received: from kompot.si ([194.249.242.49]:53452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUwnV-0002xE-Pg for 50853@debbugs.gnu.org; Mon, 27 Sep 2021 16:00:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kompot.si; s=mail; t=1632772814; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references; bh=S3ncfpPoW3zc7x3d3gPnAZdaLDpD34anLUhqNF3ofyM=; b=vU8CPgUCwiQz409yNKT3VyS8CNpB36MnVyzeHrL+m0HuMB0jp3tqSW9FrqyeLRvXg7i4Tl Ez8I1TZWxji5MKieTFJWtEQwf8dMzvWhZ4IK1NG0LA5pPXOnEC98lMGCEDgoGaYxZTvNt4 AwR5Cmpg+UxEMBbtaC1pgPyb8G1H3mY= Date: Mon, 27 Sep 2021 22:00:13 +0200 From: Lio Novelli To: 50853@debbugs.gnu.org Subject: python-feedparser Message-ID: <20210927215959.58abf108.lio.novelli@radiostudent.si> Organization: Kompot MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/ePdvUjXl/6x3lpWsLNHcT=a" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50853 X-Mailman-Approved-At: Mon, 27 Sep 2021 20:12:32 -0400 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 (-) --MP_/ePdvUjXl/6x3lpWsLNHcT=a Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline This patch provides a bit more than just bugfix: - Add two python package definitions sgmllib3k, sgqlc - updates python-feedparser --MP_/ePdvUjXl/6x3lpWsLNHcT=a Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-Add-two-python-package-definitions-sgmllib3k-sgqlc-a.patch =46rom bff17f280636f91fb79fbfa508ee95ec42f33bc2 Mon Sep 17 00:00:00 2001 From: l3n Date: Mon, 27 Sep 2021 21:57:36 +0200 Subject: [PATCH] Add two python package definitions sgmllib3k, sgqlc and update feedparser. --- gnu/packages/python-xyz.scm | 51 +++++++++++++++++++++++++++++++++++++ gnu/packages/web.scm | 6 +++-- 2 files changed, 55 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 86b1cdc2b1..d4ba1781cd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -108,6 +108,7 @@ ;;; Copyright =C2=A9 2021 Simon Streit ;;; Copyright =C2=A9 2021 Daniel Mei=C3=9Fner ;;; Copyright =C2=A9 2021 Pradana Aumars +;;; Copyright =C2=A9 2021 Liopold D. Novelli ;;; ;;; This file is part of GNU Guix. ;;; @@ -27116,3 +27117,53 @@ platform-specific directories, e.g. the ``user dat= a dir''.") "This package provides the @code{python-box} Python module. It implements advanced Python dictionaries with dot notation access.") (license license:expat))) + +(define-public python-sgmllib3k + (package + (name "python-sgmllib3k") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sgmllib3k" version ".tar.gz")) + (sha256 + (base32 + "1s8jm3dgqabgf8x96931scji679qkhvczlv3qld4qxpsicfgns3q")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) + (home-page + "https://github.com/conda-forge/sgmllib3k-feedstock") + (synopsis "A quick and dirty port of python2-sgmllib old module.") + (description + "sgmllib was dropped in Python 3. For those depending on it, that=E2= =80=99s somewhat unfortunate. This is a quick and dirty port of this old mo= dule. I just ran 2to3 on it and published it. I don=E2=80=99t intend to mai= ntain it, so it might be a good idea to eventually think about finding anot= her module to use.") + (license license:bsd-3))) + +(define-public python-sgqlc + (package + (name "python-sgqlc") + (version "14.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sgqlc" version)) + (sha256 + (base32 + "0ba7s0n5w6fmdn7gd638k1dq5pydzgd5hl6krw1f9xsci3qlldki")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) ; The tests are not distributed + (native-inputs + `(("python-sphinx" ,python-sphinx) + ("python-sphinx-argparse" ,python-sphinx-argparse) + ("python-websockets" ,python-websockets) + )) + (propagated-inputs + `(("python-requests" ,python-requests) + )) + (home-page "https://github.com/profusion/sgqlc") + (synopsis "An easy to use GraphQL client.") + (description + "An easy to use GraphQL client.") + (license "ISC License"))) + diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index d7bbd7489b..16200ae649 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4764,15 +4764,17 @@ their web site.") (define-public python-feedparser (package (name "python-feedparser") - (version "6.0.2") + (version "6.0.8") (source (origin (method url-fetch) (uri (pypi-uri "feedparser" version ".tar.gz")) (sha256 (base32 - "0x0hm9brh3j71645pydvlkrwxaaca9dnwd7xahwjyjaz882s200v")))) + "0qcnkyjjfj5gg5rhd1j4zzlqx5h34bma18zwgj68q95b0l543q2w")))) (build-system python-build-system) + (propagated-inputs + `(("python-sgmllib3k" ,python-sgmllib3k))) (arguments '(#:tests? #f)) (home-page --=20 2.33.0 --MP_/ePdvUjXl/6x3lpWsLNHcT=a-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 09 08:28:53 2021 Received: (at 50853) by debbugs.gnu.org; 9 Nov 2021 13:28:53 +0000 Received: from localhost ([127.0.0.1]:32966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkRBE-0008CR-4x for submit@debbugs.gnu.org; Tue, 09 Nov 2021 08:28:53 -0500 Received: from mout01.posteo.de ([185.67.36.65]:55429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkRB8-0008C6-KD for 50853@debbugs.gnu.org; Tue, 09 Nov 2021 08:28:50 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 4B92E240026 for <50853@debbugs.gnu.org>; Tue, 9 Nov 2021 14:28:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1636464520; bh=vFrQ8DtRX0JmLfpISmHLP8YzwGMMr5hFSVf8Dov5ySM=; h=Subject:From:To:Date:From; b=kPjULn7eA8E6DFvBcftjfR3RVTm3/r43+3N+du5hEveddoxRFgle3aJzSl1o8LC9L QZclLpPPdLz+8HflCVaxtmU9uDPq0HOtDF3G0jb+X8fhueY2v2Jx7rA4ivLUrQT7ES H2VA6DqW9NrUnIVxmYxqaAK+KfFX8FpGiDApbF0SVgJGw5IIZyLdHDtMqOKacfYN7Y 6Da2L5cCQetlCRyzl0bmkBSOt6FJ9A3MhCt96lwKybaRfzhWrz7ngvetT3+XxP/mBT FCnqiJJLCtFVUQXetSDNzMInaeSlAcKXwXl7quXNEgPMDWMIsyKJOjJ9gz9ZVxG59D lZA5JJVFxKh7g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HpTMV24Qnz6tp5; Tue, 9 Nov 2021 14:28:37 +0100 (CET) Message-ID: Subject: Re: python-feedparser From: Vinicius Monego To: Lio Novelli , 50853@debbugs.gnu.org Date: Tue, 09 Nov 2021 13:28:29 +0000 In-Reply-To: <20210927215959.58abf108.lio.novelli@radiostudent.si> References: <20210927215959.58abf108.lio.novelli@radiostudent.si> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50853 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 (---) Em seg, 2021-09-27 às 22:00 +0200, Lio Novelli escreveu: > This patch provides a bit more than just bugfix: >  - Add two python package definitions sgmllib3k, sgqlc >  - updates python-feedparser Hi, Could you format these patches with git-format-patch and submit as a series of 4 to guix-patches@gnu.org ? My suggestion is: 1. Add python-sgmllib3k. 2. Add python-sgqlc. 3. Add dependency on python-sgmllib3k for python-feedparser. 4. Update python-feedparser. See commit messages in git log for examples on how to write commit messages for these changes. > + (synopsis "A quick and dirty port of python2-sgmllib old > module.") Synopses should not end with full stop. You can use guix lint to check for common linting mistakes. > + (description > + "An easy to use GraphQL client.") Descriptions should be full sentences. e.g. "This package provides an easy to use GraphQL client.". See Submitting Patches in the documentation for more info: https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html