Skip to content

Commit

Permalink
🔧 Simplify requirements update process
Browse files Browse the repository at this point in the history
  • Loading branch information
yezz123 committed Jan 20, 2025
1 parent 9fe1b56 commit 903786b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions scripts/requirements.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
#!/usr/bin/env bash

refresh-lockfiles() {
echo "Updating requirements/*.txt files using uv"
find requirements/ -name '*.txt' ! -name 'all.txt' -type f -delete
uv pip compile requirements/linting.in -o requirements/linting.txt
uv pip compile requirements/testing.in -o requirements/testing.txt
uv pip compile pyproject.toml -o requirements/pyproject.txt
uv pip install -r requirements/all.txt
}

refresh-lockfiles
uv lock --upgrade

0 comments on commit 903786b

Please sign in to comment.