mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 07:02:50 +01:00
chore: enforce stricter python version
Mirror to Codeberg / mirror-to-codeberg (push) Has been cancelled
Mirror to Codeberg / mirror-to-codeberg (push) Has been cancelled
This commit is contained in:
1 parent
a418bcfb90
commit
5bce8709af
2 files changed
+3
-2
No files matched your search
@@ -3,6 +3,7 @@
|
|||||||
## [6.0.1-beta.2] 2025-11-10
|
## [6.0.1-beta.2] 2025-11-10
|
||||||
## Fixed
|
## Fixed
|
||||||
- Python 3.14 error in finally block
|
- Python 3.14 error in finally block
|
||||||
|
- Require Python version between 3.11 and 3.12
|
||||||
|
|
||||||
## [6.0.1-beta.1] 2025-11-05
|
## [6.0.1-beta.1] 2025-11-05
|
||||||
## Fixed
|
## Fixed
|
||||||
|
|||||||
@@ -239,8 +239,8 @@ depcheck(){
|
|||||||
check_pyver(){
|
check_pyver(){
|
||||||
local pyver=$(python3 --version | awk '{print $2}')
|
local pyver=$(python3 --version | awk '{print $2}')
|
||||||
local minor=$(<<< $pyver awk -F. '{print $2}')
|
local minor=$(<<< $pyver awk -F. '{print $2}')
|
||||||
if [[ -z $pyver ]] || [[ ${pyver:0:1} -lt 3 ]] || [[ $minor -lt 10 ]]; then
|
if [[ -z $pyver ]] || [[ ${pyver:0:1} -lt 3 ]] || [[ $minor -lt 11 ]] || [[ $minor -gt 12 ]]; then
|
||||||
local msg="Requires Python >=3.10"
|
local msg="Requires Python 3.11 or 3.12"
|
||||||
raise_error_and_quit "$msg"
|
raise_error_and_quit "$msg"
|
||||||
fi
|
fi
|
||||||
logger INFO "Found Python version: $pyver"
|
logger INFO "Found Python version: $pyver"
|
||||||
|
|||||||
Reference in new issue
Block a user