Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Matthias Klose Newsgroups: linux.debian.maint.python Subject: Re: Python3 -dbg packages Date: Fri, 03 Sep 2021 11:00:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Sep 3 08:59:11 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-5.883 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, FVGT_m_MULTI_ODD=0.02, GMAIL=1, LDO_WHITELIST=-5, MEDS2=2, NICE_REPLY_A=-1.305, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -2.7 X-Greylist: delayed 658 seconds by postgrey-1.36 at bendel; Fri, 03 Sep 2021 08:58:57 UTC Old-X-Envelope-From: doko@debian.org Old-X-Envelope-To: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Mailing-List: archive/latest/19297 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/f515c1ca-fe99-d893-656a-7cf3758ee4c4@debian.org Approved: robomod@news.nic.it Lines: 527 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 3 Sep 2021 10:47:56 +0200 X-Original-Message-ID: X-Original-References: <2bb25f5a-6636-7d05-ed39-759e2bcee81d@debian.org> Xref: csiph.com linux.debian.maint.python:13504 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 rrdtool (U) Alexandre Marie python-fisx (U) silx (U) xrayutilities (U) Andreas Beckmann pycuda (U) pyopencl (U) Andrew Starr-Bochicchio libtorrent-rasterbar (U) Antoni Villalonga pairtools (U) Antonio Valentino numexpr (U) pyepr (U) pytables (U) python-ltfatpy (U) APT Development Team python-apt Aron Xu libxml2 (U) Brian May python-mysqldb (U) Christoph Berg psycopg2 (U) Colin Watson storm (U) Cristian Greco libtorrent-rasterbar Dave Beckett pycairo (U) David Cournapeau scipy (U) Debian Games Team python-sfml Debian GIS Project pyepr Debian GNOME Maintainers pygobject Debian Med Packaging Team nipy pairtools Debian NVIDIA Maintainers pycuda Debian OpenCL Maintainers pyopencl Debian Python Modules Team 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 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 libkdtree++ python-bsddb3 python-djvulibre Debian RRDtool Team rrdtool Debian Science Maintainers cbflib gpyfft h5py libgpuarray mpi4py numexpr pyfai pymca pynfft pytables python-fabio python-ltfatpy reprozip silx xrayutilities Debian XML/SGML Group libxml2 Dmitry Shachnev pyqt5 (U) pyqt5-sip (U) pyqt5webengine (U) sip4 (U) sip5 (U) sip6 (U) Eugen Wintersberger xrayutilities (U) Fabio Tranchitella psycopg2 (U) Francesco Paolo Lovergine pyfuse3 (U) Ghe Rivero pysendfile Ghislain Antony Vaillant bottleneck (U) h5py (U) libgpuarray (U) pynfft (U) reprozip (U) Gordon Ball python-setproctitle (U) Gudjon I. Gudjonsson qscintilla2 (U) Iain Lane pygobject (U) Iustin Pop python-pylibacl python-pyxattr James Cowgill python-sfml (U) Jamie Wilkinson pyao pymad Jean-Michel Vourgère rrdtool (U) Jelmer Vernooij meliae Jeremy Bicha pygobject (U) Jerome Kieffer pyfai (U) python-fabio (U) silx (U) Joel Rosdahl python-apsw Jonas Meurer python-mysqldb (U) Julian Andres Klode python-apt (U) Julian Taylor pyzmq (U) Laszlo Boszormenyi (GCS) pyicu python-gevent python-greenlet pyzmq (U) thrift Laurent Bigonville pygobject (U) Loic Minier dbus-python (U) Maintainers of GStreamer packages gst-python1.0 Mario Izquierdo (mariodebian) netifaces (U) Matthew Grant python-setproctitle (U) Matthias Klose lxml pillow pillow-sane pygccjit python-reportlab python3-defaults python3-stdlib-extensions twisted (U) Michael Hanke mpi4py (U) nipy (U) Michael Hudson-Doyle pyyaml (U) Michael Vogt python-apt (U) Mo Zhou h5py (U) Morten Kjeldgaard cbflib (U) Nikolaus Rath pyfuse3 (U) python-llfuse Ondrej Certik scipy (U) Paul Tagliamonte python-aiohttp (U) Picca Frédéric-Emmanuel gpyfft (U) pyfai (U) pymca (U) python-fabio (U) python-fisx (U) silx (U) xrayutilities (U) Pierre-Elliott Bécue zope.interface (U) Pietro Battiston bottleneck (U) Piotr Ożarowski markupsafe python-aiohttp (U) python-multidict python3-defaults (U) simplejson (U) uvloop Rebecca N. Palmer libgpuarray (U) Sandro Tosi basemap kiwisolver matplotlib numpy pychm python-dmidecode python-levenshtein python-psutil python-pygraphviz python-regex Scott Kitterman psycopg2 (U) pyyaml (U) Scott Talbert pycurl (U) Sebastian Dröge dbus-python (U) gst-python1.0 (U) Sebastien Bacher pygobject (U) Sebastien Delafond xrayutilities (U) Simon McVittie dbus-python (U) Sjoerd Simons dbus-python (U) Stefan Breunig python-librtmp Stefano Rivera pystemmer (U) python-cffi (U) python3-defaults (U) Stephen Kitt pyqt5chart (U) Teemu Ikonen cbflib (U) Thomas Goirand netifaces (U) python-mysqldb (U) simplejson (U) Tianon Gravi python-aiohttp (U) Tomasz Rybak pycuda (U) pyopencl (U) Torsten Marek pycairo (U) qscintilla2 (U) sip4 (U) Utopia Maintenance Team dbus-python Varun Hiremath scipy (U) Vincent Bernat pyzmq (U) Wen Heping numexpr (U) Willem van den Akker python-ldap (U) William Grzybowski python-aiohttp (U) Yaroslav Halchenko mpi4py (U) nipy (U) numexpr (U) pytables (U) reprozip (U) YunQiang Su libxml2 (U)