Skip to content

Commit

Permalink
ci: quote the minimal version in pip command line
Browse files Browse the repository at this point in the history
In shell script, using `... pip>21.3` means "run the command and write
the output in a file named `21.3`. This leads to empty output in GitHub
Actions, such as in https://github.com/tpm2-software/tpm2-pytss/runs/4703569920?check_suite_focus=true#step:4:2004

Fix this by quoting the parameter, which makes the shell interpret it as
a string instead of an output redirection.

Signed-off-by: Nicolas Iooss <nicolas.iooss@ledger.fr>
  • Loading branch information
niooss-ledger authored and William Roberts committed Jan 5, 2022
1 parent 247de69 commit e8f85e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fi
# Pip version 21.3 was broken with in-pace (-e) installs. Thus use something
# after it as it was fixed in 21.3.1
#
python3 -m pip install --user --upgrade pip>21.3
python3 -m pip install --user --upgrade 'pip>21.3'

#
# Install Python Development Dependencies
Expand Down

0 comments on commit e8f85e0

Please sign in to comment.