Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12470

Re: PEP-517/PEP-518 Support In Debian

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Scott Kitterman <debian@kitterman.com>
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 <zUYql-1Cc-1@gated-at.bofh.it> (permalink)
References <zUTqG-72H-9@gated-at.bofh.it> <zUYgF-1yD-1@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org,Paul Wise <pabs@debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Apr 13 03:53:56 2020
Old-Return-Path <debian@kitterman.com>
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 <debian-python@lists.debian.org> archive/latest/18136
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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> <CAKTje6FRbF8MYX2QPVjO3jGaQ9uruGj=MtryhZ1K=zd53bQmyQ@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:12470

Show key headers only | View raw



On April 13, 2020 3:44:31 AM UTC, Paul Wise <pabs@debian.org> wrote:
>On Sun, Apr 12, 2020 at 10:32 PM Scott Kitterman wrote:
>
>> 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.
>
>Is there a tool that can report problems in pyproject.toml files?
>Either way I think that lintian needs to detect this particular issue.

Not that I know of, but I don't think it's time yet.

They're non-build uses for pyproject.toml, so if build-backend isn't present, it just means that it isn't used for build reasons.

The pep517 package (python3-pep517) can validate metadata generated based on pyproject.toml, but it spins up it's own environment using pip and does a package sdist build to do so.  I don't think that's what you have in mind.

In the pybuild plugin I did for flit, I do check for the correct build-backend when autodetecting if the plugin should be used.  Using python3-toml it's a one liner.  If we really want to head down rlthe path of checking, it ought to be simple enough to write.

Scott K

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PEP-517/PEP-518 Support In Debian Scott Kitterman <debian@kitterman.com> - 2020-04-13 00:40 +0200
  Re: PEP-517/PEP-518 Support In Debian Paul Wise <pabs@debian.org> - 2020-04-13 05:50 +0200
    Re: PEP-517/PEP-518 Support In Debian Scott Kitterman <debian@kitterman.com> - 2020-04-13 06:00 +0200
  Re: PEP-517/PEP-518 Support In Debian Dmitry Shachnev <mitya57@debian.org> - 2020-04-13 11:20 +0200
    Re: PEP-517/PEP-518 Support In Debian Scott Kitterman <debian@kitterman.com> - 2020-04-13 14:10 +0200
      Re: PEP-517/PEP-518 Support In Debian Nicholas D Steeves <nsteeves@gmail.com> - 2020-06-05 01:50 +0200
        Re: PEP-517/PEP-518 Support In Debian Scott Kitterman <debian@kitterman.com> - 2020-06-05 02:00 +0200
          Re: PEP-517/PEP-518 Support In Debian Nicholas D Steeves <nsteeves@gmail.com> - 2020-06-05 02:50 +0200

csiph-web