Skip to content

Commit 0431af8

Browse files
authored
chore: Fix the build.sh deps command (#1401)
The python deps command now correctly writes the requirements.txt and requirements-test.txt file with the correct updated version of the library.
1 parent 513a91f commit 0431af8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,12 @@ function lint() {
8585

8686
## deps - updates project dependencies to latest
8787
function deps() {
88+
set -x
8889
if ! which pip-review ; then
8990
python3 -m pip install pip-review
9091
fi
91-
pip-review --auto -r requirements.txt
92-
pip-review --auto -r requirements-test.txt
92+
export PIP_INDEX_URL=https://pypi.org/simple
93+
nox --sessions deps
9394
echo "Dependencies updated successfully."
9495
}
9596

0 commit comments

Comments
 (0)