Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Tomasz Rybak Newsgroups: linux.debian.maint.python Subject: psycopg3 packaging: need new version of cython3 (and psycopg2) Date: Fri, 01 Oct 2021 21:10:02 +0200 Message-ID: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Oct 1 19:05:07 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-10.569 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HELO_NO_DOMAIN=0.001, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RDNS_NONE=0.793, SARE_MSGID_LONG40=0.637] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: 0.5 X-Greylist: delayed 1512 seconds by postgrey-1.36 at bendel; Fri, 01 Oct 2021 19:04:52 UTC Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-L8msjJh8SGADRFNflY42" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 X-Mailing-List: archive/latest/19400 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/54319d0ed64d2b22af298f72ecf9686a3dea65db.camel@debian.org Approved: robomod@news.nic.it Lines: 78 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 01 Oct 2021 21:04:42 +0200 X-Original-Message-ID: <54319d0ed64d2b22af298f72ecf9686a3dea65db.camel@debian.org> Xref: csiph.com linux.debian.maint.python:13604 --=-L8msjJh8SGADRFNflY42 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello everyone. I'm working on packaging of psycopg3 (ITP #994860, home page https://www.psycopg.org/psycopg3/), which is successor of psycopg2 (maintained by team), supporting Python3 features like asycio and with new architecture. Current upstream version is 3.0.beta1, beta2 in preparation. When preparing package, I made sure it's lintian-clean; it's also running tests (some are failing - not sure if this is problem with package or recently-uploaded PostgreSQL 14). There are still some issues I'd like to fix before uploading though. Psycopg3 differs from psycopg2: it consists of 3 modules. Two of them (psycopg and psycopg_pool) are pure Python so I intend to make them arch: all. They might also support PyPy, but I haven't yet succeeded in doing so. They use ctypes to talk to libpq for PostgreSQL communication, which makes it slower than psycopg2. Third module, psycopg_c, uses Cython to build code communicating with libpq, which makes it faster than ctypes. But it requires cython 3.0.alpha5. Currently Debian has cython3 0.29.21 (and cython 0.29.14); latest stable upstream version is 0.29.24 (psycopg3 does not work with it - I checked) and development version is 3.0.alpha9. So my question is - which route to take now? Cython is team's package and it could use some attention. It was not updated in 11 months, uses really old debhelper (7), lintian complains heavily about it, there are 7 issues in BTS... Should I upload 3.0.alpha9 to unstable (maybe blocking transition to testing), and later try to fix most of its problems, uploading psycopg3 to unstable shortly after? Or should I first upload 3.0.alpha9 to experimetnal, trying to fix most of issues there, and upload to sid only when it reaches 3.0.final? This is important package, so I'd like to get some opinions before proceeding. And also - what should we do with cython (not cython3), in our quest to migrate from Python2? On similar topic - should I upload newest version of psycopg2 (removing *dbg package at the same time)? Debian has 2.8.6 while latest upstream is 2.9.1. It's less invasive change than in case of cython, but I'd still like to get some opinions, or at least acknowledgement. Best regards. --=20 Tomasz Rybak, Debian Developer GPG: A565 CE64 F866 A258 4DDC=C2=A0F9C7 ECB7 3E37 E887 AA8C --=-L8msjJh8SGADRFNflY42 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE1bhtbqZEgXjcK9cyggqgxGY3jWkFAmFXW8oACgkQggqgxGY3 jWnlEw/+IrUX3GhZEJY6chNAdxWGda08Iip238sVLNiv+ceetrTQTxKl4T7U1Boi NDarHjrCSCPUuKMXjfwaT7vj9L4PTII3ClnNj8bI+ZH/M/HkWlZsDOkjtc7BS1OX wyf7ZGmgBoAnAsq+vus9UjysQzr+Tm2U0m4YJ3cLY8WvBCJMylWA+3XU76tLvkmU /rMXAZfeV7H0VW2DFG8lkuZPn9NwnuBRPOkWiXOjypNu6TFT3QPk+pNWF+DCuryd oAaj41VSzmO1b7EPvv8IByg++vcNIi95NQhYlybMsfLr1TTDtT1eWxfDibDi1bVf IlWD6nvXJzeZqE8DA+vo04H2Bafgbe66ISB3iPhK80i3k2kfPXYGtcJT8nm2tVzC GWs8Dq/T+yKNwbMiM+HQkQcxT4BKJhcjuyV35rkQ1UAne1TOrRxAZwEst2zzV6TS cGwrEaqKXqsM3tfxPdvOxUm7rko4hR+Gd9QOmIA/MRNX3TBTDctIUVCwPMRZIDYB vNdxDmQHoXHNbtf9nnVzXJKl9LCZFwMhJHc/R3hqqBUX5iQmuXKjjE15Niyr1x/4 nREfWqsk0iKOPdByugAcXCw0R/OVn0LrHGClwAPCPPBGKatLWFjQn4vj1Wa+55co 0s8buEVw5sGbueZnAKVDxYSLTJys8ztF4GtRyr63z4xymfLdqjM= =Fs7l -----END PGP SIGNATURE----- --=-L8msjJh8SGADRFNflY42--