Path: csiph.com!news.uzoreto.com!aioe.org!bofh.it!news.nic.it!robomod From: Emmanuel Arias Newsgroups: linux.debian.maint.python Subject: Re: Asking for help Poetry Date: Fri, 04 Dec 2020 22:40:03 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Dec 4 21:36:57 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-4.88 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FOURLA=0.1, HTML_MESSAGE=2, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .yaerobi. - helo: .mail-wr1-x434.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yaerobi-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mT0O+7TTRz87sp4VJHeb8zsbubMMnl41aVIWsAm+yVA=; b=tGlnA7jcU9Ep8dpwndtctEK3/cwaxDnKY+VQCq1aqVTraP6GEqI9k6y8pCq+JV/pme 7EGsCq94L6qISl+R7UZnP2EKQwaE0CiBwe6BSkqD+2GP4tPpNlmGQYvUghftjy+k7eMw P0p8JsASx+Q5PQ5mNzsgCeRlYf9YFUaWbYHfGb88fGLUoB9QAWWv3n//ANchSo06ISOU 6nT8dcM24neBOxfTjZGs2zwesw6lRlnhp4CA+hoYfraFTaJ8lTFDO9O7tx9XUMNDsx95 eHb8UYybNVkMB7wRMvooytIMqVFrEjyCZCEpyA/NeoFyPGSmldi+XbUw63n4hyXjoKvx wvvw== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mT0O+7TTRz87sp4VJHeb8zsbubMMnl41aVIWsAm+yVA=; b=beAkKlo2ygTLC26LTVBuj5R20lyulztoPiUdzTumMFsH/M9JmbOPkjkF7kKCW6erVU +EKVv7jA63IgCwzsMJ5s0iUisuarv8QBdbizcmUbYIMid0gdDfK9Dg+tD7QERTpnIIQg zdXOQIIS7rEGC9Qtni4jSE8nef2ondF9TinQOrPLd9SsLkyJs+DdTZEdhULAOfGe5gr1 CEBUKp5sM9S/nDToplwl8CcOfouPQAqrV8XeDu9Or3y2t9wfLbEzqBTQ9IAybJTg1AhG zc9UKYw9bTv47FpOTNUjWVwLzSokV03HGjtzb5y2zfkcBG1rxjpzahdG2YQ8FL9kLpMP T5/A== X-Gm-Message-State: AOAM5312M8FGcC1hsLR+h3xkyx+YULdZ4fVSGOiN4Vqk2HQow7NuyOg2 8+iur0ydozWUxdhYkgAgWP6mMjeJXs7k1jFrYQsRGViafxybpeYn X-Google-SMTP-Source: ABdhPJxZvWHiX/13hHvEp8SrC0QBY+iHiCavLXeozh8T/VtMfLfYZlYTzua2hlPeYDWqUzqtshfr6+YkxDMNmlmpxvs= X-Received: by 2002:a05:6000:1006:: with SMTP id a6mr6952976wrx.367.1607117800913; Fri, 04 Dec 2020 13:36:40 -0800 (PST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a2d34705b5aa457f" X-Mailing-List: archive/latest/18802 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAFNO5of_wRRsGOsgP85K-VLDB6GRhjCzELm+2E9iO5KMs_eHZA@mail.gmail.com Approved: robomod@news.nic.it Lines: 247 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Bastian Venthur X-Original-Date: Fri, 4 Dec 2020 18:36:30 -0300 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.maint.python:13037 --000000000000a2d34705b5aa457f Content-Type: text/plain; charset="UTF-8" Hi everyone, After read [0] and thinking about it, IMO the best solution is try to package python-poetry, and its dependencies. I make a very simple (and probably wrong) script [1] to verify the package that will be need package into Debian, before poetry package. [{'name': 'cleo'}, {'name': 'clikit'}, {'name': 'crashtest'}, {'name': 'shellingham'}, {'name': 'pastel'}, {'name': 'pylev'}] Please feel free to ITP them :) [0] https://github.com/python-poetry/poetry/issues/2346 [1] https://github.com/eamanu/pydebdep On Sun, Nov 22, 2020 at 11:03 AM Emmanuel Arias wrote: > Hi everyone, > > In the last week I re-take this work. > > But, we need to discuss the poetry situation. First of all, poetry > upstream doesn't consider > adding vendor libs to the source. They have their reasons about this > situation. I recommend > you read this [0] [1]. > > The problem here, is that poetry need some dependencies that are not in > Debian yet, > and that dependencies have more dependencies (not in Debian). > > Here there're some possibilities that from my point of view we can follow. > If you read [0] @abn recommend use `sonnet` script to build poetry > but is not maintained. In the other hand we can can try to package > poetry-core > that is a more pip similar case with the vendor libs. > > In this week I want to make some tests using `sonnet` and look poetry-core > with the aim to package poetry before freezing Debian. > > I can send you (not today) the list of the dependencies that will be need > package if we want poetry in Debian. > > This is my analysis about poetry (from a not so experienced DM) I will > happy to listen to more experienced people about this, and if you consider > correct that I mention, please. > > Thanks! > > [0] https://github.com/python-poetry/poetry/issues/2607 > [1] https://github.com/python-poetry/poetry/issues/2346 > > > Cheers, > Arias Emmanuel > @eamanu > yaerobi.com > > > On Thu, Nov 19, 2020 at 12:16 PM Bastian Venthur > wrote: > >> Hi, >> >> I see some updates on the salsa repository, any chance we can get this >> package ready before the next freeze so we'll have it in the next stable >> release? >> >> >> Cheers, >> >> Bastian >> >> On 29.06.20 06:04, Scott Kitterman wrote: >> > >> > >> > On June 29, 2020 3:08:53 AM UTC, Emmanuel Arias >> wrote: >> >> Hi, >> >> >> >> I'm working on poetry packaging, I created on salsa de repository [0]. >> >> >> >> Note that there are many packages that are not in Debian like cachy, >> >> cleo, >> >> etc. >> >> >> >> I RFS python-cachy [1] and now I'm working on cleo, which depends on >> >> clikit >> >> that is not on Debian (if I search correctly). >> >> >> >> Bastian Venthur note me that pienv, pip have vendors folder with the >> >> dependencies >> >> but looking on poetry that _vendor folder is empty. >> >> >> >> So, looking for I more experienced opinion, do you think that we would >> >> try >> >> convince >> >> to upstream to make available vendors on the release (if that is >> >> necessary) >> >> or >> >> we need to package all the missing dependencies? >> > >> > Definitely they should be packaged. >> > >> > At least for pip none of the vendored libs are used in Debian's >> package. Fortunately upstream supports use of system libs with only minor >> patching. >> > >> > Scott K >> > >> > >> >> >> -- >> Dr. Bastian Venthur http://venthur.de >> Debian Developer venthur at debian org >> >> --000000000000a2d34705b5aa457f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone,=C2=A0

After read [0] and t= hinking about it, IMO the best solution is try to package=C2=A0python-poetr= y,
and its dependencies. I make a very simple (and probably wrong= ) script [1] to verify the
package that will be need package into= Debian, before poetry package.=C2=A0

[{'name&= #39;: 'cleo'}, {'name': 'clikit'}, {'name':= 'crashtest'}, {'name': 'shellingham'}, {'name&= #39;: 'pastel'}, {'name': 'pylev'}]

Hi everyone= ,

In the last week I re-take this work.
=

But, we need to discuss the poetry situation. First of = all, poetry upstream doesn't consider
adding vendor libs to t= he source. They have their reasons about this situation. I recommend
<= div>you read this [0] [1].

The problem here, = is that poetry need some dependencies that are not in Debian yet,
and that dependencies have more dependencies (not in Debian).

Here there're some possibilities that from my point o= f view we can follow.
If you read [0] @abn recommend use `so= nnet` script to build poetry
but is not maintained. In the other = hand we can can try to package poetry-core
that is a more pip sim= ilar case with the vendor libs.

In this week I wan= t to make some tests using `sonnet` and look poetry-core
with the= aim to=C2=A0 package poetry before freezing Debian.

I can send you (not today) the list of the dependencies that will be nee= d
package if we want poetry in Debian.

= This is my analysis about poetry (from a not so experienced DM) I will
happy to listen to more experienced people about this, and if you con= sider
correct that I mention, please.

Th= anks!



Cheers, =
Arias Emmanuel
@eamanu


On Thu, Nov 19, 2020 at 12:16 PM Bastian Ven= thur <venthur@de= bian.org> wrote:
Hi,

I see some updates on the salsa repository, any chance we can get this
package ready before the next freeze so we'll have it in the next stabl= e
release?


Cheers,

Bastian

On 29.06.20 06:04, Scott Kitterman wrote:
>
>
> On June 29, 2020 3:08:53 AM UTC, Emmanuel Arias <eamanu@yaerobi.com> wrote:
>> Hi,
>>
>> I'm working on poetry packaging, I created on salsa de reposit= ory [0].
>>
>> Note that there are many packages that are not in Debian like cach= y,
>> cleo,
>> etc.
>>
>> I RFS python-cachy [1] and now I'm working on cleo, which depe= nds on
>> clikit
>> that is not on Debian (if I search correctly).
>>
>> Bastian Venthur note me that pienv, pip have vendors folder with t= he
>> dependencies
>> but looking on poetry that _vendor folder is empty.
>>
>> So, looking for I more experienced opinion, do you think that we w= ould
>> try
>> convince
>> to upstream to make available vendors on the release (if that is >> necessary)
>> or
>> we need to package all the missing dependencies?
>
> Definitely they should be packaged.
>
> At least for pip none of the vendored libs are used in Debian's pa= ckage.=C2=A0 Fortunately upstream supports use of system libs with only min= or patching.
>
> Scott K
>
>


--
Dr. Bastian Venthur=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://venthur.de
Debian Developer=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0venthur at debia= n org

--000000000000a2d34705b5aa457f--