poetry_core: update for renamed class pip_install_wheel to python_pep517
PATCH 1/1 poetry_core: update for renamed class pip_install_wheel to python_pep517
--- meta-python/classes/poetry_core.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-python/classes/poetry_core.bbclass +3 -3
@@ -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
Signature · 1 line
2.25.1
thanks, I also came to same patch huffing and puffing, I have taken this one now.
Quoted 39 lines · Ross Burton
Signed-off-by Ross Burton <[email protected]>--- meta-python/classes/poetry_core.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)meta-python/classes/poetry_core.bbclass +3
-4@@ -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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 2 lines · Khem Raj
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
Quoted 43 lines · Ross Burton
Quoted 41 lines
Signed-off-by Ross Burton <[email protected]>--- meta-python/classes/poetry_core.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)meta-python/classes/poetry_core.bbclass +3
-4@@ -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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-