magika icon indicating copy to clipboard operation
magika copied to clipboard

python package with the rust CLI is not correctly installed via `uv` with some docker containers

Open reyammer opened this issue 2 months ago • 2 comments

As reported in #1134, there appear to be problems when running magika with uv tool magika in certain docker containers, even if the platform is one of the supported ones.

reyammer avatar Oct 03 '25 12:10 reyammer

I wonder if running python3 ./python/scripts/fix_package_version.py first fixes the issue. Note that this is needed until https://github.com/PyO3/maturin/issues/2163 is fixed.

ia0 avatar Oct 03 '25 13:10 ia0

when running magika with uv tool magika in certain docker containers

Just correcting the typo above: The issue occurs when magika is installed in the container via uv tool install magika.

The same issue reproduces when magika is installed in the container with pixi global install magika.

However, uv tool run magika inside the container (without any prior installation) works as expected.

ctcjab avatar Oct 03 '25 15:10 ctcjab