Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #13910
| Path | csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod |
|---|---|
| From | Scott Kitterman <debian@kitterman.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Help for python-subby needed |
| Date | Tue, 01 Feb 2022 14:30:01 +0100 |
| Message-ID | <DM1ol-1cE-1@gated-at.bofh.it> (permalink) |
| References | <DKGlY-1ak-5@gated-at.bofh.it> <DKGvD-1dl-1@gated-at.bofh.it> <DLZcS-8qi-9@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Tue Feb 1 13:27:16 2022 |
| Old-Return-Path | <debian@kitterman.com> |
| 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] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; boundary="nextPart2265490.YnV3gLnkDj"; micalg="pgp-sha512"; protocol="application/pgp-signature" |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/19723 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/2722805.RGcWST6AmQ@localhost |
| Approved | robomod@news.nic.it |
| Lines | 71 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 01 Feb 2022 08:26:54 -0500 |
| X-Original-Message-ID | <2722805.RGcWST6AmQ@localhost> |
| X-Original-References | <YfRWgOX3vlno+9U5@an3as.eu> <YfRXDtvhdfTSsE/1@belkar.wrar.name> <YfkTAh+KzD1GzdJj@an3as.eu> |
| Xref | csiph.com linux.debian.maint.python:13910 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Tuesday, February 1, 2022 6:01:22 AM EST Andreas Tille wrote:
> Am Sat, Jan 29, 2022 at 01:50:22AM +0500 schrieb Andrey Rahmatullin:
> > On Fri, Jan 28, 2022 at 09:48:00PM +0100, Andreas Tille wrote:
> > > Hi,
> > >
> > > I need python-subby as a new dependency for some Debian Med package.
> > >
> > > Unfortunately it does not build easily[1]:
> > > dh_auto_build -O--buildsystem=pybuild
> > >
> > > E: pybuild pybuild:367: build: plugin flit failed with: Neither
> > > [project] nor [tool.flit.metadata] found in pyproject.toml E: pybuild
> > > pybuild:367: build: plugin flit failed with: Neither [project] nor
> > > [tool.flit.metadata] found in pyproject.toml dh_auto_build: error:
> > > pybuild --build -i python{version} -p "3.10 3.9" returned exit code 13>
> > It indeed uses poetry, not flit, but you have export PYBUILD_SYSTEM=flit.
>
> Where can I find an example how to use poetry?
Add build-depends on pybuild-plugin-pyproject.
Drop build-depends on flit.
Drop the "export PYBUILD_SYSTEM=flit" line in d/rules.
The poetry build-depends I'm a little uncertain on. Subby has:
> [build-system]
> requires = ["poetry>=0.12"]
> build-backend = "poetry.masonry.api"
What I recall seeing is:
> [build-system]
> requires = ["poetry>=0.12"]
> build-backend = "poetry.core.masonry.api"
I am not familiar enough to know if that means that you need python3-poetry
(which you have) or if the upstream pyproject.toml is wrong and you need
poetry-core. Maybe someone else knows or you can experiment.
That should get you close.
Scott K
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Help for python-subby needed Andreas Tille <andreas@an3as.eu> - 2022-01-28 21:50 +0100
Re: Help for python-subby needed Andrey Rahmatullin <wrar@debian.org> - 2022-01-28 22:00 +0100
Re: Help for python-subby needed Andreas Tille <andreas@an3as.eu> - 2022-02-01 12:10 +0100
Re: Help for python-subby needed Scott Kitterman <debian@kitterman.com> - 2022-02-01 14:30 +0100
Re: Help for python-subby needed Andreas Tille <andreas@an3as.eu> - 2022-02-01 16:50 +0100
csiph-web