Skip to content

Commit

Permalink
chore: use uv export to build docker requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 5, 2024
1 parent 46682c3 commit 973a533
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/rundev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rundev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 973a533

Please sign in to comment.