From unknown Mon Aug 18 06:57:20 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53821 <53821@debbugs.gnu.org> To: bug#53821 <53821@debbugs.gnu.org> Subject: Status: [PATCH] Add the python-psycopg2-binary package. Reply-To: bug#53821 <53821@debbugs.gnu.org> Date: Mon, 18 Aug 2025 13:57:20 +0000 retitle 53821 [PATCH] Add the python-psycopg2-binary package. reassign 53821 guix-patches submitter 53821 Pierre-Henry Fr=C3=B6hring severity 53821 normal tag 53821 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 09:39:13 2022 Received: (at submit) by debbugs.gnu.org; 6 Feb 2022 14:39:13 +0000 Received: from localhost ([127.0.0.1]:36845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGih7-0000sb-4Y for submit@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 ) id 1nGih4-0000sT-OM for submit@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 ) id 1nGih4-0008MV-IC for guix-patches@gnu.org; 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 ) id 1nGih0-0006LA-U3 for guix-patches@gnu.org; Sun, 06 Feb 2022 09:39:09 -0500 Received: (Authenticated sender: contact@phfrohring.com) 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?= To: guix-patches@gnu.org Subject: [PATCH] Add the python-psycopg2-binary package. Date: Sun, 6 Feb 2022 15:38:14 +0100 Message-Id: <20220206143813.1701863-1-contact@phfrohring.com> 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@phfrohring.com; 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?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 09:50:52 2022 Received: (at 53821) by debbugs.gnu.org; 6 Feb 2022 14:50:52 +0000 Received: from localhost ([127.0.0.1]:36859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGisO-0001Ah-10 for submit@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 ) id 1nGisL-0001AY-PF for 53821@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@telenet.be> Subject: Re: [bug#53821] [PATCH] Add the python-psycopg2-binary package. From: Maxime Devos To: Pierre-Henry =?ISO-8859-1?Q?Fr=F6hring?= , 53821@debbugs.gnu.org Date: Sun, 06 Feb 2022 15:50:47 +0100 In-Reply-To: <20220206143813.1701863-1-contact@phfrohring.com> References: <20220206143813.1701863-1-contact@phfrohring.com> 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 09:52:01 2022 Received: (at 53821) by debbugs.gnu.org; 6 Feb 2022 14:52:01 +0000 Received: from localhost ([127.0.0.1]:36865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGitV-0001Cd-Bs for submit@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 ) id 1nGitT-0001CV-Rm for 53821@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@telenet.be> Subject: Re: [bug#53821] [PATCH] Add the python-psycopg2-binary package. From: Maxime Devos To: Pierre-Henry =?ISO-8859-1?Q?Fr=F6hring?= , 53821@debbugs.gnu.org Date: Sun, 06 Feb 2022 15:51:56 +0100 In-Reply-To: <20220206143813.1701863-1-contact@phfrohring.com> References: <20220206143813.1701863-1-contact@phfrohring.com> 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 10:27:44 2022 Received: (at 53821) by debbugs.gnu.org; 6 Feb 2022 15:27:44 +0000 Received: from localhost ([127.0.0.1]:39569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGjS3-0002qJ-NU for submit@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 ) id 1nGjS0-0002q2-UB for 53821@debbugs.gnu.org; Sun, 06 Feb 2022 10:27:41 -0500 Received: (Authenticated sender: contact@phfrohring.com) by mail.gandi.net (Postfix) with ESMTPSA id D75D560002; Sun, 6 Feb 2022 15:27:33 +0000 (UTC) Message-ID: Subject: Re: [bug#53821] [PATCH] Add the python-psycopg2-binary package. From: Pierre-Henry =?ISO-8859-1?Q?Fr=F6hring?= To: Maxime Devos , 53821@debbugs.gnu.org Date: Sun, 06 Feb 2022 16:27:33 +0100 In-Reply-To: <6eea11cd2971dda53763d83640ea85af33d04e74.camel@telenet.be> References: <20220206143813.1701863-1-contact@phfrohring.com> <6eea11cd2971dda53763d83640ea85af33d04e74.camel@telenet.be> 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 10:38:12 2022 Received: (at 53821) by debbugs.gnu.org; 6 Feb 2022 15:38:13 +0000 Received: from localhost ([127.0.0.1]:39593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGjcC-00039O-O6 for submit@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 ) id 1nGjcA-000397-9s for 53821@debbugs.gnu.org; Sun, 06 Feb 2022 10:38:11 -0500 Received: (Authenticated sender: contact@phfrohring.com) 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?= To: 53821@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@phfrohring.com> 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?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 10:44:39 2022 Received: (at 53821) by debbugs.gnu.org; 6 Feb 2022 15:44:39 +0000 Received: from localhost ([127.0.0.1]:39615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGjiR-0003KX-EA for submit@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 ) id 1nGjiO-0003KL-Ph for 53821@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@telenet.be> Subject: Re: [bug#53821] [PATCH] Add the python-psycopg2-binary package. From: Maxime Devos To: Pierre-Henry =?ISO-8859-1?Q?Fr=F6hring?= , 53821@debbugs.gnu.org Date: Sun, 06 Feb 2022 16:44:34 +0100 In-Reply-To: References: <20220206143813.1701863-1-contact@phfrohring.com> <6eea11cd2971dda53763d83640ea85af33d04e74.camel@telenet.be> 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 24 18:23:50 2022 Received: (at 53821-done) by debbugs.gnu.org; 24 Mar 2022 22:23:50 +0000 Received: from localhost ([127.0.0.1]:49597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXVry-0001GL-KS for submit@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 ) id 1nXVrw-0001G8-UU for 53821-done@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 ) 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 ) id 1nXVrq-0003NN-Ji; Thu, 24 Mar 2022 18:23:42 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Pierre-Henry =?utf-8?Q?Fr=C3=B6hring?= Subject: Re: bug#53821: [PATCH] Add the python-psycopg2-binary package. References: <20220206143813.1701863-1-contact@phfrohring.com> <20220206153552.1758371-1-contact@phfrohring.com> Date: Thu, 24 Mar 2022 23:23:40 +0100 In-Reply-To: <20220206153552.1758371-1-contact@phfrohring.com> ("Pierre-Henry =?utf-8?Q?Fr=C3=B6hring=22's?= message of "Sun, 6 Feb 2022 16:35:56 +0100") Message-ID: <87y20z7zwz.fsf_-_@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Pierre-Henry Fr=C3=B6hring 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. From unknown Mon Aug 18 06:57:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 22 Apr 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 02 12:45:29 2025 Received: (at control) by debbugs.gnu.org; 2 Feb 2025 17:45:29 +0000 Received: from localhost ([127.0.0.1]:36161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tee2D-0002QM-20 for submit@debbugs.gnu.org; Sun, 02 Feb 2025 12:45:29 -0500 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]:43498) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tee2A-0002Q5-GK for control@debbugs.gnu.org; Sun, 02 Feb 2025 12:45:27 -0500 Received: from [IPV6:2a02:1811:8c0e:ef00:3534:9048:e5b:c5c2] ([IPv6:2a02:1811:8c0e:ef00:3534:9048:e5b:c5c2]) by laurent.telenet-ops.be with cmsmtp id 8hlK2E00X3xy2ZH01hlLlp; Sun, 02 Feb 2025 18:45:20 +0100 Message-ID: <22a7b80c-f4c8-4c5f-b7f3-f487c7b90555@telenet.be> Date: Sun, 2 Feb 2025 18:45:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: control@debbugs.gnu.org From: Maxime Devos Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r25; t=1738518320; bh=cs0Jm0CJiF6ZigF2aX9RFfgRtJVjgTJesQ5fY+OL2aI=; h=Message-ID:Date:MIME-Version:To:From:Content-Type: Content-Transfer-Encoding:From; b=IOulSZF8/swstQ8UAZsUgsy9CSMm12FFJ3VfGz2lYA0IZl80o9NY36ZwYC0lV47B2 dkJcDLCMbz2FZWh+XYT9RQ+HksxLspRnVV8dnqOVKSrM7h3BNP32wQbuJFfTfkUl9h JcV+Yk5HCS0EFxnI4yYK1VYmxTUJgmh8DEobMf9ugAYByXZHygnm1Bp7hk/yqFNRsl aEOfbVgreB+ZMmQkksh7LCuU7jpmT6Qiwm5LfOjPArCONWDaapcAsIvKM48lw8F7xQ Eybsl4WgXr342v8sZZJOTJBfJbTkOa2AqELSjBvPGIVtkqwdx70ac5d7RbkM4Yifuy FNMHlcLkIHUbQ== X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unarchive 53821 Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (maximedevos[at]telenet.be) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [2a02:1800:110:4:0:0:f00:19 listed in] [list.dnswl.org] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 TVD_SPACE_RATIO No description available. X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) unarchive 53821 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 02 18:49:57 2025 Received: (at 53821) by debbugs.gnu.org; 2 Feb 2025 23:49:58 +0000 Received: from localhost ([127.0.0.1]:36764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tejiv-0000Vi-Ns for submit@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 ) id 1tejiu-0000VQ-6j for 53821@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 ( [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" Message-ID: TLS-Required: No Subject: Re: [PATCH] Add the python-psycopg2-binary package. To: "Maxime Devos" , 53821@debbugs.gnu.org In-Reply-To: <0d53bdf1-6108-4a29-a25a-7e9131c08b4b@telenet.be> References: <87zfjqjb7d.fsf@unknownee2179f0a061.attlocal.net> <0d53bdf1-6108-4a29-a25a-7e9131c08b4b@telenet.be> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53821 Cc: =?utf-8?B?UGllcnJlLUhlbnJ5IEZyw7ZocmluZw==?= , =?utf-8?B?THVkb3ZpYyBDb3VydMOocw==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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
> Don't see any differenc= e, which is just weird.

Interesting...

Should we remove it?

all best,

jgart


--fde2e6b1-e0ba-42b0-a9f2-64a7c21ec48c-1-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 05 13:15:10 2025 Received: (at 53821) by debbugs.gnu.org; 5 Feb 2025 18:15:10 +0000 Received: from localhost ([127.0.0.1]:52322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfjvZ-0000aa-NJ for submit@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 ) id 1tfjvX-0000VL-7E for 53821@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: 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 , 53821@debbugs.gnu.org References: <87zfjqjb7d.fsf@unknownee2179f0a061.attlocal.net> <0d53bdf1-6108-4a29-a25a-7e9131c08b4b@telenet.be> Content-Language: en-US From: Maxime Devos In-Reply-To: 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?= , =?UTF-8?Q?Ludovic_Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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

(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-- From unknown Mon Aug 18 06:57:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 06 Mar 2025 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator