All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] poetry_core: update for renamed class pip_install_wheel to python_pep517
@ 2022-03-12 20:06 Ross Burton
  2022-03-12 23:16 ` [oe] " Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Ross Burton @ 2022-03-12 20:06 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-python/classes/poetry_core.bbclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-python/classes/poetry_core.bbclass b/meta-python/classes/poetry_core.bbclass
index fb37c78c78..b2b80efa4f 100644
--- a/meta-python/classes/poetry_core.bbclass
+++ b/meta-python/classes/poetry_core.bbclass
@@ -1,4 +1,4 @@
-inherit pip_install_wheel python3native setuptools3-base
+inherit python_pep517 python3native setuptools3-base
 
 DEPENDS += "python3-poetry-core-native"
 
@@ -8,8 +8,8 @@ poetry_core_do_configure () {
 
 # TODO: ideally this uses pypa/build
 poetry_core_do_compile () {
-    nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PIP_INSTALL_DIST_PATH}')"
+    nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PEP517_WHEEL_PATH}')"
 }
-do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}"
+do_compile[cleandirs] += "${PEP517_WHEEL_PATH}"
 
 EXPORT_FUNCTIONS do_configure do_compile
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [oe] [PATCH] poetry_core: update for renamed class pip_install_wheel to python_pep517
  2022-03-12 20:06 [PATCH] poetry_core: update for renamed class pip_install_wheel to python_pep517 Ross Burton
@ 2022-03-12 23:16 ` Khem Raj
  2022-03-13 18:41   ` akuster808
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2022-03-12 23:16 UTC (permalink / raw)
  To: Ross Burton; +Cc: openembeded-devel

thanks, I also came to same patch huffing and puffing, I have taken
this one now.

On Sat, Mar 12, 2022 at 12:06 PM Ross Burton <ross@burtonini.com> wrote:
>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
>  meta-python/classes/poetry_core.bbclass | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meta-python/classes/poetry_core.bbclass b/meta-python/classes/poetry_core.bbclass
> index fb37c78c78..b2b80efa4f 100644
> --- a/meta-python/classes/poetry_core.bbclass
> +++ b/meta-python/classes/poetry_core.bbclass
> @@ -1,4 +1,4 @@
> -inherit pip_install_wheel python3native setuptools3-base
> +inherit python_pep517 python3native setuptools3-base
>
>  DEPENDS += "python3-poetry-core-native"
>
> @@ -8,8 +8,8 @@ poetry_core_do_configure () {
>
>  # TODO: ideally this uses pypa/build
>  poetry_core_do_compile () {
> -    nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PIP_INSTALL_DIST_PATH}')"
> +    nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PEP517_WHEEL_PATH}')"
>  }
> -do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}"
> +do_compile[cleandirs] += "${PEP517_WHEEL_PATH}"
>
>  EXPORT_FUNCTIONS do_configure do_compile
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#95963): https://lists.openembedded.org/g/openembedded-devel/message/95963
> Mute This Topic: https://lists.openembedded.org/mt/89739125/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [oe] [PATCH] poetry_core: update for renamed class pip_install_wheel to python_pep517
  2022-03-12 23:16 ` [oe] " Khem Raj
@ 2022-03-13 18:41   ` akuster808
  0 siblings, 0 replies; 3+ messages in thread
From: akuster808 @ 2022-03-13 18:41 UTC (permalink / raw)
  To: Khem Raj, Ross Burton; +Cc: openembeded-devel



On 3/12/22 15:16, Khem Raj wrote:
> thanks, I also came to same patch huffing and puffing, I have taken
> this one now.

thanks you both. I just hit this in my builds

-armin
>
> On Sat, Mar 12, 2022 at 12:06 PM Ross Burton <ross@burtonini.com> wrote:
>> Signed-off-by: Ross Burton <ross.burton@arm.com>
>> ---
>>   meta-python/classes/poetry_core.bbclass | 6 +++---
>>   1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/meta-python/classes/poetry_core.bbclass b/meta-python/classes/poetry_core.bbclass
>> index fb37c78c78..b2b80efa4f 100644
>> --- a/meta-python/classes/poetry_core.bbclass
>> +++ b/meta-python/classes/poetry_core.bbclass
>> @@ -1,4 +1,4 @@
>> -inherit pip_install_wheel python3native setuptools3-base
>> +inherit python_pep517 python3native setuptools3-base
>>
>>   DEPENDS += "python3-poetry-core-native"
>>
>> @@ -8,8 +8,8 @@ poetry_core_do_configure () {
>>
>>   # TODO: ideally this uses pypa/build
>>   poetry_core_do_compile () {
>> -    nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PIP_INSTALL_DIST_PATH}')"
>> +    nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PEP517_WHEEL_PATH}')"
>>   }
>> -do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}"
>> +do_compile[cleandirs] += "${PEP517_WHEEL_PATH}"
>>
>>   EXPORT_FUNCTIONS do_configure do_compile
>> --
>> 2.25.1
>>
>>
>>
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#95966): https://lists.openembedded.org/g/openembedded-devel/message/95966
>> Mute This Topic: https://lists.openembedded.org/mt/89739125/3616698
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [akuster808@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-13 18:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-12 20:06 [PATCH] poetry_core: update for renamed class pip_install_wheel to python_pep517 Ross Burton
2022-03-12 23:16 ` [oe] " Khem Raj
2022-03-13 18:41   ` akuster808

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.