fix(python): remove pin to setuptools, pin python version (#4395)

fix(setuptools): remove pin

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-12-16 10:55:02 +01:00 committed by GitHub
parent 037e8030bf
commit 7ca0e2d925
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 18 additions and 14 deletions

View file

@ -17,6 +17,9 @@
# LIMIT_TARGETS="cublas12"
# source $(dirname $0)/../common/libbackend.sh
#
PYTHON_VERSION="3.10"
function init() {
# Name of the backend (directory name)
BACKEND_NAME=${PWD##*/}
@ -88,7 +91,7 @@ function getBuildProfile() {
# always result in an activated virtual environment
function ensureVenv() {
if [ ! -d "${EDIR}/venv" ]; then
uv venv ${EDIR}/venv
uv venv --python ${PYTHON_VERSION} ${EDIR}/venv
echo "virtualenv created"
fi