Skip to content

new docker image bookworm-slim makes uv build fail #11213

@Morgadoooo

Description

@Morgadoooo

Summary

Hi,

I'm running CI on gitlab using their saas runners (linux amd64)

I don't know if i'm the only one here but I noticed that since latest docker images have dropped my CI are failing to uv build.

Tried to run without cache / with different python version (bookworm-slim 3.8 / 3.9 / 3.12)

> uv build
Building source distribution...
  × Failed to build `/builds/test/a_package`
  ├─▶ failed to unpack
  │   `/builds/test/a_package/.uv-cache/sdists-v7/.tmp1n3mUq/test/a_package-1.0.0/.uv-cache/archive-v0/xnIKTmXwjjeTGFKmNQ04g/lib/python3.12/site-packages/typing_extensions.py`
  ╰─▶ No such file or directory (os error 2) while canonicalizing
      /builds/test/a_package/.uv-cache/sdists-v7/.tmp1n3mUq/test/a_package-1.0.0/.uv-cache/archive-v0/xnIKTmXwjjeTGFKmNQ04g/lib/python3.12/site-packages/a_package-1.0.0/.uv-cache/archive-v0/fQx_zMdWQeLktREBUY0-Z/typing_extensions.py

Using the ghcr.io/astral-sh/uv:0.5.26-python3.12-bookworm-slim does work for me

Platform

linux amd64

Version

uv 0.5.27

Python version

3.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions