GNU bug report logs - #77532
[PATCH] gnu: emacs-emacsql: Update to 4.3.0.

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: Cayetano Santos <csantosb@HIDDEN>; Keywords: patch; Done: Ian Eure <ian@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.
bug closed, send any further explanations to 77532 <at> debbugs.gnu.org and Cayetano Santos <csantosb@HIDDEN> Request was from Ian Eure <ian@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 77532) by debbugs.gnu.org; 5 Apr 2025 16:39:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 05 12:39:52 2025
Received: from localhost ([127.0.0.1]:44523 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u16Yh-0001P8-W0
	for submit <at> debbugs.gnu.org; Sat, 05 Apr 2025 12:39:52 -0400
Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]:35715)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ian@HIDDEN>) id 1u16Ye-0001Om-Ph
 for 77532 <at> debbugs.gnu.org; Sat, 05 Apr 2025 12:39:49 -0400
Received: from phl-compute-09.internal (phl-compute-09.phl.internal
 [10.202.2.49])
 by mailfhigh.phl.internal (Postfix) with ESMTP id 499D4114018C;
 Sat,  5 Apr 2025 12:39:43 -0400 (EDT)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-09.internal (MEProxy); Sat, 05 Apr 2025 12:39:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h=
 cc:cc:content-type:content-type:date:date:from:from:in-reply-to
 :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1;
 t=1743871183; x=1743957583; bh=Nz2x4Vhz26E4PWi0QNsSl8eo9xH/kp54
 JMeU5NimMhY=; b=d3D/MoY7xiLBPe7gB9Qlr5w1gwdS2d0b6qBI4YH1LRGert7C
 Ds82Fx9c87jG40rDLuH39DW5bnSgFgXfp+sliiJ/x5MvXrrv8GdKdI+n9ZZqA/4o
 NdoOCDPzr7a9f0L/uwzoC8seIhBX2roFoszlApjXt/tyFZBI8GcovaVZIAvvqpZq
 MJYFEjc53pN6jxjDJ469G8szN3v4akh3T1Y1HEt1okKs51/1HZs8KXxucoRf3ZX/
 L1miirJ9iIrGPwKjeXFcSjo1IWCrdkiUu4tjudYrUiZzX4et2TuRz1k1JpzR2Zcd
 e9uE+gLVm8pkj2FRRSeh2lD+I/Zpy1NbeNcGTQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:message-id
 :mime-version:reply-to:subject:subject:to:to:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1743871183; x=
 1743957583; bh=Nz2x4Vhz26E4PWi0QNsSl8eo9xH/kp54JMeU5NimMhY=; b=h
 tBqK1WFxayAJSqGHsObqD4af2jbDdb98kbxqPBafOyYi74/fonsZj2Pzqxtt+FKF
 HZJvMXxJPQYx85njtMKrbtgg+A6QoNhFIrYgsgnFlIVY8VMIGj0Vr1nd77mHGBQR
 vL6wMj3La0YOS+xipLhgJR5Xw/FTtr5wBhx86mYGpcYWhFDCdoLHakdV2NGVjHYS
 hIxgzYXrNc2xq3Y6d1UQzKBZlhSMji8p6u6P09DV8CGtHDqLeFifLtflxOwW4mVg
 hX0MZXRQkjeGZ2o9TxftplWA7a4cxybDVkzPd/f2c5FL0ctb0X8jFTo3gTJDZ9fh
 Zh9iax6MP1dp020FMSGlQ==
X-ME-Sender: <xms:zlzxZ7HsYEQlOy3NOXUBEzcv1FutHmPWS-EAFtNJJpMZfG2whQXJVg>
 <xme:zlzxZ4XpDSuKa-q0gkUaDzQAIOQnXvjY1siSsDzvQLdWi46ma0Bl57SsNL5cfew6w
 wf8PrwQg5nGhKpDxg>
X-ME-Received: <xmr:zlzxZ9JDtmjdtzXRjif10EvPVoZk3HjWewPnBrPPaGgNE9xrhcoSaxQ-AnjiNmLnm8XD1dxtqN7prf_p6hqVN3WCn2IhQhp8lwfg8Hufrg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduleegkeeiucetufdoteggodetrf
 dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv
 pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih
 gvnhhtshculddquddttddmnecujfgurhephffvvefufgffkfggtgesthdtredttdertden
 ucfhrhhomhepkfgrnhcugfhurhgvuceoihgrnhesrhgvthhrohhsphgvtgdrthhvqeenuc
 ggtffrrghtthgvrhhnpeefgeegtddvudejvddvfeeljeehleejffevheevffeugffhffef
 leekhffhtefhteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh
 hrohhmpehirghnsehrvghtrhhoshhpvggtrdhtvhdpnhgspghrtghpthhtohepiedpmhho
 uggvpehsmhhtphhouhhtpdhrtghpthhtoheplhhilhhirghnrgdrphhrihhklhgvrhesgh
 hmrghilhdrtghomhdprhgtphhtthhopegtohigrdhkrghthhgvrhhinhgvrdgvodhguhhi
 giesghhmrghilhdrtghomhdprhgtphhtthhopeguihhvhigrsehsuhgsvhgvrhhtihhsih
 hnghdrohhrghdprhgtphhtthhopegrnhgurhgvfiesthhrohhprdhinhdprhgtphhtthho
 peejjeehfedvseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtoheptghsrghnth
 hoshgssehinhhvvghnthgrthhirdhorhhg
X-ME-Proxy: <xmx:zlzxZ5H4BD30Hd5WYGbQe15kdbLLgIqVnsHk4iuYzkTpbfGS009KWg>
 <xmx:zlzxZxXgX5L2rapx7JrJJttC0bjJs-A0iXM3THDrxtEe-5pr5mRY4w>
 <xmx:zlzxZ0PjZ8CG4hOFq_n07QIb0itWWR7-YP5sXW95WSY2y7Fs6Chcpw>
 <xmx:zlzxZw2Hy1AP21HhcPGZsbtBxskv7tGkvRQR9qPbr_7eiNjmM2yLMQ>
 <xmx:z1zxZ6OVqsn7_Z3Qd6Au2bdtCtHe8tgHg5m3Xr1P2i-sZGBn4FBBbPmw>
Feedback-ID: id9014242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
 5 Apr 2025 12:39:41 -0400 (EDT)
From: Ian Eure <ian@HIDDEN>
To: Cayetano Santos <csantosb@HIDDEN>
Subject: Re: [bug#77532] [PATCH] gnu: emacs-emacsql: Update to 4.3.0.
User-Agent: mu4e 1.12.9; emacs 29.4
Date: Sat, 05 Apr 2025 09:39:40 -0700
Message-ID: <87ldsebm0j.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 77532
Cc: Katherine Cox-Buday <cox.katherine.e+guix@HIDDEN>, 77532 <at> debbugs.gnu.org,
 Liliana Marie Prikler <liliana.prikler@HIDDEN>,
 Divya Ranjan Pattanaik <divya@HIDDEN>,
 Andrew Tropin <andrew@HIDDEN>
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: -1.7 (-)

Hi Cayetano,

Pushed as bcfb283cda.

Thank you for your many contributions to Guix!

 -- Ian




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

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


Received: (at submit) by debbugs.gnu.org; 4 Apr 2025 13:24:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 04 09:24:25 2025
Received: from localhost ([127.0.0.1]:37436 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0h21-00088q-33
	for submit <at> debbugs.gnu.org; Fri, 04 Apr 2025 09:24:25 -0400
Received: from lists.gnu.org ([2001:470:142::17]:58776)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <csantosb@HIDDEN>)
 id 1u0h1y-00088X-IU
 for submit <at> debbugs.gnu.org; Fri, 04 Apr 2025 09:24:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <csantosb@HIDDEN>)
 id 1u0h1s-0007Jm-E8
 for guix-patches@HIDDEN; Fri, 04 Apr 2025 09:24:16 -0400
Received: from devianza.investici.org ([2c0f:f930:0:4::108])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <csantosb@HIDDEN>)
 id 1u0h1p-0006PU-TE
 for guix-patches@HIDDEN; Fri, 04 Apr 2025 09:24:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org;
 s=stigmate; t=1743773046;
 bh=JZOq+/dfCC126jbCHjRFI0ycZ/dHd6KqLqAUEgxIxtE=;
 h=From:To:Cc:Subject:Date:From;
 b=k1d6qBqMNpFUR9mZiAZFAjU3OJqrJTmVUUCCnZ1d4rOrDFqNuamVHtRd7E/DhHugC
 HSgTDqjRUzRVEoAtrreTJkAH8kzfsl0JYnyinIkGAvPitqJLWu43InP9vWVw//Alf+
 J/N1WuzaTK6Hu/xUn2mlXiL6OJMZlNBptx4LsZ5Y=
Received: from mx2.investici.org (unknown [127.0.0.1])
 by devianza.investici.org (Postfix) with ESMTP id 4ZTfT200dhz6vJq;
 Fri,  4 Apr 2025 13:24:05 +0000 (UTC)
Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108])
 (Authenticated sender: cayetano.santos@HIDDEN) by localhost (Postfix)
 with ESMTPSA id 4ZTfT15Y1jz6vJN; 
 Fri,  4 Apr 2025 13:24:05 +0000 (UTC)
From: Cayetano Santos <csantosb@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: emacs-emacsql: Update to 4.3.0.
Date: Fri,  4 Apr 2025 15:21:35 +0200
Message-ID: <50eeffad29082215e9b0190212744f3a86f87be3.1743772895.git.csantosb@HIDDEN>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
X-Debbugs-Cc: Andrew Tropin <andrew@HIDDEN>,
 Cayetano Santos <csantosb@HIDDEN>,
 Divya Ranjan Pattanaik <divya@HIDDEN>, Ian Eure <ian@HIDDEN>,
 Katherine Cox-Buday <cox.katherine.e+guix@HIDDEN>,
 Liliana Marie Prikler <liliana.prikler@HIDDEN>
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2c0f:f930:0:4::108;
 envelope-from=csantosb@HIDDEN; helo=devianza.investici.org
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: Cayetano Santos <csantosb@HIDDEN>
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.1 (/)

* gnu/packages/emacs-xyz.scm (emacs-emacsql): Update to 4.3.0.

Change-Id: Ib1cce5b0ca4709f774819a2602c2e6b96604e8ba
---

- updated
- fix license
- fix tests
- fix executable-paths
- fix inputs

Checked by building all dependent packages.

 gnu/packages/emacs-xyz.scm | 33 +++++++++++++++------------------
 1 file changed, 15 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0c49bb5d4d..0796aa1970 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -25450,7 +25450,7 @@ (define-public emacs-finalize
 (define-public emacs-emacsql
   (package
     (name "emacs-emacsql")
-    (version "4.2.0")
+    (version "4.3.0")
     (source
      (origin
        (method git-fetch)
@@ -25459,34 +25459,31 @@ (define-public emacs-emacsql
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "08zc3x6cgbn2x67xajz8rnika3bhd86yb6h77q8wg1dxyh1ib2m9"))))
+        (base32 "0bjw4qbm254r51kgl0bg4scblk998p0y3m140k5lmrdb7k4pnxq2"))))
     (build-system emacs-build-system)
     (arguments
      (list
-      #:tests? #true
-      #:test-command #~(list "emacs" "-Q" "--batch"
-                             "-L" "tests"
-                             "-L" "."
-                             "-l" "tests/emacsql-compiler-tests.el"
-                             "-l" "tests/emacsql-external-tests.el"
-                             "-f" "ert-run-tests-batch-and-exit")
+      #:tests? #t
+      #:test-command #~(list "make" "test")
       #:phases
       #~(modify-phases %standard-phases
-          (add-before 'install 'patch-elisp-shell-shebangs
-            (lambda _
-              (substitute* (find-files "." "\\.el")
-                (("/bin/sh") (which "sh"))))))))
-    (inputs
-     (list emacs-minimal `(,mariadb "dev") `(,mariadb "lib") postgresql))
-    (propagated-inputs
-     (list emacs-finalize emacs-pg emacs-sqlite3-api))
+          (add-after 'unpack 'fix-executable-paths
+            (lambda* (#:key inputs #:allow-other-keys)
+              (let ((mdb (assoc-ref inputs "mariadb"))
+                    (psql (assoc-ref inputs "postgresql")))
+                (emacs-substitute-variables "emacsql-psql.el"
+                  ("emacsql-psql-executable" (string-append psql "/bin/psql")))
+                (emacs-substitute-variables "emacsql-mysql.el"
+                  ("emacsql-mysql-executable" (string-append mdb "/bin/mysql")))))))))
+    (inputs (list mariadb postgresql))
+    (native-inputs (list emacs-sqlite3-api))
     (home-page "https://github.com/magit/emacsql")
     (synopsis "Emacs high-level SQL database front-end")
     (description "Any readable Lisp value can be stored as a value in EmacSQL,
 including numbers, strings, symbols, lists, vectors, and closures.  EmacSQL
 has no concept of @code{TEXT} values; it's all just Lisp objects.  The Lisp
 object @code{nil} corresponds 1:1 with @code{NULL} in the database.")
-    (license license:gpl3+)))
+    (license license:unlicense)))
 
 (define-public emacs-closql
   (package

base-commit: f664a9377deed2c9e644b53a0b497153c7e7a41f
--
2.49.0





Acknowledgement sent to Cayetano Santos <csantosb@HIDDEN>:
New bug report received and forwarded. Copy sent to andrew@HIDDEN, csantosb@HIDDEN, divya@HIDDEN, ian@HIDDEN, cox.katherine.e+guix@HIDDEN, liliana.prikler@HIDDEN, guix-patches@HIDDEN. Full text available.
Report forwarded to andrew@HIDDEN, csantosb@HIDDEN, divya@HIDDEN, ian@HIDDEN, cox.katherine.e+guix@HIDDEN, liliana.prikler@HIDDEN, guix-patches@HIDDEN:
bug#77532; 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: Sat, 5 Apr 2025 16:45:02 UTC

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