Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Scott Kitterman Newsgroups: linux.debian.maint.python Subject: Re: PEP-517/PEP-518 Support In Debian Date: Mon, 13 Apr 2020 06:00:01 +0200 Message-ID: References: X-Original-To: debian-python@lists.debian.org,Paul Wise X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Apr 13 03:53:56 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.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] 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=1586750022; h=date : in-reply-to : references : mime-version : content-type : content-transfer-encoding : subject : to : from : message-id : from; bh=t8N3EwWxfYFOV+ebs077Omg2E8qOz+/TrrgUTXvxtnc=; b=Rgr1v+LU/ByhkQMqDVo4TyI8V46bxNw3PZ/kWFK8IoHfwt+LjG6Vy15Kg/dtPyxzLOYLg h01yxcLA2OxXjTtCA== Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903r; t=1586750022; h=date : in-reply-to : references : mime-version : content-type : content-transfer-encoding : subject : to : from : message-id : from; bh=t8N3EwWxfYFOV+ebs077Omg2E8qOz+/TrrgUTXvxtnc=; b=mJpdAgTNrL/rOSTVYPtH5lYWd1+VXET9W5ijF7cdCk+WMtoU3TGqey4DvUY51DpJsTncT iXUvT4/DUg1z3ccUEsryJve8YNlT7p6Iio3by5gtvbSjAdnE1UcsMZWAUCKVy4u3AZKbikN kgzRYzoe70iUQrb+i511rfXkswQETq3l2WIOCRb+r3niTAzKYCaqzq9w1QaP8G0zPenwCLF xCdGrDjaNNalHr+B8RVGLuVxbrNBmukZdjQQJ4bGhfULGSYkcNxf5yoUOVR6MzwPAQmgYNm Z00fNFyNhQ6+6GkhodPFa9/ptxpuKnpexkCPxMEbC8BB7UqJ8ahD2Up08Hwg== MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/18136 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/25211BA4-E8F3-4C6D-A1D2-7C8754A2737F@kitterman.com Approved: robomod@news.nic.it Lines: 30 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 13 Apr 2020 03:53:40 +0000 X-Original-Message-ID: <25211BA4-E8F3-4C6D-A1D2-7C8754A2737F@kitterman.com> X-Original-References: <1901857.gxORzZljd2@sk-desktop> Xref: csiph.com linux.debian.maint.python:12470 On April 13, 2020 3:44:31 AM UTC, Paul Wise wrote: >On Sun, Apr 12, 2020 at 10:32 PM Scott Kitterman wrote: > >> I took a look at the presence of pyproject=2Etoml files in the Debian >archive=2E >> There are currently 99 packages=2E Of those, only 28 specify a >'build-backend', >> which is required by 517/518 to be useful for building a package=2E > >Is there a tool that can report problems in pyproject=2Etoml files? >Either way I think that lintian needs to detect this particular issue=2E Not that I know of, but I don't think it's time yet=2E They're non-build uses for pyproject=2Etoml, so if build-backend isn't pre= sent, it just means that it isn't used for build reasons=2E The pep517 package (python3-pep517) can validate metadata generated based = on pyproject=2Etoml, but it spins up it's own environment using pip and doe= s a package sdist build to do so=2E I don't think that's what you have in = mind=2E In the pybuild plugin I did for flit, I do check for the correct build-bac= kend when autodetecting if the plugin should be used=2E Using python3-toml= it's a one liner=2E If we really want to head down rlthe path of checking= , it ought to be simple enough to write=2E Scott K