GNU bug report logs - #33436
[PATCH] gnu: Add python-warcio.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: swedebugia <swedebugia@HIDDEN>; Keywords: patch; dated Mon, 19 Nov 2018 20:43:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 33436 <at> debbugs.gnu.org:


Received: (at 33436) by debbugs.gnu.org; 11 Jan 2019 08:29:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 11 03:29:19 2019
Received: from localhost ([127.0.0.1]:54471 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ghsBr-0004s0-8B
	for submit <at> debbugs.gnu.org; Fri, 11 Jan 2019 03:29:19 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:33758)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1ghsBp-0004ro-Ar
 for 33436 <at> debbugs.gnu.org; Fri, 11 Jan 2019 03:29:17 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id F3E3B1730;
 Fri, 11 Jan 2019 09:29:15 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 5hPAKZVvnYO0; Fri, 11 Jan 2019 09:29:15 +0100 (CET)
Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 006FACEB;
 Fri, 11 Jan 2019 09:29:14 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: swedebugia <swedebugia@HIDDEN>
Subject: Re: [bug#33436] [PATCH] gnu: Add python-warcio.
References: <4f8816d0-8b47-7299-f31b-a2fa0f592d2d@HIDDEN>
 <87in0qu3xp.fsf@HIDDEN>
Date: Fri, 11 Jan 2019 09:29:14 +0100
In-Reply-To: <87in0qu3xp.fsf@HIDDEN> ("Ludovic
 \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\=
 \=\?utf-8\?Q\?s\?\= message of "Wed, 21 Nov 2018 11:21:06 +0100")
Message-ID: <87zhs78un9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 33436
Cc: 33436 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Ping!

ludo@HIDDEN (Ludovic Court=C3=A8s) skribis:

> Hello!
>
> swedebugia <swedebugia@HIDDEN> skribis:
>
>>>>From 537b2b111a464956bdec640ea5f84c4598ea66f9 Mon Sep 17 00:00:00 2001
>> From: swedebugia <swedebugia@HIDDEN>
>> Date: Mon, 19 Nov 2018 21:37:46 +0100
>> Subject: [PATCH] gnu: Add python-warcio.
>>
>> * gnu/packages/python.scm: New variable.
>                            ^
> Nitpick: You forgot the variable name here.  :-)
>
>> +   (arguments
>> +    ;; FIXME: Some tests require network access. 150 out of 1354 fail
>> +    '(#:tests? #f))
>
> Could you investigate a bit further?  What do the test logs show?
>
> It would be good to see if these tests can be easily fixed, if they
> should definitely be skipped (for instance because they rely on some
> external service), or if it=E2=80=99s something else.
>
>> +   (home-page "https://github.com/webrecorder/warcio")
>> +   (synopsis "Streaming web archival archive (WARC) library")
>> +   (description
>> +    "warcio is designed for fast, low-level access to web archival
>                  ^^
> What about: =E2=80=9Cwarcio is a Python library to read and write the WAR=
C format
> commonly used in Web archives.  It is designed for=E2=80=A6=E2=80=9D?
>
> Thank you,
> Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#33436; Package guix-patches. Full text available.

Message received at 33436 <at> debbugs.gnu.org:


Received: (at 33436) by debbugs.gnu.org; 21 Nov 2018 10:21:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 21 05:21:16 2018
Received: from localhost ([127.0.0.1]:37813 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gPPdE-0006uH-25
	for submit <at> debbugs.gnu.org; Wed, 21 Nov 2018 05:21:16 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46549)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gPPdC-0006u4-OE
 for 33436 <at> debbugs.gnu.org; Wed, 21 Nov 2018 05:21:15 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1gPPd6-0006bE-Me
 for 33436 <at> debbugs.gnu.org; Wed, 21 Nov 2018 05:21:09 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43830)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1gPPd6-0006b2-Io; Wed, 21 Nov 2018 05:21:08 -0500
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=59456 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1gPPd6-0004T2-9u; Wed, 21 Nov 2018 05:21:08 -0500
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: swedebugia <swedebugia@HIDDEN>
Subject: Re: [bug#33436] [PATCH] gnu: Add python-warcio.
References: <4f8816d0-8b47-7299-f31b-a2fa0f592d2d@HIDDEN>
Date: Wed, 21 Nov 2018 11:21:06 +0100
In-Reply-To: <4f8816d0-8b47-7299-f31b-a2fa0f592d2d@HIDDEN> (swedebugia's
 message of "Mon, 19 Nov 2018 21:41:46 +0100")
Message-ID: <87in0qu3xp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 33436
Cc: 33436 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Hello!

swedebugia <swedebugia@HIDDEN> skribis:

>>From 537b2b111a464956bdec640ea5f84c4598ea66f9 Mon Sep 17 00:00:00 2001
> From: swedebugia <swedebugia@HIDDEN>
> Date: Mon, 19 Nov 2018 21:37:46 +0100
> Subject: [PATCH] gnu: Add python-warcio.
>
> * gnu/packages/python.scm: New variable.
                           ^
Nitpick: You forgot the variable name here.  :-)

> +   (arguments
> +    ;; FIXME: Some tests require network access. 150 out of 1354 fail
> +    '(#:tests? #f))

Could you investigate a bit further?  What do the test logs show?

It would be good to see if these tests can be easily fixed, if they
should definitely be skipped (for instance because they rely on some
external service), or if it=E2=80=99s something else.

> +   (home-page "https://github.com/webrecorder/warcio")
> +   (synopsis "Streaming web archival archive (WARC) library")
> +   (description
> +    "warcio is designed for fast, low-level access to web archival
                 ^^
What about: =E2=80=9Cwarcio is a Python library to read and write the WARC =
format
commonly used in Web archives.  It is designed for=E2=80=A6=E2=80=9D?

Thank you,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#33436; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Nov 2018 20:42:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 19 15:42:04 2018
Received: from localhost ([127.0.0.1]:33056 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gOqMt-0005lF-Ov
	for submit <at> debbugs.gnu.org; Mon, 19 Nov 2018 15:42:03 -0500
Received: from eggs.gnu.org ([208.118.235.92]:39680)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <swedebugia@HIDDEN>) id 1gOqMs-0005ki-1g
 for submit <at> debbugs.gnu.org; Mon, 19 Nov 2018 15:42:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <swedebugia@HIDDEN>) id 1gOqMm-00087o-31
 for submit <at> debbugs.gnu.org; Mon, 19 Nov 2018 15:41:56 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:58698)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <swedebugia@HIDDEN>)
 id 1gOqMl-00087e-Vr
 for submit <at> debbugs.gnu.org; Mon, 19 Nov 2018 15:41:56 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49281)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <swedebugia@HIDDEN>) id 1gOqMk-0001c3-W0
 for guix-patches@HIDDEN; Mon, 19 Nov 2018 15:41:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <swedebugia@HIDDEN>) id 1gOqMh-000855-Ri
 for guix-patches@HIDDEN; Mon, 19 Nov 2018 15:41:54 -0500
Received: from mx1.riseup.net ([198.252.153.129]:34562)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <swedebugia@HIDDEN>)
 id 1gOqMh-00084i-G5
 for guix-patches@HIDDEN; Mon, 19 Nov 2018 15:41:51 -0500
Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client CN "*.riseup.net",
 Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK))
 by mx1.riseup.net (Postfix) with ESMTPS id 84FAC1A0A9D
 for <guix-patches@HIDDEN>; Mon, 19 Nov 2018 12:41:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1542660110; bh=mZh79GYD/3/lfSMKn/XFnLLMF9hn4CzFLt9WI85Stag=;
 h=To:From:Subject:Date:From;
 b=bciiW6DZ4MXM6lLDTAg6mwLq18IkVPzey8CD9sv9lzYsK6RmtxFqxhhNvsDrUTipy
 9qdKMqoArlAKl0cisAtfIkCk0xzlwXiYhpGL2VeTM8zdh5ZuGFqXaJ8dPNR50+o6xa
 BHTFPeAX7dq46169IFH7mJ+j3g1y1pdJq0rl/M3U=
X-Riseup-User-ID: 2670AEC4F0159B6B82B67BBFC8029DBDE0AD7EF4D440B27CA189A37F33506850
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by cotinga.riseup.net with ESMTPSA id D7CD2104682
 for <guix-patches@HIDDEN>; Mon, 19 Nov 2018 12:41:49 -0800 (PST)
To: guix-patches@HIDDEN
From: swedebugia <swedebugia@HIDDEN>
Subject: [PATCH] gnu: Add python-warcio.
Message-ID: <4f8816d0-8b47-7299-f31b-a2fa0f592d2d@HIDDEN>
Date: Mon, 19 Nov 2018 21:41:46 +0100
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------F8676B632167A597D97B6A34"
Content-Language: en-US
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.1 (-----)

This is a multi-part message in MIME format.
--------------F8676B632167A597D97B6A34
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit


-- 
Cheers
Swedebugia

--------------F8676B632167A597D97B6A34
Content-Type: text/x-patch;
 name="0001-gnu-Add-python-warcio.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0001-gnu-Add-python-warcio.patch"

From 537b2b111a464956bdec640ea5f84c4598ea66f9 Mon Sep 17 00:00:00 2001
From: swedebugia <swedebugia@HIDDEN>
Date: Mon, 19 Nov 2018 21:37:46 +0100
Subject: [PATCH] gnu: Add python-warcio.

* gnu/packages/python.scm: New variable.
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2b7482a3e..24e8c409f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14630,3 +14630,29 @@ on regular expressions.")
      "This module implements the PRECIS Framework as described in RFC 8264,
 RFC 8265 and RFC 8266.")
     (license license:expat)))
+
+(define-public python-warcio
+  (package
+   (name "python-warcio")
+   (version "1.6.3")
+   (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "warcio" version))
+      (sha256
+       (base32
+        "1nyhghbag1chh5fml848x799mwgkgmz3l3ipv7lr6p0lj1jq8i1r"))))
+   (build-system python-build-system)
+   (inputs `(("python-six" ,python-six)
+             ("python-requests" ,python-requests)
+             ("python-httpbin" ,python-httpbin)
+             ("python-pytest-cov" ,python-pytest-cov)))
+   (arguments
+    ;; FIXME: Some tests require network access. 150 out of 1354 fail
+    '(#:tests? #f))
+   (home-page "https://github.com/webrecorder/warcio")
+   (synopsis "Streaming web archival archive (WARC) library")
+   (description
+    "warcio is designed for fast, low-level access to web archival
+content, oriented around a stream of WARC records rather than files.")
+   (license license:asl2.0)))
-- 
2.18.0


--------------F8676B632167A597D97B6A34--




Acknowledgement sent to swedebugia <swedebugia@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#33436; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 11 Jan 2019 08:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.