Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Scott Kitterman Newsgroups: linux.debian.maint.python Subject: PEP-517/PEP-518 Support In Debian Date: Mon, 13 Apr 2020 00:40:02 +0200 Message-ID: X-Mailbox-Line: From debian-python-request@lists.debian.org Sun Apr 12 22:32:16 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -5.5 Dkim-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903e; t=1586730721; h=from : to : subject : date : message-id : mime-version : content-type : from; bh=PhsG//aidCILyIxWZkq+IANCpbfSv62MxleOyE9pxVI=; b=vepJbQ6Cw2sXgjXjteiszk7UlLWUantD/rTfIyJbEDV5xQHXqvr8DGw3Bw7XNdBI9tGXf uB460U4u9An0GR0DQ== Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903r; t=1586730721; h=from : to : subject : date : message-id : mime-version : content-type : from; bh=PhsG//aidCILyIxWZkq+IANCpbfSv62MxleOyE9pxVI=; b=Qf/Uj6sJRT8UHprSpm/+QvY38foTMEhwPXhHBlerqDeGphBIiz2j9t+OMUN+4Oc0xW2oO CdqmHTjhlLejgHKHtHMXKeleeYKpBVSTtkyE2fWqB8J1Ej9EPLuvT9PapgCTpMOzCSTJdHA XqiZEamjT7IeLsKG2wu1y5GyfXpHrx2RzOFH/p9M4xK8+M8UYqmTxCrSyuHunyZeXGJ90bH RyoeZ2hDFWuASBR7h8/Z7Hm/RwVF8K9iI11gNNH5VxgBqhNK3cqXnYKCqCJLqygr+PNazaD 1qKG+WlYcX9SkNCvugToH80OnQ9L8ZZhpbD1gggMX4OsC2gfJEwC6XmZA4Rw== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8180605.8TDIvXiU0k"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Mailing-List: archive/latest/18132 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/1901857.gxORzZljd2@sk-desktop Approved: robomod@news.nic.it Lines: 55 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 12 Apr 2020 18:31:57 -0400 X-Original-Message-ID: <1901857.gxORzZljd2@sk-desktop> Xref: csiph.com linux.debian.maint.python:12466 --nextPart8180605.8TDIvXiU0k Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" This being roughly the mid-point in the development cycle, I thought it might be good to see where we are in terms of future Python packaging developments. 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 archive. There are currently 99 packages. Of those, only 28 specify a 'build-backend', which is required by 517/518 to be useful for building a package. 25 specify: build-backend = "setuptools.build_meta" (including setuptools) 3 specify: build-backend = "flit_core.buildapi" (including flit) If build-backend is not specified, the build system has to fall back to setup.py. I've recently package flit (just arrived in Testing) and written a flit plugin for pybuild that's pending review for merging[1]. I also packaged pep517 for our pip package, so that's available to support future Debian tool development in this area. For the moment, I guess we are in reasonable shape, but it might be useful to have a pybuild plugin to use PEP517/setuptools.build_meta in lieu of setup.py with setuptools/distutils when available. In the future, this will be the primary API and the sooner we start to use it, the better. Scott K [1] https://salsa.debian.org/python-team/tools/dh-python/-/merge_requests/12 --nextPart8180605.8TDIvXiU0k Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE53Kb/76FQA/u7iOxeNfe+5rVmvEFAl6Tlt0ACgkQeNfe+5rV mvH/Kg/+LAezY1OGGdisPBVdteoBjR9I+aTn+hmCr/gbWixT9jRGL4vwvm9Y6eRJ z0daeK2Mks2hSZBE20p5ykS4NtZrr5BTi/1B43Ql9D6dLuN070/tQWaae83wAbRt 4Ger2yFVtOBSO+zczTbPOIbNJ9GeDbutt0KmMGTgVP5USmVeg8xiIvLM5bnMud8s ugPD8yaeFbQsBQ6B/pIqQZ4ybtSUJNbnXB8pYS7wDNxBb11YPKilMLYFiKt8NdjE wn0YhR5ibcBFoWVTJFn8oC0Ii9KIcHDTCpWI4wwqu6jYAC+IdBLkL3jWiYOXqNXc LYxy3HOqKZWQOQwUih1TUBNP3ScdHJIAdwO8j8NlfMBe2P/zFU+5tj4wG4wy3mrG m+h4Jot6ddg/iNNxFGZUrsdUQxzN3Z+GTdrmhyKE8ltQT/Wz8NxJy5nvByTzw+7o JgXY5XLKzJqUHm1x+5QAIiL6yG7+dMieVG/3+8ZRl+HcuHooMnsfEhFK7bcDcmRR lXYyydJuW969YN9W27rAu2Q+qoPisjwvL937dS0ivRvyP1DThBgBAQgo7jr+U1jv ylOEQH7OC0kVhk2Dyq8NlXAudV5fKpHHpuxUr4EUDo4Tq/9Wjp9h/ed4whWifFZQ kZDiD+j4hYVmdY+tbJSpzNPd+OtZwCW5/0e+lgJyk3RxNpQhEVQ= =5xtG -----END PGP SIGNATURE----- --nextPart8180605.8TDIvXiU0k--