On 7/6/20 8:33 PM, Matthias Klose wrote: > Python 3.8 upstream now has a common ABI for normal and debug extension > builds, > so it is technically possible to load a debug extension in the normal > interpreter, or to load a normal extension in the debug interpreter. In > Debian, > debug extensions are shipped with a different name, and only loaded by the > corresponding interpreter. We could change / simply the current setup, but I > first wanted to know how many people are still using the debug builds. The > reason for the separate debug builds allowed debugging of stuff in modules > further down the Python stack, without having to rebuild the whole stack. > There > are several solutions how to simplify the packaging, I'm not sure how much the > dbg extensions are still used ... There are several scenarios: > > - Keep the current setup (-dbg packages need to be available to > run them). > > - Allow the debug interpreter to load normal debug extensions (but > load a debug extension if it's available by default). That would > allow building debug extensions without having debug extensions > built for all it's dependencies, maybe requiring changes in the > dependencies of a package. > > - Stop building debug extensions, and telling developers to > build extensions in debug mode, if they need them. That would > probably be inline with everything else shipped in Debian. > > - Stop building debug extensions, and also stop building the Python > debug interpreter. You would need to rebuild the interpreter > itself to have meaningful debug sessions. I'm not preferring > this solution. > > I'm currently tending to implement the second scenario, but if people think > that > having the -dbg packages available is still useful, then also opt for the > third > option.
Let's address this before we start adding Python 3.10 as a supported Python3 version. Starting with the third option. I'll file bug reports for the following packages: basemap bottleneck cbflib dbus-python gpyfft gst-python1.0 h5py kiwisolver libgpuarray libkdtree++ libtorrent-rasterbar libxml2 lxml markupsafe matplotlib meliae mpi4py netifaces nipy numexpr numpy pairtools pillow pillow-sane psycopg2 pyao pycairo pychm pycuda pycurl pyepr pyfai pyfuse3 pygccjit pygobject pyicu pymad pymca pynfft pyopencl pyqt5 pyqt5chart pyqt5-sip pyqt5webengine pysendfile pystemmer pytables python3-defaults python3-stdlib-extensions python-aiohttp python-apsw python-apt python-bsddb3 python-cffi python-djvulibre python-dmidecode python-fabio python-fisx python-gevent python-greenlet python-ldap python-levenshtein python-librtmp python-llfuse python-ltfatpy python-multidict python-mysqldb python-psutil python-pygraphviz python-pylibacl python-pyxattr python-regex python-reportlab python-setproctitle python-sfml pyyaml pyzmq qscintilla2 reprozip rrdtool scipy silx simplejson sip4 sip5 sip6 storm thrift twisted uvloop xrayutilities zope.interface dd-list: Alexander Wirt <formo...@debian.org> rrdtool (U) Alexandre Marie <alexandre.ma...@synchrotron-soleil.fr> python-fisx (U) silx (U) xrayutilities (U) Andreas Beckmann <a...@debian.org> pycuda (U) pyopencl (U) Andrew Starr-Bochicchio <a...@debian.org> libtorrent-rasterbar (U) Antoni Villalonga <ant...@friki.cat> pairtools (U) Antonio Valentino <antonio.valent...@tiscali.it> numexpr (U) pyepr (U) pytables (U) python-ltfatpy (U) APT Development Team <de...@lists.debian.org> python-apt Aron Xu <a...@debian.org> libxml2 (U) Brian May <b...@debian.org> python-mysqldb (U) Christoph Berg <m...@debian.org> psycopg2 (U) Colin Watson <cjwat...@debian.org> storm (U) Cristian Greco <crist...@debian.org> libtorrent-rasterbar Dave Beckett <daj...@debian.org> pycairo (U) David Cournapeau <courn...@gmail.com> scipy (U) Debian Games Team <pkg-games-de...@lists.alioth.debian.org> python-sfml Debian GIS Project <pkg-grass-de...@lists.alioth.debian.org> pyepr Debian GNOME Maintainers <pkg-gnome-maintain...@lists.alioth.debian.org> pygobject Debian Med Packaging Team <debian-med-packag...@lists.alioth.debian.org> nipy pairtools Debian NVIDIA Maintainers <pkg-nvidia-de...@lists.alioth.debian.org> pycuda Debian OpenCL Maintainers <pkg-opencl-de...@lists.alioth.debian.org> pyopencl Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org> bottleneck kiwisolver (U) markupsafe (U) netifaces pycairo pychm (U) pyicu (U) pyqt5-sip pysendfile (U) python-dmidecode (U) python-ldap python-multidict (U) python-mysqldb python-regex (U) Debian Python Team <team+pyt...@tracker.debian.org> basemap (U) matplotlib (U) numpy (U) psycopg2 pycurl pyfuse3 pyqt5 pyqt5chart pyqt5webengine pystemmer python-aiohttp python-cffi python-fisx python-levenshtein (U) python-llfuse (U) python-psutil (U) python-pygraphviz (U) python-setproctitle pyyaml pyzmq qscintilla2 scipy simplejson sip4 sip5 sip6 storm twisted uvloop (U) zope.interface Debian QA Group <packa...@qa.debian.org> libkdtree++ python-bsddb3 python-djvulibre Debian RRDtool Team <pkg-rrdtool-ma...@lists.alioth.debian.org> rrdtool Debian Science Maintainers <debian-science-maintain...@lists.alioth.debian.org> cbflib gpyfft h5py libgpuarray mpi4py numexpr pyfai pymca pynfft pytables python-fabio python-ltfatpy reprozip silx xrayutilities Debian XML/SGML Group <debian-xml-sgml-p...@lists.alioth.debian.org> libxml2 Dmitry Shachnev <mity...@debian.org> pyqt5 (U) pyqt5-sip (U) pyqt5webengine (U) sip4 (U) sip5 (U) sip6 (U) Eugen Wintersberger <eugen.wintersber...@gmail.com> xrayutilities (U) Fabio Tranchitella <kob...@debian.org> psycopg2 (U) Francesco Paolo Lovergine <fran...@debian.org> pyfuse3 (U) Ghe Rivero <g...@debian.org> pysendfile Ghislain Antony Vaillant <ghisv...@gmail.com> bottleneck (U) h5py (U) libgpuarray (U) pynfft (U) reprozip (U) Gordon Ball <gor...@chronitis.net> python-setproctitle (U) Gudjon I. Gudjonsson <gud...@gudjon.org> qscintilla2 (U) Iain Lane <la...@debian.org> pygobject (U) Iustin Pop <ius...@debian.org> python-pylibacl python-pyxattr James Cowgill <jcowg...@debian.org> python-sfml (U) Jamie Wilkinson <j...@debian.org> pyao pymad Jean-Michel Vourgère <nir...@debian.org> rrdtool (U) Jelmer Vernooij <jel...@debian.org> meliae Jeremy Bicha <jbi...@debian.org> pygobject (U) Jerome Kieffer <jerome.kief...@esrf.fr> pyfai (U) python-fabio (U) silx (U) Joel Rosdahl <j...@debian.org> python-apsw Jonas Meurer <m...@debian.org> python-mysqldb (U) Julian Andres Klode <j...@debian.org> python-apt (U) Julian Taylor <jtaylor.deb...@googlemail.com> pyzmq (U) Laszlo Boszormenyi (GCS) <g...@debian.org> pyicu python-gevent python-greenlet pyzmq (U) thrift Laurent Bigonville <bi...@debian.org> pygobject (U) Loic Minier <l...@dooz.org> dbus-python (U) Maintainers of GStreamer packages <gst-python...@packages.debian.org> gst-python1.0 Mario Izquierdo (mariodebian) <mariodeb...@gmail.com> netifaces (U) Matthew Grant <m...@mattgrant.net.nz> python-setproctitle (U) Matthias Klose <d...@debian.org> lxml pillow pillow-sane pygccjit python-reportlab python3-defaults python3-stdlib-extensions twisted (U) Michael Hanke <michael.ha...@gmail.com> mpi4py (U) nipy (U) Michael Hudson-Doyle <mwhud...@debian.org> pyyaml (U) Michael Vogt <m...@debian.org> python-apt (U) Mo Zhou <cdlumin...@gmail.com> h5py (U) Morten Kjeldgaard <m...@ubuntu.com> cbflib (U) Nikolaus Rath <nikol...@rath.org> pyfuse3 (U) python-llfuse Ondrej Certik <ond...@certik.cz> scipy (U) Paul Tagliamonte <paul...@debian.org> python-aiohttp (U) Picca Frédéric-Emmanuel <pi...@debian.org> gpyfft (U) pyfai (U) pymca (U) python-fabio (U) python-fisx (U) silx (U) xrayutilities (U) Pierre-Elliott Bécue <p...@debian.org> zope.interface (U) Pietro Battiston <m...@pietrobattiston.it> bottleneck (U) Piotr Ożarowski <pi...@debian.org> markupsafe python-aiohttp (U) python-multidict python3-defaults (U) simplejson (U) uvloop Rebecca N. Palmer <rebecca_pal...@zoho.com> libgpuarray (U) Sandro Tosi <mo...@debian.org> basemap kiwisolver matplotlib numpy pychm python-dmidecode python-levenshtein python-psutil python-pygraphviz python-regex Scott Kitterman <sc...@kitterman.com> psycopg2 (U) pyyaml (U) Scott Talbert <s...@techie.net> pycurl (U) Sebastian Dröge <sl...@debian.org> dbus-python (U) gst-python1.0 (U) Sebastien Bacher <seb...@debian.org> pygobject (U) Sebastien Delafond <s...@debian.org> xrayutilities (U) Simon McVittie <s...@debian.org> dbus-python (U) Sjoerd Simons <sjo...@debian.org> dbus-python (U) Stefan Breunig <stefan-deb...@yrden.de> python-librtmp Stefano Rivera <stefa...@debian.org> pystemmer (U) python-cffi (U) python3-defaults (U) Stephen Kitt <sk...@debian.org> pyqt5chart (U) Teemu Ikonen <tpiko...@gmail.com> cbflib (U) Thomas Goirand <z...@debian.org> netifaces (U) python-mysqldb (U) simplejson (U) Tianon Gravi <admwig...@gmail.com> python-aiohttp (U) Tomasz Rybak <serp...@debian.org> pycuda (U) pyopencl (U) Torsten Marek <shlo...@debian.org> pycairo (U) qscintilla2 (U) sip4 (U) Utopia Maintenance Team <pkg-utopia-maintain...@lists.alioth.debian.org> dbus-python Varun Hiremath <va...@debian.org> scipy (U) Vincent Bernat <ber...@debian.org> pyzmq (U) Wen Heping <wenhep...@gmail.com> numexpr (U) Willem van den Akker <wvdak...@wilsoft.nl> python-ldap (U) William Grzybowski <will...@grzy.org> python-aiohttp (U) Yaroslav Halchenko <deb...@onerussian.com> mpi4py (U) nipy (U) numexpr (U) pytables (U) reprozip (U) YunQiang Su <wzss...@gmail.com> libxml2 (U)