From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wMuCCjlUF2MwTAAAbAwnHQ (envelope-from ) for ; Tue, 06 Sep 2022 16:07:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YBd5CjlUF2NrPAAAauVa8A (envelope-from ) for ; Tue, 06 Sep 2022 16:07:53 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 272ED24B17 for ; Tue, 6 Sep 2022 16:05:59 +0200 (CEST) Received: from localhost ([::1]:57138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVZDC-0001yd-KJ for larch@yhetil.org; Tue, 06 Sep 2022 10:05:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVY6Y-0007o9-UY for guix-patches@gnu.org; Tue, 06 Sep 2022 08:55:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33119) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVY6Y-0001sY-Jg for guix-patches@gnu.org; Tue, 06 Sep 2022 08:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVY6Y-0007et-GB for guix-patches@gnu.org; Tue, 06 Sep 2022 08:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57587] [PATCH] gnu: python-apsw: Update to 3.39.2.1. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Sep 2022 12:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57587 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57587@debbugs.gnu.org Cc: Christopher Baines Received: via spool by 57587-submit@debbugs.gnu.org id=B57587.166246889229413 (code B ref 57587); Tue, 06 Sep 2022 12:55:02 +0000 Received: (at 57587) by debbugs.gnu.org; 6 Sep 2022 12:54:52 +0000 Received: from localhost ([127.0.0.1]:50051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVY6O-0007eK-9A for submit@debbugs.gnu.org; Tue, 06 Sep 2022 08:54:52 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:39564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVY6I-0007e0-6Y for 57587@debbugs.gnu.org; Tue, 06 Sep 2022 08:54:50 -0400 Date: Tue, 06 Sep 2022 20:54:19 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1662468875; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4SwEqyd7/16WYLLOmliJFwPTTblNWNcFikxtAfPiysQ=; b=WHDEsqM9naqVqFDlxaukmhFOVbhVSkG0zdqqkVKz8FJRhiSXBw62mJGtdczbkG4KjDNKU2 bwDFiZ9klK5XxgrM9VdSlqASPGGCVY07HZzEV3dRDAffcQ2UUh9+extEooNq9kB1n139H8 8nzAuCWf9y2NGUBUzIa0zGe0c2kx8+0dUYvwpGsJsuO6n6K7fUcLkn6z7BgneKEvlOh59J pWFNoinamO4Op+L3kMiptCHOw+vCSseIhctZq9XWNavFpQYXc40o1gsnL1J6egBvm41J8k 7UxaTR+LiXJxC08SsswU5pambwirfBMyXvpF7Rf8INyoMKLO5MKRw4J4TNgIvg== Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662473160; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4SwEqyd7/16WYLLOmliJFwPTTblNWNcFikxtAfPiysQ=; b=siInAlXwPv3mt+IvSAVrt5shVeLW7ap3zKQ/FJliYn35DpIY4s/xsRZGLxmssVducShPg4 HwI0P2B3KtOn+7b2n7Uk83aBu34VYntJsK1nfpgru8iZit8FIDnG1LFh5zRZ5BMrp8qsfP 7CWQOHr3shUnQtAVhqtufcVsp7IP6Pcx8sxzIofbOxldt+xv0a/hzkKpXOjEQ1bedqvG4h NpgGojaloCiACREGKqtqqhAhGEibCdDHdfv2XBiFxz266o+QEWpx8du21hCGCkQzNnOLij KfY1IIWY6+sjLv9W/vv0GxGX951HkL7oGAZOobPA0cZPDeVEbseBadIPNMImFw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662473160; a=rsa-sha256; cv=none; b=XFRZqFUidlie18aS0GxhYk9jgf6TMNMi+T/WpsclKgqz78+eMkTmtwqX/yr1Zg14BXvmpF LLL8vwJzv0l2qoxf0wDFWJNqsaixvzrnC7/UHgLOj3ceFgNkz6WNgjyK/xiWoZdLMCKQL5 5BFKS8bdTtnZUzWseQ0WvBZf0r4Ty0v5sQNa5tzfxuNSw4bx5LBWddcY333b1FkNMZeGSD wAXkTYc+hTD+LGjoB99AkOx7YYgiCYTVTnLMdl/wOh5OpKtelNod1t6Qy9T7i8geUR2cM+ UQwTTeyI89xoMMvaEzCYt782F1aaXtwYSmQFBzJ8EnVo2+jW0oTS+0YuIQEqgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=WHDEsqM9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.77 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=WHDEsqM9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 272ED24B17 X-Spam-Score: -1.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: xvdsCzzkRq6A =46rom 95fd5f63cbab6890f7280374f9278fd9811513a3 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Tue, 6 Sep 2022 20:30:45 +0800 Subject: [PATCH] gnu: python-apsw: Update to 3.39.2.1. * gnu/packages/databases.scm (python-apsw): Update to 3.39.2.1. [source]: Change back to compressed release. * gnu/packages/patches/python-apsw-3.39.2.1-test-fix.patch: New file. * gnu/local.mk: Add patch. --- gnu/local.mk | 1 + gnu/packages/databases.scm | 18 ++++++++----- .../python-apsw-3.39.2.1-test-fix.patch | 27 +++++++++++++++++++ 3 files changed, 39 insertions(+), 7 deletions(-) create mode 100644 gnu/packages/patches/python-apsw-3.39.2.1-test-fix.patch diff --git a/gnu/local.mk b/gnu/local.mk index e454189b8b..19102113c9 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1694,6 +1694,7 @@ dist_patch_DATA =3D \ %D%/packages/patches/python-3-fix-tests.patch \ %D%/packages/patches/python-3-hurd-configure.patch \ %D%/packages/patches/python-3-no-static-lib.patch \ + %D%/packages/patches/python-apsw-3.39.2.1-test-fix.patch \ %D%/packages/patches/python-aionotify-0.2.0-py3.8.patch \ %D%/packages/patches/python-argcomplete-1.11.1-fish31.patch \ %D%/packages/patches/python-cross-compile.patch \ diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 7edf0fed2d..9540b61920 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3568,18 +3568,22 @@ (define-public python-pickleshare (define-public python-apsw (package (name "python-apsw") - (version "3.39.2.0") + (version "3.39.2.1") + ;; The compressed release has fetching functionality disabled. (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/rogerbinns/apsw") - (commit version))) - (file-name (git-file-name name version)) + (method url-fetch) + (uri (string-append + "https://github.com/rogerbinns/apsw/releases/download/" + version "/apsw-" version ".zip")) (sha256 (base32 - "0q7fnk8n3m5mpjzh6xyhj409k8sacdbjsfis98my9c50fdn5sr7y")))) + "06x3qgg71xz8l3kz8gz04wkfp5f6zfrg476a4mm1c5hikqyw6ykj")) + ;; Cherry-picked from upstream, remove when bumping to 3.39.3. + (patches + (search-patches "python-apsw-3.39.2.1-test-fix.patch")))) (build-system python-build-system) + (native-inputs (list unzip)) (inputs (list sqlite-next)) ;SQLite 3.39 required. (arguments (list #:phases diff --git a/gnu/packages/patches/python-apsw-3.39.2.1-test-fix.patch b/gnu= /packages/patches/python-apsw-3.39.2.1-test-fix.patch new file mode 100644 index 0000000000..cc233e3ccd --- /dev/null +++ b/gnu/packages/patches/python-apsw-3.39.2.1-test-fix.patch @@ -0,0 +1,27 @@ +From 1111f902075169bd0d96cdd10607ef8499f0fed5 Mon Sep 17 00:00:00 2001 +From: Roger Binns +Date: Mon, 5 Sep 2022 07:12:25 -0700 +Subject: [PATCH] Deal with mismatched SQLITE_ENABLE_COLUMN_METADATA + +Address #363 +--- + apsw/tests.py | 2 +- + 1 files changed, 1 insertions(+), 1 deletion(-) + +diff --git a/apsw/tests.py b/apsw/tests.py +index b4a94d3..256ead0 100644 +--- a/apsw/tests.py ++++ b/apsw/tests.py +@@ -772,8 +772,8 @@ class APSW(unittest.TestCase): + c.execute("drop table foo; create table foo (%s)" % (", ".join(["= [%s] %s" % (n, t) for n, t in cols]), )) + c.execute("insert into foo([x a space]) values(1)") + c.execute("create temp table two(fred banana); insert into two va= lues(7); create temp view three as select fred as [a space] from two") +- has_full=3Dany(o=3D=3D"ENABLE_COLUMN_METADATA" or o.startswith("E= NABLE_COLUMN_METADATA=3D") for o in apsw.compile_options) ++ has_full=3Dany(o=3D=3D"ENABLE_COLUMN_METADATA" or o.startswith("E= NABLE_COLUMN_METADATA=3D") for o in apsw.compile_options) if apsw.using_ama= lgamation else hasattr(c, "description_full") + for row in c.execute("select * from foo"): + self.assertEqual(cols, c.getdescription()) + self.assertEqual(has_full, hasattr(c, "description_full")) + +base-commit: f628374c5857d940067ef26c9ea4e85a08a94f76 +-- +2.37.2 base-commit: 7ae51b741a6b73d3b2730389ed5291e00d7e5c0a --=20 2.37.2