Skip to content

Commit

Permalink
Merge pull request #761 from opensafely-core/remove-update-wheels
Browse files Browse the repository at this point in the history
Remove update-wheels command
  • Loading branch information
bloodearnest authored Oct 28, 2024
2 parents d6aa301 + b69982c commit 3eaa683
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -181,23 +181,3 @@ run repo action: devenv
# required by docker-compose.yaml
dotenv:
cp dotenv-sample .env

update-wheels: devenv
#!/usr/bin/env bash
set -euo pipefail
if test -d lib; then
git -C lib pull
else
git clone [email protected]:opensafely/job-runner-dependencies.git lib
fi
# wipe clean to remove old packages and start fresh each time
rm lib/* -rf
# restore README.md, as we don't want to delete that
git -C lib checkout README.md

# Now install the dependencies
$BIN/pip install -U -r requirements.prod.txt -r requirements.tools.txt --target lib
cp requirements.prod.txt requirements.tools.txt lib/
# remove any .so libs
find lib/ -name \*.so -exec rm {} \;

0 comments on commit 3eaa683

Please sign in to comment.