Skip to content

Conversation

@slint
Copy link
Member

@slint slint commented Jul 23, 2025

  • Docs page under the v13 Upgrade category
  • "Companion migration script" which automates some of the steps

@slint slint marked this pull request as draft July 23, 2025 17:08
@max-moser
Copy link
Contributor

UV_VERIFY_HASHES=1

# Copy uv binary from official image
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just as a note, AFAIK the uv image is based on alpine (which uses musl instead of glibc) – which should not be an issue here because uv is rust/statically compiled (and thus doesn't need to be compiled against glibc vs. musl)

it might cause trouble if a dynamically linked binary were copied over to a glibc-based image

@egabancho
Copy link
Member

I tested it on one of my instances, and it worked pretty nicely.
The only issue was with one requirement that had for version *, as in ipdb = "*". This was translated to ipdb*.


# Copy static code, assets, and configuration files
COPY site ./site
COPY legacy ./legacy
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be removed

@ntarocco
Copy link
Contributor

after testing, I had to fix 2 things in my local dev:

  1. fix the path to cairo as here: Unable to instal cairocffi astral-sh/uv#7896 (comment)
  2. rm -rf ./site/cds_rdm.egg-info (it was keeping wrong entry-points)

I don't know how/if we want to document this part too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants