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

fix(ci): pip installation failures #11661

Closed
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/doc-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
./utils/check-category.py
- name: check Chinese doc
run: |
sudo pip3 install zhon
sudo pip3 install zhon --break-system-packages
./utils/fix-zh-doc-segment.py > \
/tmp/check.log 2>&1 || (cat /tmp/check.log && exit 1)
if grep "find broken newline in file: " /tmp/check.log; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4
- name: spell check
run: |
pip install codespell==2.1.0
pip install codespell==2.1.0 --break-system-packages
# codespell considers some repo name in go.sum are misspelled
git grep --cached -l '' | grep -v go.sum |xargs codespell --ignore-words=.ignore_words
- name: Merge conflict
Expand Down
2 changes: 1 addition & 1 deletion ci/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ set_coredns() {

# override DNS configures
if [ -f "/etc/netplan/50-cloud-init.yaml" ]; then
sudo pip3 install yq
sudo pip3 install yq --break-system-packages

tmp=$(mktemp)
yq -y '.network.ethernets.eth0."dhcp4-overrides"."use-dns"=false' /etc/netplan/50-cloud-init.yaml | \
Expand Down
Loading