|
Does python_poetry_core installs dependencies?
#devtool
#python
The Python build tool, be it poetry or flit or setuptools, will do a build in the environment that the recipe has defined: only the dependencies in DEPENDS, no virtualenv. The point being that we cont
The Python build tool, be it poetry or flit or setuptools, will do a build in the environment that the recipe has defined: only the dependencies in DEPENDS, no virtualenv. The point being that we cont
|
By
Ross Burton
· #59305
·
|
|
Does python_poetry_core installs dependencies?
#devtool
#python
I have a python script with its dependencies managed by poetry, which have this pyproject.toml file: [tool.poetry.dependencies] python = "^3.10" flask = "^2.2.3" graphene = "^3.2.1" graphql-server = "
I have a python script with its dependencies managed by poetry, which have this pyproject.toml file: [tool.poetry.dependencies] python = "^3.10" flask = "^2.2.3" graphene = "^3.2.1" graphql-server = "
|
By
minecraft2048@...
· #59301
·
|
|
Installing python package using maturin
#python
Hello, I would greatly appreciate any help fixing this issue. I need to install the Python package orjson from PyPI on our Kirkstone build. Since it requires maturin to install I created a recipe for
Hello, I would greatly appreciate any help fixing this issue. I need to install the Python package orjson from PyPI on our Kirkstone build. Since it requires maturin to install I created a recipe for
|
By
amgadhs@...
· #58524
·
|
|
Kirkstone Upgrade now gives RDEPENDS error with /usr/bin/python
#python
#kirkstone
Good Afternoon, I am updating a project from Honister to Kirkstone, Has anyone else run into an issue with python files with a #!/usr/bin/python header throwing the (abbreviated) Error below? This did
Good Afternoon, I am updating a project from Honister to Kirkstone, Has anyone else run into an issue with python files with a #!/usr/bin/python header throwing the (abbreviated) Error below? This did
|
By
bgctkd@...
· #57821
·
|
|
BBClass function and symbolic link (symlink) ... I throw in the towel
#kirkstone
#python
#bitbake
Hi Joshua, It's 100% my fault, I'm mixed 2 variables: ROOTFS_POSTPROCESS_COMMAND IMAGE_POSTPROCESS_COMMAND My "ln " command have to be placed into IMAGE_POSTPROCESS_COMMAND, not ROOTFS_POSTPROCESS_COM
Hi Joshua, It's 100% my fault, I'm mixed 2 variables: ROOTFS_POSTPROCESS_COMMAND IMAGE_POSTPROCESS_COMMAND My "ln " command have to be placed into IMAGE_POSTPROCESS_COMMAND, not ROOTFS_POSTPROCESS_COM
|
By
...
· #57751
·
|
|
BBClass function and symbolic link (symlink) ... I throw in the towel
#kirkstone
#python
#bitbake
Hi Joshua, Everything is around the /etc/version file. I know that this file is generated automatically and this is hardcoded in Yocto. I've to check how to found a workaround on this. Sorry for this.
Hi Joshua, Everything is around the /etc/version file. I know that this file is generated automatically and this is hardcoded in Yocto. I've to check how to found a workaround on this. Sorry for this.
|
By
...
· #57741
·
|
|
BBClass function and symbolic link (symlink) ... I throw in the towel
#kirkstone
#python
#bitbake
Probably, I don't really know but when I comment the "ln -s" line, using a #, the compilation works. Only the "ln -s" lines
Probably, I don't really know but when I comment the "ln -s" line, using a #, the compilation works. Only the "ln -s" lines
|
By
...
· #57738
·
|
|
BBClass function and symbolic link (symlink) ... I throw in the towel
#kirkstone
#python
#bitbake
Your set version function looks like it's running from the logs, so don't think your function is directly causing a problem. My guess is something else later is crashing or something else unrelated?
Your set version function looks like it's running from the logs, so don't think your function is directly causing a problem. My guess is something else later is crashing or something else unrelated?
|
By
Joshua Watt
· #57736
·
|
|
BBClass function and symbolic link (symlink) ... I throw in the towel
#kirkstone
#python
#bitbake
Hi Joshua, I've founded a second function, in the same class, using ln -s set_log_folder () { bbplain "Set var log folder BEGIN" rm -Rf ${IMAGE_ROOTFS}/var/log ln -s /mnt/general_data/log/ ${IMAGE_ROO
Hi Joshua, I've founded a second function, in the same class, using ln -s set_log_folder () { bbplain "Set var log folder BEGIN" rm -Rf ${IMAGE_ROOTFS}/var/log ln -s /mnt/general_data/log/ ${IMAGE_ROO
|
By
...
· #57735
·
|
|
BBClass function and symbolic link (symlink) ... I throw in the towel
#kirkstone
#python
#bitbake
Hi Joshua, Thank you for your quick reply. Please see the crash log in the attachment. "Also, I'm not quite clear what you mean by "works like a charm with Warrior"; it sounds like something still isn
Hi Joshua, Thank you for your quick reply. Please see the crash log in the attachment. "Also, I'm not quite clear what you mean by "works like a charm with Warrior"; it sounds like something still isn
|
By
...
· #57732
·
|
|
BBClass function and symbolic link (symlink) ... I throw in the towel
#kirkstone
#python
#bitbake
<martin.leduc=luminator.com@...> wrote: Can you provide a little more detail about how it crashes? Also, I'm not quite clear what you mean by "works like a charm with Warrior"; it s
<martin.leduc=luminator.com@...> wrote: Can you provide a little more detail about how it crashes? Also, I'm not quite clear what you mean by "works like a charm with Warrior"; it s
|
By
Joshua Watt
· #57730
·
|
|
BBClass function and symbolic link (symlink) ... I throw in the towel
#kirkstone
#python
#bitbake
Hi team, Well, I throw in the towel. But it's looks like so simple .... for me 🤣🤣. I've a function to replace the version file in /etc/version. This function is integrated into my mybase-image.bbclass
Hi team, Well, I throw in the towel. But it's looks like so simple .... for me 🤣🤣. I've a function to replace the version file in /etc/version. This function is integrated into my mybase-image.bbclass
|
By
...
· #57729
·
|
|
What happened to packages __init__.py?
#python
#dunfell
I'm working with multiple platforms on dunfell. I'm having trouble understanding the installation step of a couple of pthon3 packages - namely python3-zc-lockfile and python3-jaraco-functools. In both
I'm working with multiple platforms on dunfell. I'm having trouble understanding the installation step of a couple of pthon3 packages - namely python3-zc-lockfile and python3-jaraco-functools. In both
|
By
MikeB
· #56829
·
|
|
Updating BBappend files in yocto
#yocto
#python
#devtool
Apologies but I have to say no. Updating these three variables from a bbappend is not a good idea and I strongly recommend that you do not do it. If you need a different version of something, write a
Apologies but I have to say no. Updating these three variables from a bbappend is not a good idea and I strongly recommend that you do not do it. If you need a different version of something, write a
|
By
Alexander Kanavin
· #56274
·
|
|
Updating BBappend files in yocto
#yocto
#python
#devtool
Hi Alexander, I looked into the various options provided by devtool upgrade/devtool finish. Unfortunately, it doesn't have the required options to update .bbappend files. Below is a brief on my proble
Hi Alexander, I looked into the various options provided by devtool upgrade/devtool finish. Unfortunately, it doesn't have the required options to update .bbappend files. Below is a brief on my proble
|
By
ksmanjunath681@...
· #56273
·
|
|
#python Freescale/NXP linux kernel python2 remove
#python
if you are using latest release then py2 is more or less not needed unless you use perhaps packages like chromium ( which is also now fixed in meta-browser ) but this is for oe-core and meta-oe layers
if you are using latest release then py2 is more or less not needed unless you use perhaps packages like chromium ( which is also now fixed in meta-browser ) but this is for oe-core and meta-oe layers
|
By
Khem Raj
· #55768
·
|
|
#python Freescale/NXP linux kernel python2 remove
#python
I found information on how to remove python2 from the recipe and add Python3 but I don’t know if/how it will work with NXP. Also, there are a lot of people that say Python2 is needed for dependencies,
I found information on how to remove python2 from the recipe and add Python3 but I don’t know if/how it will work with NXP. Also, there are a lot of people that say Python2 is needed for dependencies,
|
By
b.senzio@...
· #55762
·
|
|
Problem installing python package from a wheel
#bitbake
#python
Ah OK, I wasn't aware of the the python naming convention. That is likely my problem since I'm using Honister which uses Python 3.9. I pulled the wheel from NVIDIA's forums for pytorch, unfortunately
Ah OK, I wasn't aware of the the python naming convention. That is likely my problem since I'm using Honister which uses Python 3.9. I pulled the wheel from NVIDIA's forums for pytorch, unfortunately
|
By
David Babich
· #55443
·
|
|
Problem installing python package from a wheel
#bitbake
#python
There's a section about building from source with a patch in the article he linked with his first message. I don't know much about python in yocto, but maybe doing that in a recipe could work?
There's a section about building from source with a patch in the article he linked with his first message. I don't know much about python in yocto, but maybe doing that in a recipe could work?
|
By
Nicolas Jeker
· #55420
·
|
|
Problem installing python package from a wheel
#bitbake
#python
Installing third-party wheels is not something we are likely to ever support in Yocto Project/OpenEmbedded recipes. Are you trying to install using pip3 on target? Note that many factors will make it
Installing third-party wheels is not something we are likely to ever support in Yocto Project/OpenEmbedded recipes. Are you trying to install using pip3 on target? Note that many factors will make it
|
By
Tim Orling
· #55407
·
|