archweb icon indicating copy to clipboard operation
archweb copied to clipboard

Replace `pip` with `uv`

Open benmezger opened this issue 4 months ago • 4 comments

I've been using UV in archweb to handle dependencies and venv management a little easier. Given that, I am opening a PR with the changes I made, in case you want to migrate from pip to UV.

I will take care of the infrastructure PR, so if one wants to merge this, it's better to wait for the infra PR.

benmezger avatar Aug 30 '25 10:08 benmezger

This also calls for us switching to dependabot, but not sure if that can bump the uv version in the github actions workflow.

@jelly it can:

version: 2
enable-beta-ecosystems: true
updates:
  - package-ecosystem: "uv"
    directory: "/"
    schedule:
      interval: "daily"

benmezger avatar Aug 30 '25 14:08 benmezger

On August 30, 2025 2:41:12 PM UTC, Ben Mezger @.***> wrote:

benmezger left a comment (archlinux/archweb#579)

This also calls for us switching to dependabot, but not sure if that can bump the uv version in the github actions workflow.

@jelly it can:

version: 2
enable-beta-ecosystems: true
updates:
 - package-ecosystem: "uv"
   directory: "/"
   schedule:
     interval: "daily"

Can dependabot run on gitlab though?

lahwaacz avatar Aug 31 '25 16:08 lahwaacz

@lahwaacz I think Arch's Gitlab uses renovate, but I don't think it supports uv yet. But it seems Gitlab does support Dependabot.

benmezger avatar Aug 31 '25 17:08 benmezger

@benmezger renovate should already support uv: https://github.com/renovatebot/renovate/discussions/34494

lahwaacz avatar Aug 31 '25 19:08 lahwaacz