Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Piotr =?utf-8?Q?O=C5=BCarowski?= Newsgroups: linux.debian.maint.python Subject: Python BoF at DebConf15 - summary Date: Mon, 24 Aug 2015 23:10:03 +0200 Message-ID: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Aug 24 21:08:34 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12.482 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.182, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.015, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no X-Policyd-Weight: DYN_NJABL=SKIP(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=SKIP(-1.5) CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-wi0-x236.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mail-followup-to :mime-version:content-type:content-disposition:user-agent; bh=NxgpysA1XGgEcK+ZVX5uxKaqH+yTwi5EF3eKkbyrtV8=; b=PvVgFC/18jbWdQjbY2mhiR+/X6SXSfoMv6B0UQX0Nt6N8tPOoOR5tLjYg1DxtIyfuH lj56KKHBra/yCnirzjajfYI+WwBDA+JAmhekmJuI6DFaFMFfECF0T9BgGaATWf8KxnO2 kqbyhBpQOyL8AjdBNKQvpxk03F6VMa5Gukh8TeiXUlYi3OzoonItCEj6T89z5Rmhw5Us iSo0f9l+FzVnvVX/fO2ASD4Tu1gKS6RedmyvAY4uFuT/HV2RlZam+70l8JS8DPOcTMdQ vzsaeF+y8udYs5spkEp41/wXmvX8HoWS4tDfC3UIquEDDHlKM7jj7psl0xMOuco3m8Aa fJRw== X-Received: by 10.180.74.167 with SMTP id u7mr32120533wiv.44.1440450498156; Mon, 24 Aug 2015 14:08:18 -0700 (PDT) Sender: robomod@news.nic.it Mail-Followup-To: debian-python@lists.debian.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Content-Disposition: inline X-Operating-System: Debian GNU/Linux (3.19.0-trunk-amd64) User-Agent: Mutt/1.5.23 (2014-03-12) X-Mailing-List: archive/latest/12513 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20150824210816.GC4295@p1otr.com Approved: robomod@news.nic.it Lines: 169 Organization: linux.* mail to news gateway X-Original-Date: Mon, 24 Aug 2015 23:08:16 +0200 X-Original-Message-ID: <20150824210816.GC4295@p1otr.com> X-Original-Sender: =?UTF-8?Q?Piotr_O=C5=BCarowski?= Xref: csiph.com linux.debian.maint.python:7206 --CUfgB8w4ZwR/yMy5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Last Tuesday (2015-08-18) we had a Python BoF at DebConf15 discussing various Debian Python related topics. You can download a recording of it from here=C2=B9 or here=C2=B2=C2=A0thanks to our amazing Video Team. Short summary: removing python-support from the archive =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D We discussed what needs to be done in order to remove deprecated dh_pysupport from Stretch. There were almost 300 packages still using it=C2=B3 so we organized a sprint to convert those and in next few days fix= ed more than 100 packages (some prepared by our new contributors: Ana, Larissa and Valerie - how about that, Debian Women? :) Many are still not fixed, so if you want to help: we are coordinating our efforts on whiteboard=E2=81=B4, please join, instructions are here=E2= =81=B5. Once all packages are converted, dh_pysupport will start returning 1 exit code so that no new packages can be built with it (packages already built with it outside Debian main will continue to work in Stretch as all needed triggers / byte compilation scripts will be available) removing dh-python from python3's Depends =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D python3 package depends on dh-python to make sure all packages that were using dh_python3 provided by this package are still buildable. dh-python package is not really needed for everyone who installs python3 so Piotr would like to remove it at some point (hopefully before releasing Stretch). We discussed how to raise awareness of this issue. Lintian already checks that, we need fixes. It's not a big problem though compared to... removing old dh_python2 from python package =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D dh-python's dh_python2 is written in Python 3 so python3's solution (dependency on dh-python) cannot be used here (as python install would pull in python3 and we don't want to do that, even if replacing python with python3 is our goal). We discussed what can we do to get rid of this older version of dh_python2. The fix is trivial (add dh-python to Build-Depends) but there are ~500 packages that prevent us from removing it. There's a mass bug filling proposal=E2=81=B6 on this mailing list (debian-d= evel one will follow soon). The goal is to get rid of old dh_python2 before releasing Stretch. Piotr wants to remove dh_python2 from python in January 2016 (or sooner, depending on the number of package that will FTBFS if it's done). This is a great way for newcomers to start contributing, BTW. It's easier than pysupport one and Piotr will happily check/sponsor everyone who wants to prepare a NMU. Python 3.5 as supported =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D python3-defaults in experimental already has 3.5 as supported. Ubuntu did this change as well and reported back that it's not as problemat= ic as many previous transitions we had in the past. Some concerns were raised that many upstreams didn't test their code with 3.5 as its final version is still not released (and services like Travis do not enable it). In some places the packaging assumes all python3 to be available, but the build dependency on python3-all{,-dev} is missing. We will upload 3.5 as supported to unstable once GCC transition is (almost?) done and upstream releases final version - expect it around end of September. 3.5 will be marked as default and 3.4 removed from supported once most of our packages are working fine with new version. more python3-foo packages =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Python3Port team=E2=81=B7 is doing a great job, but more help is needed. Pl= ease join if you want to help porting Debian tools or packages to Python 3. Yet another tool that Piotr wants to take over the world with was demonstra= ted. It was written during Debconf but Piotr still wants to polish it a bit before pushing sources somewhere (hopefully he will find some time to do it this weekend). Piotr briefly talked with ftp-master about it and most probably a PPAEXT repo will be provided with most of pypi.python.org available as De= bian packages. PPAEXT will not be available this year, so pypi.debian.net will be used in the meantime (Marcin already promised to help with setting up infrastructure on Amazon to build them). Compared to stdeb this new tool generates Build-Depends, copyright file, pypy- and -doc packages (with rebuilt Sphinx docs) and has some hidden options (like --dpmt or --papt). It also generates XB-Python-Egg-Name to make package names translations easier (still not sure about XB-Python-Egg-Version with raw upstream version). More useful metadata =66rom PyPI would be useful, though. other topics =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D * stripping -dbg packages - dh_strip does that by default, how can we change that? The best option would be to patch dh_strip to not do that if package name ends with -dbg, but there are no volunteers to do that yet. Anyone interested? There is a bug for lintian open (#795261) to at least warn about stripped -dbg packages). * backporting Python 3's stdlib modules to Python 2 - avoid if possible. * improving Pybuild's documentation - https://wiki.debian.org/Python/Pybuild is there but documentation should be provided alongside with the package, who wants to help? * notes on gobby=E2=81=B8 [=C2=B9] http://meetings-archive.debian.net/pub/debian-meetings/2015/debcon= f15/Python_BoF.webm [=C2=B2] http://youtu.be/7bWbbLilnYY [=C2=B3] https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=3Dpysupport-depr= ecation;users=3Ddebian-python@lists.debian.org [=E2=81=B4] http://whiteboard.debian.net/python-support-removal.wb [=E2=81=B5] https://wiki.debian.org/Python/TransitionToDHPython2 [=E2=81=B6] https://lists.debian.org/debian-python/2015/08/msg00054.html [=E2=81=B7] https://wiki.debian.org/Python/Python3Port [=E2=81=B8] infinote://gobby.debian.org/debconf15/bof/Python --=20 Piotr O=C5=BCarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJV24fAAAoJEK728aKnRXZFvpUP/jthiFL5LJXt+lGZlstqpD1B 7FCCj+i0ABYOytsPo1vQ1aYi3OQBbo9WMb9jnHfAiuS+mwlOS+zi2y4Tu+IwuULl lRp3+VDpNlw7efaVcZpiGMsd0b2rPDmhxTx07rjR+s7BlUM/fvUzuHBzQ3iqVw6m PfhQdWjfcwc51DW6fHCgh2SlR/Zlopn2nrivGbNKJ/E7h72R7LznRd8Cgg3Bd3Lx DGt0Ata7ViG8N3e6zyoMrjjA++wQEtZKSJvmOyfISlRCIKJOZvL4sjdtNVBFwP4Q PewZ1PraLgu1UiGmKcS57AAQLuydfDcvbTIc1NyISRXn8G43XO5nB6ilVBoXJWzR N2KomqYXFqxlVAdryakYn16potVLWgjspi1vBUTap429GYCEqsP/E8GxpKfhN/PC sIMzZ+570GX3p99vOXreER4LzHExTepjiJS1Tfc/9cxZWBtC2zYrsDEbxZ1uxVTD jSFF4/y6buKPfJXbTA0A0uvG1mMVfDYJYSBcFJvZzN/IVNse3dcQr2BYjvPuW7cg kiFlqwfumLFZgBcwj9BStqDuJ/ij7v/ZegDRQnuNked8ZWTFUgeu2xFlbXiaidMY /Tw1OfK0KZ1ocZf8eaQJH7tkexRzm0bujDBKS9dmdSCtQAyeniFKWd9icPR/TrGN vvXOJObgUREe7v7uJtde =FXQh -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5--