I have a problem with a CI pipeline which fails to install pydantic-core through Poetry, as maturin fails.
At first, I believed the problem was due to using a Python Docker image to run the pipeline without having Rust installed, so I included a step in the task so rustup is installed during the pipeline execution, but the build keeps failing.
I have seen that the exact same error has been previously presented here and later mentioned to be a duplicate of #1292, itself closed with PR #1340, but I haven't been able to find more descriptive details as to the root cause of the problem so I could address it in my case.
The pipeline is running the official Python 3.13 bookworm image from Docker Hub and I'm attempting to install pydantic-core 2.14.6 as a dependency to pydantic 2.5.3, in turn a dependency of Safety 3.2.10. Below is a part of my poetry.lock file with these three packages being defined:
Hi guys.
I have a problem with a CI pipeline which fails to install
pydantic-core
through Poetry, as maturin fails.At first, I believed the problem was due to using a Python Docker image to run the pipeline without having Rust installed, so I included a step in the task so rustup is installed during the pipeline execution, but the build keeps failing.
I have seen that the exact same error has been previously presented here and later mentioned to be a duplicate of #1292, itself closed with PR #1340, but I haven't been able to find more descriptive details as to the root cause of the problem so I could address it in my case.
The pipeline is running the official Python 3.13 bookworm image from Docker Hub and I'm attempting to install pydantic-core
2.14.6
as a dependency to pydantic2.5.3
, in turn a dependency of Safety3.2.10
. Below is a part of mypoetry.lock
file with these three packages being defined:Any insights as to why in my case the build still fails?