Skip to content

Commit

Permalink
移除 pip 安装中的 urllib3 依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
wjz304 committed Dec 29, 2024
1 parent 2433043 commit a85447a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
Issue:
logs:
logs:
(## 因为 log中存在 SN/MAC 等一些敏感信息, 当提供完整文件时请自行抹除他们, 当然你也可以发送到我的邮箱. ##)
(## Because the log contains some sensitive information such as SN/MAC, please delete them when providing the complete file. Of course, you can also send it to my email. ##)
Expand Down
2 changes: 1 addition & 1 deletion files/initrd/opt/rr/include/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#
# # Backup the original python3 executable.
# sudo mv -f "$(realpath $(which python3))/EXTERNALLY-MANAGED" "$(realpath $(which python3))/EXTERNALLY-MANAGED.bak" 2>/dev/null || true
# sudo pip3 install -U click requests requests-toolbelt urllib3 qrcode[pil] beautifulsoup4
# sudo pip3 install -U click requests requests-toolbelt qrcode[pil] beautifulsoup4

import os, click

Expand Down
2 changes: 1 addition & 1 deletion localbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function create() {

# Backup the original python3 executable.
sudo mv -f "$(realpath $(which python3))/EXTERNALLY-MANAGED" "$(realpath $(which python3))/EXTERNALLY-MANAGED.bak" 2>/dev/null || true
sudo pip3 install -U click requests requests-toolbelt urllib3 qrcode[pil] beautifulsoup4
sudo pip3 install -U click requests requests-toolbelt qrcode[pil] beautifulsoup4

sudo locale-gen ar_SA.UTF-8 de_DE.UTF-8 en_US.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 ja_JP.UTF-8 ko_KR.UTF-8 ru_RU.UTF-8 th_TH.UTF-8 tr_TR.UTF-8 uk_UA.UTF-8 vi_VN.UTF-8 zh_CN.UTF-8 zh_HK.UTF-8 zh_TW.UTF-8

Expand Down
1 change: 0 additions & 1 deletion scripts/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ click
kmodule
requests
requests-toolbelt
urllib3
openpyxl
qrcode[pil]
beautifulsoup4
2 changes: 1 addition & 1 deletion sourcebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#
# # Backup the original python3 executable.
# sudo mv -f "$(realpath $(which python3))/EXTERNALLY-MANAGED" "$(realpath $(which python3))/EXTERNALLY-MANAGED.bak" 2>/dev/null || true
# sudo pip3 install -U click requests requests-toolbelt urllib3 qrcode[pil] beautifulsoup4
# sudo pip3 install -U click requests requests-toolbelt qrcode[pil] beautifulsoup4
#
# sudo locale-gen ar_SA.UTF-8 de_DE.UTF-8 en_US.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 ja_JP.UTF-8 ko_KR.UTF-8 ru_RU.UTF-8 th_TH.UTF-8 tr_TR.UTF-8 uk_UA.UTF-8 vi_VN.UTF-8 zh_CN.UTF-8 zh_HK.UTF-8 zh_TW.UTF-8
#
Expand Down

0 comments on commit a85447a

Please sign in to comment.