Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove update-wheels command #761

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 {} \;
Loading