From a85447aabef3811ff4b205da99aeaa7c7b5dda02 Mon Sep 17 00:00:00 2001 From: Ing Date: Sun, 29 Dec 2024 11:46:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20pip=20=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=20urllib3=20=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issues.yml | 2 +- files/initrd/opt/rr/include/functions.py | 2 +- localbuild.sh | 2 +- scripts/requirements.txt | 1 - sourcebuild.sh | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index 6e32a863..382651b1 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -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. ##) diff --git a/files/initrd/opt/rr/include/functions.py b/files/initrd/opt/rr/include/functions.py index 61ced3a4..deb3a8ec 100644 --- a/files/initrd/opt/rr/include/functions.py +++ b/files/initrd/opt/rr/include/functions.py @@ -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 diff --git a/localbuild.sh b/localbuild.sh index b31ae693..02076dc5 100755 --- a/localbuild.sh +++ b/localbuild.sh @@ -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 diff --git a/scripts/requirements.txt b/scripts/requirements.txt index 165ee46c..e782786e 100644 --- a/scripts/requirements.txt +++ b/scripts/requirements.txt @@ -3,7 +3,6 @@ click kmodule requests requests-toolbelt -urllib3 openpyxl qrcode[pil] beautifulsoup4 \ No newline at end of file diff --git a/sourcebuild.sh b/sourcebuild.sh index 7bb442bb..bf1e6334 100755 --- a/sourcebuild.sh +++ b/sourcebuild.sh @@ -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 #