Skip to content

Commit d2063fe

Browse files
committed
Using uv and python 3.13 for release
1 parent 75bdce6 commit d2063fe

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

common/hiddify_installer.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,6 @@ function update_panel() {
150150
fi
151151
;;
152152
release)
153-
#TODO release should change to 3.13
154-
install_python310
155153
activate_python_venv
156154
# error "you can not install release version 8 using this script"
157155
# exit 1
@@ -164,7 +162,8 @@ function update_panel() {
164162
update_progress "Updating..." "Hiddify Panel from $current_panel_version to $latest" 10
165163
# pip3 install -U hiddifypanel==$latest
166164
disable_panel_services
167-
pip install -U wheel hiddifypanel
165+
disable_panel_services
166+
uv pip install -U --pre hiddifypanel
168167
update_progress "Updated..." "Hiddify Panel to $latest" 50
169168
return 0
170169
fi
@@ -334,7 +333,7 @@ fi
334333

335334

336335
export USE_VENV=310
337-
if [[ " $@ " == *" dev "* || " $@ " == *" docker "* || " $@ " == *" develop "* || " $@ " == *" beta "* ]];then
336+
if [[ " $@ " == *" dev "* || " $@ " == *" docker "* || " $@ " == *" develop "* || " $@ " == *" beta "* || " $@ " == *" release "* ]];then
338337
export USE_VENV=313
339338
fi
340339

common/utils.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,11 +615,11 @@ function check_venv_compatibility() {
615615
;;
616616
beta)
617617
# Beta is always venv compatible
618-
USE_VENV=310
618+
USE_VENV=313
619619
;;
620620
release)
621621
# Get the latest release version
622-
USE_VENV=310
622+
USE_VENV=313
623623
;;
624624
*)
625625
echo "Unknown package mode: $package_mode"

0 commit comments

Comments
 (0)