Replies: 3 comments 3 replies
-
Apologies for the slow reply. Full build logs are available under the actions tab, so you can see exactly what happens e.g. here is a recent caddy build. The core build is just running melange on the YAML files. We can open an issue for poetry, as that doesn't look right. Regarding the "dirty" git status, I believe there is a good reason for that -- I'll come back with an answer shortly. |
Beta Was this translation helpful? Give feedback.
-
During build git-checkout or fetch of tarball is done in builders $HOME. |
Beta Was this translation helpful? Give feedback.
-
I'm also having some problems with poetry and wanted to add some additional context. I'm building a base image for python 3.10, 3.11 and 3.12 all with the same packages and just mutating the versions in the package list: packages:
- wolfi-base
- build-base
- python-<VERSION>
- py<VERSION>-pip
- poetry In the case of the Python 3.10 and 3.11 images, poetry can't be run giving the error:
On 3.12 I get the error:
Having looked at the build output I can see that while I am specifying for example Python 3.10, the poetry dependencies align with 3.12:
The upshot is that these packages end up in As @mil1i states, the only way to get around this is to install poetry using pip or the official installer. So it appears that poetry doesn't take the actual system python into account and is also missing the |
Beta Was this translation helpful? Give feedback.
-
So I would like a better understanding of how the packages are being built for the apk repository that chainguard.dev is serving.
https://github.com/orgs/wolfi-dev/repositories
I can see the yaml files here with their definitions, but the reason I ask this is that from testing on the wolfi-base image and installing several packages they don't appear to work properly or if they're a binary that reports the GitTree State they report as "Dirty".
For instance:
Poetry doesn't seem to work correctly.
$ apk add python-3.12 poetry $ poetry -V Poetry (version 1.8.3) $ poetry list No module named 'poetry_plugin_export'
If I uninstall the apk installation method, and install using the official installer it works as expected.
Helm / ArgoCD report a GitTreeState of "Dirty" indicating that something was modified before the build.
Beta Was this translation helpful? Give feedback.
All reactions