GNU bug report logs - #53821
[PATCH] Add the python-psycopg2-binary package.

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: Pierre-Henry Fröhring <contact@HIDDEN>; Keywords: patch; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.

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


Received: (at 53821) by debbugs.gnu.org; 5 Feb 2025 18:15:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 05 13:15:10 2025
Received: from localhost ([127.0.0.1]:52322 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tfjvZ-0000aa-NJ
	for submit <at> debbugs.gnu.org; Wed, 05 Feb 2025 13:15:10 -0500
Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]:39414)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>)
 id 1tfjvX-0000VL-7E
 for 53821 <at> debbugs.gnu.org; Wed, 05 Feb 2025 13:15:08 -0500
Received: from [IPV6:2a02:1811:8c0e:ef00:34b4:e0d6:4edf:a32c]
 ([IPv6:2a02:1811:8c0e:ef00:34b4:e0d6:4edf:a32c])
 by albert.telenet-ops.be with cmsmtp
 id 9uF02E0083JGWDZ06uF0no; Wed, 05 Feb 2025 19:15:01 +0100
Content-Type: multipart/alternative;
 boundary="------------LupKFYE9cJjLWybgzCN5BMe2"
Message-ID: <bb9b3492-3f7e-40dd-99aa-d7c5516405b4@HIDDEN>
Date: Wed, 5 Feb 2025 19:15:00 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: [PATCH] Add the python-psycopg2-binary package.
To: jgart <jgart@HIDDEN>, 53821 <at> debbugs.gnu.org
References: <87zfjqjb7d.fsf@HIDDEN>
 <0d53bdf1-6108-4a29-a25a-7e9131c08b4b@HIDDEN>
 <dbc5ea22f318a77eb97927263b4b0395b709a9db@HIDDEN>
Content-Language: en-US
From: Maxime Devos <maximedevos@HIDDEN>
In-Reply-To: <dbc5ea22f318a77eb97927263b4b0395b709a9db@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r25;
 t=1738779301; bh=W+bQRzWTpNx+NAXftSUEDDFK/6DANDiyVulobrglm+E=;
 h=Content-Type:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:From;
 b=HJSE9tS8/5jf2bQBjFQLvETF/4FOTpr1uZfb6sagyTNTHo1dOr1Yi+NNqFO96UIaD
 tcQtsuLY8R4bjj0t76Cuq6G0ZZHqYBR428qR9pofM9VQV8EVyVBaEQdm0VN3Jw4fqe
 L8vgaID6bYRGB3hD2l0tuQB6C5yQ2iCM/q09cjwYkc49KI0GWh28VilZdm48SCBeKs
 h/QCd+lqSAFLX1xl4nxQOTYlvsEEvJcDiHqq3GGN6ZdCkoyngWotuRg3f9jxk4eSuC
 mn8dWTE0QiysU3Pc2YWEE0cT34B3WDRgvVhKQMIWf3650eUKK/ciATa18Oav9jydSK
 GKJIEEXWkXbUw==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53821
Cc: =?UTF-8?Q?Pierre-Henry_Fr=C3=B6hring?= <contact@HIDDEN>,
 =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@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 (-)

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

(including previous reply after unarchiving)

On 17/01/2025 5:50, jgart wrote:
> Isn't python-psycopg2-binary just a pre-built binary of python-pyscopg2
> distributed on PyPI IIRC?

I now looked at the most recent pypi tar to check this 
(https://files.pythonhosted.org/packages/cb/0e/bdc8274dc0585090b4e3432267d7be4dfbfd8971c0fa59167c711105a6bf/psycopg2-binary-2.9.10.tar.gz), 
and compared it (manually) to the python-psycopg2 tar.

Don't see any difference, which is just weird.

Recommend 'diffoscope [psycopg2 source] [pysocopg2-binary 'source']' for 
a closer investigation.

(---)

On 3/02/2025 0:49, jgart wrote:

> > Don't see any difference, which is just weird.
>
> Interesting...
>
> Should we remove it?

I think it's important to mention here that the computer I'm writing 
this on, doesn't have Guix and in particular it doesn't have diffoscope, 
so I cannot practically answer that at this time.

Best regards,
Maxime Devos

--------------LupKFYE9cJjLWybgzCN5BMe2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>(including previous reply after unarchiving)</p>
    <p> </p>
    <div class="moz-text-html" lang="x-unicode">
      <div class="moz-cite-prefix">On 17/01/2025 5:50, jgart wrote:<span
        style="white-space: pre-wrap">
</span><span style="white-space: pre-wrap">
</span></div>
      <blockquote type="cite"
        cite="mid:87zfjqjb7d.fsf@HIDDEN">
        <pre wrap="" class="moz-quote-pre">Isn't python-psycopg2-binary just a pre-built binary of python-pyscopg2
distributed on PyPI IIRC?</pre>
      </blockquote>
      <p>I now looked at the most recent pypi tar to check this
        (<a class="moz-txt-link-freetext"
href="https://files.pythonhosted.org/packages/cb/0e/bdc8274dc0585090b4e3432267d7be4dfbfd8971c0fa59167c711105a6bf/psycopg2-binary-2.9.10.tar.gz">https://files.pythonhosted.org/packages/cb/0e/bdc8274dc0585090b4e3432267d7be4dfbfd8971c0fa59167c711105a6bf/psycopg2-binary-2.9.10.tar.gz</a>),
        and compared it (manually) to the python-psycopg2 tar.</p>
      <p>Don't see any difference, which is just weird.</p>
      <p>Recommend 'diffoscope [psycopg2 source] [pysocopg2-binary
        'source']' for a closer investigation.<span
        style="white-space: pre-wrap">
</span></p>
    </div>
    <p>(---)<br>
    </p>
    <p>On 3/02/2025 0:49, jgart wrote:</p>
    <blockquote type="cite"
      cite="mid:dbc5ea22f318a77eb97927263b4b0395b709a9db@HIDDEN">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div>&gt; Don't see any difference, which is just weird.<br>
      </div>
      <div><br>
      </div>
      <div>Interesting...<br>
      </div>
      <div><br>
      </div>
      <div>Should we remove it?<br>
      </div>
    </blockquote>
    <p>I think it's important to mention here that the computer I'm
      writing this on, doesn't have Guix and in particular it doesn't
      have diffoscope, so I cannot practically answer that at this time.<br>
    </p>
    <p>Best regards,<br>
      Maxime Devos<br>
    </p>
  </body>
</html>

--------------LupKFYE9cJjLWybgzCN5BMe2--




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

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


Received: (at 53821) by debbugs.gnu.org; 2 Feb 2025 23:49:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 02 18:49:57 2025
Received: from localhost ([127.0.0.1]:36764 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tejiv-0000Vi-Ns
	for submit <at> debbugs.gnu.org; Sun, 02 Feb 2025 18:49:57 -0500
Received: from mx1.dismail.de ([78.46.223.134]:14991)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <jgart@HIDDEN>) id 1tejiu-0000VQ-6j
 for 53821 <at> debbugs.gnu.org; Sun, 02 Feb 2025 18:49:56 -0500
Received: from mx1.dismail.de (localhost [127.0.0.1])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 2d164344;
 Mon, 3 Feb 2025 00:49:46 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=
 mime-version:date:content-type:from:message-id:subject:to:cc
 :in-reply-to:references; s=20190914; bh=90GvE3K3QGobDwSSaR97Boey
 NZT3pPJBo/v4GgnLI74=; b=qmBXRfwAsnS6VIH7t2BVDn2IYHIiHN1yHaq2uIRM
 fYiSQBhiPuFBKZjyLL+bTONs6xAU+Ceh0m72bvZQaJ3ECGxxEi2XjGx66bVtukNk
 XO26oFTjtqk68lLp/fqjrtO0YemvkUjNmsoNoqaSP43bcXjunQxavdNZFO5ZpNJl
 RPz/TaEDm50zxtr5FD85Z0dpr3dXLurxxgWshGytyb9S38HtMrv3NbGi6DrUa98H
 qZLYQ4xt+UOuVdLcQkdYuTp17D4aenNvPLIf21xU/yr3ayHtVkWUp2SDIicAROYR
 776ugt86s3fzTOPk6ayv4fRwlyAq/3Bpu5LirZouWwhegg==
Received: from smtp1.dismail.de (<unknown> [10.240.26.11])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 2ab66722;
 Mon, 3 Feb 2025 00:49:46 +0100 (CET)
Received: from smtp1.dismail.de (localhost [127.0.0.1])
 by smtp1.dismail.de (OpenSMTPD) with ESMTP id 5be18ae2;
 Mon, 3 Feb 2025 00:49:46 +0100 (CET)
Received: by dismail.de (OpenSMTPD) with ESMTPSA id 92beaf60
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Mon, 3 Feb 2025 00:49:45 +0100 (CET)
MIME-Version: 1.0
Date: Sun, 02 Feb 2025 23:49:44 +0000
Content-Type: multipart/alternative;
 boundary="fde2e6b1-e0ba-42b0-a9f2-64a7c21ec48c-1"
From: "jgart" <jgart@HIDDEN>
Message-ID: <dbc5ea22f318a77eb97927263b4b0395b709a9db@HIDDEN>
TLS-Required: No
Subject: Re: [PATCH] Add the python-psycopg2-binary package.
To: "Maxime Devos" <maximedevos@HIDDEN>, 53821 <at> debbugs.gnu.org
In-Reply-To: <0d53bdf1-6108-4a29-a25a-7e9131c08b4b@HIDDEN>
References: <87zfjqjb7d.fsf@HIDDEN>
 <0d53bdf1-6108-4a29-a25a-7e9131c08b4b@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53821
Cc: =?utf-8?B?UGllcnJlLUhlbnJ5IEZyw7ZocmluZw==?= <contact@HIDDEN>,
 =?utf-8?B?THVkb3ZpYyBDb3VydMOocw==?= <ludo@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 (-)

--fde2e6b1-e0ba-42b0-a9f2-64a7c21ec48c-1
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

> Don't see any difference, which is just weird.

Interesting...

Should we remove it?

all best,

jgart
--fde2e6b1-e0ba-42b0-a9f2-64a7c21ec48c-1
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><meta http-equiv=3D"Content-Type" content=3D"t=
ext/html; charset=3Dutf-8"></head><body><div>&gt; Don't see any differenc=
e, which is just weird.<br></div><div><br></div><div>Interesting...<br></=
div><div><br></div><div>Should we remove it?<br></div><div><br></div><div=
>all best,<br></div><div><br></div><div>jgart<br></div><div><br></div><di=
v><br></div></body></html>
--fde2e6b1-e0ba-42b0-a9f2-64a7c21ec48c-1--




Information forwarded to guix-patches@HIDDEN:
bug#53821; Package guix-patches. Full text available.
bug unarchived. Request was from Maxime Devos <maximedevos@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug archived. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.

Message received at 53821-done <at> debbugs.gnu.org:


Received: (at 53821-done) by debbugs.gnu.org; 24 Mar 2022 22:23:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 24 18:23:50 2022
Received: from localhost ([127.0.0.1]:49597 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nXVry-0001GL-KS
	for submit <at> debbugs.gnu.org; Thu, 24 Mar 2022 18:23:50 -0400
Received: from eggs.gnu.org ([209.51.188.92]:38018)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1nXVrw-0001G8-UU
 for 53821-done <at> debbugs.gnu.org; Thu, 24 Mar 2022 18:23:49 -0400
Received: from [2001:470:142:3::e] (port=52860 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nXVrr-0006ck-2T; Thu, 24 Mar 2022 18:23:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=Zyhx68B+PCxRATJeG5bUwqLrbjSNYext3lNvUwskhk8=; b=FQmGBw8aY3LrOP3SfP1I
 TEcZvt/yE2GoV/aZkSRnvIqkT002/+TbOlFwS8E/K6aS4x7VaEHkxdIn+YkELP2+QnbNLU9u96zzr
 M90a5Hht2w25Dvh0RZ9c0b4JdX0Oir2Fhf8Pn4oyV0LgyHHJxMudSjK41wovIYtzjcuatw9p2tu4x
 MmVKCRBPek5GsQsCWz4j6H6KS66Xxno2/HOa/HtzTvfPs27igrRUAGImiL6mcZ+MQvL0YANSjSda1
 IAjfN6qv99JxV4/7QaUnfvBwf3wNksO3FPoLH8/5SNM5HWUDeCsbie2gwJkfZXPATTJ741oDbcB3s
 pOWm7ZHknOiGwg==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:62867
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nXVrq-0003NN-Ji; Thu, 24 Mar 2022 18:23:42 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Pierre-Henry =?utf-8?Q?Fr=C3=B6hring?= <contact@HIDDEN>
Subject: Re: bug#53821: [PATCH] Add the python-psycopg2-binary package.
References: <20220206143813.1701863-1-contact@HIDDEN>
 <20220206153552.1758371-1-contact@HIDDEN>
Date: Thu, 24 Mar 2022 23:23:40 +0100
In-Reply-To: <20220206153552.1758371-1-contact@HIDDEN> ("Pierre-Henry
 =?utf-8?Q?Fr=C3=B6hring=22's?= message of "Sun, 6 Feb 2022 16:35:56 +0100")
Message-ID: <87y20z7zwz.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53821-done
Cc: 53821-done <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: -3.3 (---)

Hi,

Pierre-Henry Fr=C3=B6hring <contact@HIDDEN> skribis:

> `(#:tests? #f)' because tests require a live PostegreSQL instance.
>
> Maxime's suggestions are taken into account in this patch:
>   - `(#:tests? #f)' is commented in the code
>   - superlatives in the description have been removed
> ---
>  gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 7c1b5e8ed3..7b2df04fd2 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -28931,4 +28931,39 @@ (define-public python-types-dataclasses
>       "This packages provides a collection of library stubs for Python, w=
ith
>  static types.")
>      (license license:asl2.0)))
> +
> +(define-public python-psycopg2-binary

Applied with minor tweaks to the synopsis and description and a commit
log that follows our conventions:

  https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html

Thanks, and thank you Maxime!

Ludo=E2=80=99.




Notification sent to Pierre-Henry Fröhring <contact@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Ludovic Courtès <ludo@HIDDEN>:
You have taken responsibility. Full text available.

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


Received: (at 53821) by debbugs.gnu.org; 6 Feb 2022 15:44:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 06 10:44:39 2022
Received: from localhost ([127.0.0.1]:39615 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nGjiR-0003KX-EA
	for submit <at> debbugs.gnu.org; Sun, 06 Feb 2022 10:44:39 -0500
Received: from andre.telenet-ops.be ([195.130.132.53]:55158)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1nGjiO-0003KL-Ph
 for 53821 <at> debbugs.gnu.org; Sun, 06 Feb 2022 10:44:38 -0500
Received: from [172.20.10.5] ([188.188.37.53])
 by andre.telenet-ops.be with bizsmtp
 id rrka2600318o4tG01rkaR2; Sun, 06 Feb 2022 16:44:35 +0100
Message-ID: <9fee799bc75080cfde96d32adc80701652573274.camel@HIDDEN>
Subject: Re: [bug#53821] [PATCH] Add the python-psycopg2-binary package.
From: Maxime Devos <maximedevos@HIDDEN>
To: Pierre-Henry =?ISO-8859-1?Q?Fr=F6hring?= <contact@HIDDEN>, 
 53821 <at> debbugs.gnu.org
Date: Sun, 06 Feb 2022 16:44:34 +0100
In-Reply-To: <e8f4a229a8e0c65bcbfef06ea9496c9fac709838.camel@HIDDEN>
References: <20220206143813.1701863-1-contact@HIDDEN>
 <6eea11cd2971dda53763d83640ea85af33d04e74.camel@HIDDEN>
 <e8f4a229a8e0c65bcbfef06ea9496c9fac709838.camel@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-T7SUk5exaxBA772nPp37"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1644162275; bh=IEZg5f36hYdeV+pdNlHsu9zFJGIQNex8ZPnDtwLl/vA=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=ZVwqONR2w1dyPup3AG2fMo1nvrR5T31STz2lTE7jo1gPokUBj99xC+ODwh63uvZ5z
 qruwG62L6VuRoM1LXZmW5Xl1m7W0DRl+HC+17gViIvAYpfcBn67Tf5O0Ib/MdOIzEK
 qSJUc4LD/1Xaz8QXOkIgm9696hRMS64rwQjw353+wHUAoWfRug8nUTRtJsnWmKf3Qz
 1HA0Q8uLoUZ2JLiSsPUmkOV0dXk7ymlIq+83efJ0Vdl8cGr26sUTSpQ1/yUlpndBs8
 gSwNdDSu4dM2Rh8lLvaQ2ixE1HBpnRLxzd5lAVJbi7ossBEaOqMHE6C27IMSUIQAMd
 L2nuZH5u57KzQ==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53821
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 (-)


--=-T7SUk5exaxBA772nPp37
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Pierre-Henry Fr=C3=B6hring schreef op zo 06-02-2022 om 16:27 [+0100]:
> Hello Maxime,
>=20
> I've just copy-pasted the author's description as in:
>=20
> =C2=A0 https://pypi.org/project/psycopg2-binary/
>=20
> So, if I understand correctly, package contributors should (re)write
> packages descriptions?

Yes, package descriptions from upstream are useful but may need to
be rewritten a bit.

Also, for whatever reason, people seem to always ignore the copyright
and license on upstream's description, but I don't understand how this
would be justified legally.

Greetings,
Maxime.

--=-T7SUk5exaxBA772nPp37
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYf/s4hccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7jwIAQDlSQF4f8tzdGaLkFDiIKBXeKK7
7OeUGC9YGKJk19gdxgEAuaRrTdrvc9wkt5FmzgcTQltLIPleueatkNxBJLOgyQU=
=/Pmb
-----END PGP SIGNATURE-----

--=-T7SUk5exaxBA772nPp37--





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

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


Received: (at 53821) by debbugs.gnu.org; 6 Feb 2022 15:38:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 06 10:38:12 2022
Received: from localhost ([127.0.0.1]:39593 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nGjcC-00039O-O6
	for submit <at> debbugs.gnu.org; Sun, 06 Feb 2022 10:38:12 -0500
Received: from relay6-d.mail.gandi.net ([217.70.183.198]:42327)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contact@HIDDEN>) id 1nGjcA-000397-9s
 for 53821 <at> debbugs.gnu.org; Sun, 06 Feb 2022 10:38:11 -0500
Received: (Authenticated sender: contact@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id 8CB5EC0002;
 Sun,  6 Feb 2022 15:38:03 +0000 (UTC)
From: =?UTF-8?q?Pierre-Henry=20Fr=C3=B6hring?= <contact@HIDDEN>
To: 53821 <at> debbugs.gnu.org
Subject: [PATCH] Add the python-psycopg2-binary package.
Date: Sun,  6 Feb 2022 16:35:56 +0100
Message-Id: <20220206153552.1758371-1-contact@HIDDEN>
X-Mailer: git-send-email 2.34.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53821
Cc: =?UTF-8?q?Pierre-Henry=20Fr=C3=B6hring?= <contact@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 (-)

`(#:tests? #f)' because tests require a live PostegreSQL instance.

Maxime's suggestions are taken into account in this patch:
  - `(#:tests? #f)' is commented in the code
  - superlatives in the description have been removed
---
 gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7c1b5e8ed3..7b2df04fd2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28931,4 +28931,39 @@ (define-public python-types-dataclasses
      "This packages provides a collection of library stubs for Python, with
 static types.")
     (license license:asl2.0)))
+
+(define-public python-psycopg2-binary
+  (package
+    (name "python-psycopg2-binary")
+    (version "2.9.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "psycopg2-binary" version))
+              (sha256
+               (base32
+                "0kpaxg3lg5wg5ww5kxmzi2z2d7arsx13ci915d8a2pf17lqza7bn"))))
+    (build-system python-build-system)
+    (native-inputs (list postgresql))
+    (arguments
+     ;; Tests are disable because they need a live instance of PostgreSQL.
+     '(#:tests? #f))
+    (home-page "https://psycopg.org/")
+    (synopsis "Python-PostgreSQL Database Adapter")
+    (description
+     "Psycopg is a PostgreSQL database adapter for the Python programming
+language.  Its main features are the complete implementation of the Python DB
+API 2.0 specification and the thread safety (several threads can share the
+same connection).  It was designed for heavily multi-threaded applications
+that create and destroy lots of cursors and make a large number of concurrent
+“INSERT”s or “UPDATE”s.
+
+Psycopg 2 is mostly implemented in C as a libpq wrapper, resulting in
+being both efficient and secure.  It features client-side and
+server-side cursors, asynchronous communication and notifications,
+“COPY TO/COPY FROM” support.  Many Python types are supported
+out-of-the-box and adapted to matching PostgreSQL data types;
+adaptation can be extended and customized thanks to a flexible objects
+adaptation system.
+
+Psycopg 2 is both Unicode and Python 3 friendly.")
+    (license license:lgpl3+)))
--
2.34.0





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

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


Received: (at 53821) by debbugs.gnu.org; 6 Feb 2022 15:27:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 06 10:27:44 2022
Received: from localhost ([127.0.0.1]:39569 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nGjS3-0002qJ-NU
	for submit <at> debbugs.gnu.org; Sun, 06 Feb 2022 10:27:43 -0500
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:38237)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contact@HIDDEN>) id 1nGjS0-0002q2-UB
 for 53821 <at> debbugs.gnu.org; Sun, 06 Feb 2022 10:27:41 -0500
Received: (Authenticated sender: contact@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id D75D560002;
 Sun,  6 Feb 2022 15:27:33 +0000 (UTC)
Message-ID: <e8f4a229a8e0c65bcbfef06ea9496c9fac709838.camel@HIDDEN>
Subject: Re: [bug#53821] [PATCH] Add the python-psycopg2-binary package.
From: Pierre-Henry =?ISO-8859-1?Q?Fr=F6hring?= <contact@HIDDEN>
To: Maxime Devos <maximedevos@HIDDEN>, 53821 <at> debbugs.gnu.org
Date: Sun, 06 Feb 2022 16:27:33 +0100
In-Reply-To: <6eea11cd2971dda53763d83640ea85af33d04e74.camel@HIDDEN>
References: <20220206143813.1701863-1-contact@HIDDEN>
 <6eea11cd2971dda53763d83640ea85af33d04e74.camel@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53821
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 (-)

Hello Maxime,

I've just copy-pasted the author's description as in:

  https://pypi.org/project/psycopg2-binary/

So, if I understand correctly, package contributors should (re)write
packages descriptions?

PHF

On Sun, 2022-02-06 at 15:50 +0100, Maxime Devos wrote:
> Pierre-Henry Fröhring schreef op zo 06-02-2022 om 15:38 [+0100]:
> > +     "Psycopg is the most popular [...]
> > +
> > +[...], resulting in being both efficient and secure.
> > 
> 
> From (guix)Synopses and Descriptions:
> 
> Please avoid marketing phrases such as “world-leading”,
> “industrial-strength”, and “next-generation”, and avoid superlatives
> like “the most advanced”—they are not helpful to users looking for a
> package and may even sound suspicious.  Instead, try to be factual,
> mentioning use cases and features.
> 
> Here, ‘most popular’ would could as marketing (it isn't important
> whether it's popular, what is important is that it works well),
> and to a lesser degree ‘efficient and secure’ -- everything is
> supposed to be efficient and secure (with varying success).
> 
> Greetings,
> Maxime.






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

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


Received: (at 53821) by debbugs.gnu.org; 6 Feb 2022 14:52:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 06 09:52:01 2022
Received: from localhost ([127.0.0.1]:36865 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nGitV-0001Cd-Bs
	for submit <at> debbugs.gnu.org; Sun, 06 Feb 2022 09:52:01 -0500
Received: from andre.telenet-ops.be ([195.130.132.53]:47122)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1nGitT-0001CV-Rm
 for 53821 <at> debbugs.gnu.org; Sun, 06 Feb 2022 09:52:00 -0500
Received: from [172.20.10.5] ([188.188.37.53])
 by andre.telenet-ops.be with bizsmtp
 id rqrw2600818o4tG01qry0P; Sun, 06 Feb 2022 15:51:59 +0100
Message-ID: <98fbdf9483e7cce8d88d1233868044e8f1cb8ba3.camel@HIDDEN>
Subject: Re: [bug#53821] [PATCH] Add the python-psycopg2-binary package.
From: Maxime Devos <maximedevos@HIDDEN>
To: Pierre-Henry =?ISO-8859-1?Q?Fr=F6hring?= <contact@HIDDEN>, 
 53821 <at> debbugs.gnu.org
Date: Sun, 06 Feb 2022 15:51:56 +0100
In-Reply-To: <20220206143813.1701863-1-contact@HIDDEN>
References: <20220206143813.1701863-1-contact@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-e5Pcqmv10UaT5udVnn44"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1644159119; bh=6Dk5zkVWz8jgrYfXNCPNg3f7KqQ1CSZzxlpJs4VVHQM=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=hW628d+Sr2uhd03drvucYTN8i/kTUjcdRBsa96db6aK7bstm4qG9jeCZL2dXpMu4L
 ZSDLIhAmC1mV5gse35MFHQLY7UXzwmbmKaJouWqtfbkrAVC/xTkZxEQJQvntgRFyw3
 nNCpcmNLJjrLctuVIz70tIvVACrqbu8szklKJzQQR77N/tDnzYulzxLO842N8mv47F
 J7xTXvUrjWYHAqr+c9oNq4opEZET/HWK6xvhCpX5SUUdmVqDrA0bJUI2DPWW/5Nmjg
 +VpkAJv2eYtvmYrmMN6SxOGjrCO2MLekBP0nOa4ZrKgIPAczEV4jJKABYbgyJb9kTE
 iSAX0giyMoBnw==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53821
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 (-)


--=-e5Pcqmv10UaT5udVnn44
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Pierre-Henry Fr=C3=B6hring schreef op zo 06-02-2022 om 15:38 [+0100]:
> `(#:tests? #f)' because tests require a live PostegreSQL instance.
> ---
> =C2=A0gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++=
++
> =C2=A01 file changed, 36 insertions(+)

This needs to be documented ...

> +=C2=A0=C2=A0=C2=A0 (arguments
> +=C2=A0=C2=A0=C2=A0=C2=A0 '(#:tests? #f))

... here, as a comment, to aid future readers, and to avoid
accidentally teaching people to just disable tests.

Greetings,
Maxime.

--=-e5Pcqmv10UaT5udVnn44
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYf/gjBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vZaAQCHQQmk36tRc48OS1eQUr5X1AtF
2BSSoX/tmVvP0PWN+wD/X4ex/jdxv5TsVKFVecKuy9QbW/Y6IkOnTswG3Wx06Qc=
=bM+I
-----END PGP SIGNATURE-----

--=-e5Pcqmv10UaT5udVnn44--





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

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


Received: (at 53821) by debbugs.gnu.org; 6 Feb 2022 14:50:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 06 09:50:52 2022
Received: from localhost ([127.0.0.1]:36859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nGisO-0001Ah-10
	for submit <at> debbugs.gnu.org; Sun, 06 Feb 2022 09:50:52 -0500
Received: from andre.telenet-ops.be ([195.130.132.53]:45842)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1nGisL-0001AY-PF
 for 53821 <at> debbugs.gnu.org; Sun, 06 Feb 2022 09:50:50 -0500
Received: from [172.20.10.5] ([188.188.37.53])
 by andre.telenet-ops.be with bizsmtp
 id rqqn2600C18o4tG01qqnlS; Sun, 06 Feb 2022 15:50:48 +0100
Message-ID: <6eea11cd2971dda53763d83640ea85af33d04e74.camel@HIDDEN>
Subject: Re: [bug#53821] [PATCH] Add the python-psycopg2-binary package.
From: Maxime Devos <maximedevos@HIDDEN>
To: Pierre-Henry =?ISO-8859-1?Q?Fr=F6hring?= <contact@HIDDEN>, 
 53821 <at> debbugs.gnu.org
Date: Sun, 06 Feb 2022 15:50:47 +0100
In-Reply-To: <20220206143813.1701863-1-contact@HIDDEN>
References: <20220206143813.1701863-1-contact@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-257vMbQduGg97M3G9ZHt"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1644159048; bh=7JYoqoEmPhxx47rPbEHiJmKrXTYLK9HeofCPWCrSXN4=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=ap+3mzLnD9bMyV8lC+Ldl+tLdJNZW1YW1ClQJ6P5c5wINnhxTGNK12guYrk7ubIv/
 0zTVQcMWBzcT3aCpyIAU16GlNo+fdpyB7GSSRw0QewjF96NRP1iWorPBzZq6eeE9fV
 iiqMyXErKvsumLRU/O45tVhv3IfL/k0lgR+0RAmOi8A+Q6ocAcefOmye044tKprS8d
 1Ba6zu+PR3dmrUjmRkx8YRWEtmtCFxSwkLOL1g4tjK71r+12a3Ci8GtWvPf1OxBQ18
 4ZGly5/6BdGdTdq3FQmphmgbdPVgcKOdeK/hSP4Dg6FgR8+XvNDFS8+Vutx5f/VYor
 32wHIHWWwTN4w==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53821
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 (-)


--=-257vMbQduGg97M3G9ZHt
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Pierre-Henry Fr=C3=B6hring schreef op zo 06-02-2022 om 15:38 [+0100]:
> +=C2=A0=C2=A0=C2=A0=C2=A0 "Psycopg is the most popular [...]
> +
> +[...], resulting in being both efficient and secure.
>=20

=46rom (guix)Synopses and Descriptions:

Please avoid marketing phrases such as =E2=80=9Cworld-leading=E2=80=9D,
=E2=80=9Cindustrial-strength=E2=80=9D, and =E2=80=9Cnext-generation=E2=80=
=9D, and avoid superlatives
like =E2=80=9Cthe most advanced=E2=80=9D=E2=80=94they are not helpful to us=
ers looking for a
package and may even sound suspicious.  Instead, try to be factual,
mentioning use cases and features.

Here, =E2=80=98most popular=E2=80=99 would could as marketing (it isn't imp=
ortant
whether it's popular, what is important is that it works well),
and to a lesser degree =E2=80=98efficient and secure=E2=80=99 -- everything=
 is
supposed to be efficient and secure (with varying success).

Greetings,
Maxime.

--=-257vMbQduGg97M3G9ZHt
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYf/gRxccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7nH7AP4u7YLmHvmJlMPz4TpHh1lbWGKf
u1ZdWUQPpPUxGTvvGQD+O4AyP4X9KV4jaydIjCAeN10VdB2DokxT1ZEqxCFLMAE=
=nV6L
-----END PGP SIGNATURE-----

--=-257vMbQduGg97M3G9ZHt--





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

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


Received: (at submit) by debbugs.gnu.org; 6 Feb 2022 14:39:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 06 09:39:13 2022
Received: from localhost ([127.0.0.1]:36845 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nGih7-0000sb-4Y
	for submit <at> debbugs.gnu.org; Sun, 06 Feb 2022 09:39:13 -0500
Received: from lists.gnu.org ([209.51.188.17]:48214)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contact@HIDDEN>) id 1nGih4-0000sT-OM
 for submit <at> debbugs.gnu.org; Sun, 06 Feb 2022 09:39:11 -0500
Received: from eggs.gnu.org ([209.51.188.92]:33716)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <contact@HIDDEN>)
 id 1nGih4-0008MV-IC
 for guix-patches@HIDDEN; Sun, 06 Feb 2022 09:39:10 -0500
Received: from relay11.mail.gandi.net ([217.70.178.231]:41739)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <contact@HIDDEN>)
 id 1nGih0-0006LA-U3
 for guix-patches@HIDDEN; Sun, 06 Feb 2022 09:39:09 -0500
Received: (Authenticated sender: contact@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id DE70E100006;
 Sun,  6 Feb 2022 14:39:00 +0000 (UTC)
From: =?UTF-8?q?Pierre-Henry=20Fr=C3=B6hring?= <contact@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] Add the python-psycopg2-binary package.
Date: Sun,  6 Feb 2022 15:38:14 +0100
Message-Id: <20220206143813.1701863-1-contact@HIDDEN>
X-Mailer: git-send-email 2.34.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=217.70.178.231;
 envelope-from=contact@HIDDEN; helo=relay11.mail.gandi.net
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.7 (-)
X-Debbugs-Envelope-To: submit
Cc: =?UTF-8?q?Pierre-Henry=20Fr=C3=B6hring?= <contact@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: -2.7 (--)

`(#:tests? #f)' because tests require a live PostegreSQL instance.
---
 gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7c1b5e8ed3..a136de9990 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28931,3 +28931,39 @@ (define-public python-types-dataclasses
      "This packages provides a collection of library stubs for Python, with
 static types.")
     (license license:asl2.0)))
+
+(define-public python-psycopg2-binary
+  (package
+    (name "python-psycopg2-binary")
+    (version "2.9.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "psycopg2-binary" version))
+              (sha256
+               (base32
+                "0kpaxg3lg5wg5ww5kxmzi2z2d7arsx13ci915d8a2pf17lqza7bn"))))
+    (build-system python-build-system)
+    (native-inputs (list postgresql))
+    (arguments
+     '(#:tests? #f))
+    (home-page "https://psycopg.org/")
+    (synopsis "Python-PostgreSQL Database Adapter")
+    (description
+     "Psycopg is the most popular PostgreSQL database
+adapter for the Python programming language.  Its main features are the
+complete implementation of the Python DB API 2.0 specification and the
+thread safety (several threads can share the same connection).  It was
+designed for heavily multi-threaded applications that create and
+destroy lots of cursors and make a large number of concurrent
+“INSERT”s or “UPDATE”s.
+
+Psycopg 2 is mostly implemented in C as a libpq wrapper, resulting in
+being both efficient and secure.  It features client-side and
+server-side cursors, asynchronous communication and notifications,
+“COPY TO/COPY FROM” support.  Many Python types are supported
+out-of-the-box and adapted to matching PostgreSQL data types;
+adaptation can be extended and customized thanks to a flexible objects
+adaptation system.
+
+Psycopg 2 is both Unicode and Python 3 friendly.")
+    (license license:lgpl3+)))
-- 
2.34.0





Acknowledgement sent to Pierre-Henry Fröhring <contact@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#53821; 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: Wed, 5 Feb 2025 18:30:02 UTC

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