Subject: bug#74297: closed (Re: [bug#74297] [PATCH] gnu: postgresql-10: Replace deprecated dependency.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 14 Nov 2024 14:46:02 +0000

Your bug report

#74297: [PATCH] gnu: postgresql-10: Replace deprecated dependency.

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].

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

Subject: Re: [bug#74297] [PATCH] gnu: postgresql-10: Replace deprecated dependency.
From: Ludovic Courtès <[email-masked]>
To: David Pflug <[email-masked]>
Cc: Ricardo Wurmus <[email-masked]>, [email-masked]
Date: Thu, 14 Nov 2024 15:44:44 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

David Pflug <[email-masked]> skribis:

> * gnu/packages/databases.scm (postgresql-10): Inherit postgresql-13
> instead of 11.
>
> Using the deprecated postgresql-11 package was causing warnings to be
> printed on `guix pull`.
>
> Change-Id: I36225ff2a1889f94cd5aabe229ee638793594abf

Applied, thanks!  Those warnings were annoying, indeed.

Ludo’.

Subject: [PATCH] gnu: postgresql-10: Replace deprecated dependency.
From: David Pflug <[email-masked]>
To: [email-masked]
Cc: David Pflug <[email-masked]>
Date: Sun, 10 Nov 2024 12:54:13 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/databases.scm (postgresql-10): Inherit postgresql-13
instead of 11.

Using the deprecated postgresql-11 package was causing warnings to be
printed on `guix pull`.

Change-Id: I36225ff2a1889f94cd5aabe229ee638793594abf
---
 gnu/packages/databases.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 06158f19e7..d1553d91b4 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1394,17 +1394,17 @@ (define-deprecated/public postgresql-11 #f
 
 (define-deprecated/public postgresql-10 #f
   (package
-    (inherit postgresql-11)
+    (inherit postgresql-13)
     (version "10.23")
     (source (origin
-              (inherit (package-source postgresql-11))
+              (inherit (package-source postgresql-13))
               (uri (string-append "https://ftp.postgresql.org/pub/source/v"
                                   version "/postgresql-" version ".tar.bz2"))
               (sha256
                (base32
                 "1sgfssjc9lnzijhn108r6z26fri655k413f1c9b8wibjhd9b594l"))))
     (native-inputs
-     (modify-inputs (package-native-inputs postgresql-11)
+     (modify-inputs (package-native-inputs postgresql-13)
        (append opensp docbook-sgml-4.2)
        (delete "docbook-xml")))))

base-commit: f5ca62fcadf7a1a61cb13dc89edcfd3e9884e9e0
-- 
2.46.0