Subject: bug#73692: closed (Re: [bug#73692] [PATCH v7 2/2] gnu: timescaledb: Ignore failing tests.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 20 Oct 2024 14:35:03 +0000

Your bug report

#73692: [PATCH] gnu: timescaledb: Update to 2.16.1. [security fixes]

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 [email-masked].

-- 
73692: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73692
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#73692] [PATCH v7 2/2] gnu: timescaledb: Ignore failing tests.
From: Zheng Junjie <[email-masked]>
To: Nicolas Graves via Guix-patches via <[email-masked]>
Cc: [email-masked], Nicolas Graves <[email-masked]>
Date: Sun, 20 Oct 2024 22:33:43 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Nicolas Graves via Guix-patches via <[email-masked]> writes:

> * gnu/packages/databases.scm (timescaledb):
> [arguments]<#:phases>: Add phase 'patch-failing-tests.
> ---
>  gnu/packages/databases.scm | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
> index df346893b8..6f30e22624 100644
> --- a/gnu/packages/databases.scm
> +++ b/gnu/packages/databases.scm
> @@ -1487,6 +1487,29 @@ (define-public timescaledb
>                               "-o" (string-append "-k " pg-data)
>                               "-l" (string-append pg-data "/db.log")
>                               "start"))))
> +               #$@(cond
> +                   ((string=? "x86-64-linux" (%current-system))
> +                    #~())
> +                   ((string=? "i686-linux" (%current-system))
> +                    #~((add-after 'unpack 'skip-failing-tests
> +                         (lambda _
> +                           (substitute* "test/sql/CMakeLists.txt"
> +                             (((string-append
> +                                "("
> +                                (string-join
> +                                 '(" append\\.sql\\.in"
> +                                   " chunk_adaptive\\.sql"
> +                                   " histogram_test\\.sql\\.in")
> +                                 "|")
> +                                ")")
> +                               all)
> +                              (string-append "#" all)))))))
> +                   (else
> +                    #~((add-after 'unpack 'skip-failing-tests
> +                         (lambda _
> +                           (substitute* "test/sql/CMakeLists.txt"
> +                             ((" histogram_test\\.sql\\.in")
> +                              "# histogram_test.sql.in")))))))
>                 (add-after 'prepare-tests 'check
>                   (assoc-ref %standard-phases 'check)))))
>      (inputs (list openssl postgresql))
push, close.

Subject: [PATCH] gnu: timescaledb: Update to 2.16.1. [security fixes]
From: Nicolas Graves <[email-masked]>
To: [email-masked]
Cc: Nicolas Graves <[email-masked]>
Date: Tue, 8 Oct 2024 08:26:17 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

This fixes CVE-2023-25149.

* gnu/packages/databases.scm (timescaledb): Update to 2.16.1.
---
 gnu/packages/databases.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 784e633626..7854a98431 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1412,7 +1412,7 @@ (define-public postgresql postgresql-14)
 (define-public timescaledb
   (package
     (name "timescaledb")
-    (version "2.8.1")
+    (version "2.16.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1421,7 +1421,7 @@ (define-public timescaledb
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1gbadna0ilmqad7sbrixm12wd71h43njhsbp1kh5lispb6drdb6r"))
+                "1v17x00a15il4r3rbr0waqjv1nwzy6rcqxgfi2hdk1x235s5dg5h"))
               (modules '((guix build utils)))
               (snippet
                ;; Remove files carrying the proprietary TIMESCALE license.
-- 
2.46.0