diff --git a/.github/workflows/rundev.yml b/.github/workflows/rundev.yml index 4c169b1b1d4e..7a36e4e385ca 100644 --- a/.github/workflows/rundev.yml +++ b/.github/workflows/rundev.yml @@ -26,6 +26,7 @@ jobs: PYTHONUNBUFFERED: 1 steps: - uses: actions/checkout@v4 + - uses: astral-sh/setup-uv@v3 - run: ./rundev.sh build - run: ./rundev.sh start - run: ./rundev.sh wait diff --git a/rundev.sh b/rundev.sh index acda619aa40b..71e36da482f3 100755 --- a/rundev.sh +++ b/rundev.sh @@ -25,7 +25,7 @@ cd dev-docker/ build() { mkdir -p data # Build single requirements file - sed -n 's/^ "\([][a-zA-Z._0-9-]\+[<>=].*\)".*/\1/p' ../pyproject.toml > weblate-dev/requirements.txt + uv export --format requirements-txt --all-extras --no-emit-project --frozen > weblate-dev/requirements.txt # Fetch up-to-date base docker image docker pull weblate/weblate:bleeding # Build the container