Is your upgraded python used for both python3 and python3-native? nativepython3 is coming from python3-native variant of the recipe, so somehow that is still using the 3.10?
It helps if you publish the layer. It's difficult to help without seeing what you did exactly. Alex On Wed, 10 Jul 2024 at 12:02, jahnavijha14 via lists.openembedded.org <[email protected]> wrote: > > Hi, > > I want to upgrade the Python package version (3.10) present in yocto > Kirkstone build to Python-3.11.5 version. > For this I created my own layer and inside that have added Python recipe file > for 3.11.5 version and its related files. > > When I bitbake the recipe for python. (bitbake python3). I encounter one > error related to do_configure which says: > > checking for --with-build-python... configure: error: "nativepython3" has > incompatible version 3.10 (expected: 3.11). > > How do I link my Python 3.11.5 with nativepython3? > > ////////////////////////////////////////////////////////////////// > > | checking whether -lc should be explicitly linked in... no > | checking dynamic linker characteristics... GNU/Linux ld.so > | checking how to hardcode library paths into programs... immediate > | checking whether stripping libraries is possible... yes > | checking if libtool supports shared libraries... yes > | checking whether to build shared libraries... yes > | checking whether to build static libraries... yes > | checking for --with-build-python... configure: error: "nativepython3" has > incompatible version 3.10 (expected: 3.11) > | NOTE: The following config.log files may provide further information. > > //////////////////////////////////////////////////////////////////////// > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#201729): https://lists.openembedded.org/g/openembedded-core/message/201729 Mute This Topic: https://lists.openembedded.org/mt/107139491/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
