Skip to content

Commit

Permalink
Document how to update constraints.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
pjonsson committed Sep 21, 2024
1 parent c01bc02 commit 5e16946
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docker/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,14 @@ docker run --rm \
opendatacube/datacube-tests:latest \
./check-code.sh integration_tests
```

## Updating Dependencies

Run the command:

```shell
docker run --rm \
-v $(pwd):/code -w /code/docker \
-it opendatacube/datacube-tests \
bash -c "python3 -m pip install pip-tools && pip-compile --upgrade --output-file=constraints.txt --strip-extras constraints.in"
```

0 comments on commit 5e16946

Please sign in to comment.