Path: csiph.com!weretis.net!feeder7.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Dmitry Shachnev Newsgroups: linux.debian.maint.python Subject: Re: PEP-517/PEP-518 Support In Debian Date: Mon, 13 Apr 2020 11:20:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Apr 13 09:19:11 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-11.252 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=dbm0JUsZW/qyIrCACVuhq9A1C0sz/meIoPw7qO2ARmk=; b=Jte0M8saC7Q+WedxnitumN74BdUwmSIfJdyiZrxCNU+w6EAFTrB5gwQ8IeozvSfavp uNXG29eH0QciDAGdPc0sLTTkLCnHIbeAnCr3tmiM1pKYT7N+f9WzFbP7JUGhxD5t+u55 3+PLFi/mlTcuGqj3PtwNXnx01MK7dB/1pK6DKpSinneCddHV8m/dEv7Pf9VDV3kPOuiD dc90NtsgrQGhMgw0L7pVhtPUSa9xeUoByg/FZtZvGet6lSFo2FfYbNev7vGK68eEh7vc X5cY6mdBW3hb8FF6eWEXA6FzGGf732p8W76yq8J4aatkqzF6MUK4jUP6X94keR6kc/I8 zFzA== X-Gm-Message-State: AGi0PuZ/xZ6F4zx39dNZJir9qsw+6FB2F6aFkPICg8uihln+/dSAi5I6 EAA1QieC0ZngddTAP4P0jdmGGqe2C/M= X-Google-SMTP-Source: APiQypIJUNXi2DEd/YWYiu/daCsPp3+ieBiKx/Os32/bdiRKN7jh/+P7esMJJUgPll/rWNwYv04GFg== X-Received: by 2002:a2e:710c:: with SMTP id m12mr8880573ljc.60.1586769536755; Mon, 13 Apr 2020 02:18:56 -0700 (PDT) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline X-Mailing-List: archive/latest/18137 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20200413091853.GA298937@mitya57.me Approved: robomod@news.nic.it Lines: 76 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 13 Apr 2020 12:18:53 +0300 X-Original-Message-ID: <20200413091853.GA298937@mitya57.me> X-Original-References: <1901857.gxORzZljd2@sk-desktop> Xref: csiph.com linux.debian.maint.python:12471 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Scott! On Sun, Apr 12, 2020 at 06:31:57PM -0400, Scott Kitterman wrote: > This being roughly the mid-point in the development cycle, I thought it m= ight=20 > be good to see where we are in terms of future Python packaging developme= nts. > > As I understand it, PEP-517 and PEP-518 are 'the future'. > > I took a look at the presence of pyproject.toml files in the Debian archi= ve. =20 > There are currently 99 packages. Of those, only 28 specify a 'build-back= end',=20 > which is required by 517/518 to be useful for building a package. > > 25 specify: build-backend =3D "setuptools.build_meta" (including setuptoo= ls) > 3 specify: build-backend =3D "flit_core.buildapi" (including flit) pyqt5 and pyqt5webengine specify: build-backend =3D "sipbuild.api". > If build-backend is not specified, the build system has to fall back to= =20 > setup.py. > > I've recently package flit (just arrived in Testing) and written a flit p= lugin=20 > for pybuild that's pending review for merging[1]. I also packaged pep517= for=20 > our pip package, so that's available to support future Debian tool develo= pment=20 > in this area. > > For the moment, I guess we are in reasonable shape, but it might be usefu= l to=20 > have a pybuild plugin to use PEP517/setuptools.build_meta in lieu of setu= p.py=20 > with setuptools/distutils when available. In the future, this will be th= e=20 > primary API and the sooner we start to use it, the better. One issue that comes to mind: how will we specify the install location in a way that will work with any backend? In other words, what is the replacement for distutils' --install-layout=3Ddeb? -- Dmitry Shachnev --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE5688gqe4PSusUZcLZkYmW1hrg8sFAl6ULnkACgkQZkYmW1hr g8tt/A/+KjKA5yJN/tKWZp/5EbTdGy23wxZoQRolZdmof3+eE9yrz9DlB7s6+ANv zTMY25aX3XADUF/23DcCKJnQIqorgdYrxST8qP8uFQTxi6GGJjmfYakCyyTaXYeT w3whknVmHL+qciqwB2Lb0d8emRfpmrUgU83gfs6Qr0reQbrn9M0ySg7B50LXD+QR MFmf2/QlXh1lQejDjaXK/2wjK2Fk54nSgjx9wX4g8g/GGSg6xhBrtUYLn+pR8L61 jaMb7BVVMjYu9sqJBdi58lP8x8W+OnzLqSNec3V7N3AV+/IBKuJasdkKBbJXR77G /dYA3MFFnERhSy++8Y7TCCNsP95j0lFtakPTdvraPXDqq9JttNPLWz9+eCAz7H1d /pyFWStllISQQyWhRLQ/ZJ1DHGekXWUPgprJSr1tz3saFC1dDS0G41n+csl+lkdA g+cCdMkfQDOV+hvwA5Ljd8Snq4ZjX5XK/nyPHBENp3RygIOaMYBKaKbe628BWmIB pCfnCUFanPlGY8zws1dy2bGMMLi0n62kDQ3LFIyZORjoQr8JuE3P05k5dGMKl5WL TVsV/kYunCma2UdntSEYNjjZ6zv29blUQsyHrsDQxizPi9obRspcusrP8wXm7G2z xWEIduvxePyIKVVbv9pQlAAXjk8v2DaY/mGYkk/yTLkAjbNNxdY= =xGav -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--