In a recent fix for #4500 you changed the operator genereated script from using hard coded paths with python3.11 to python3.12.
Is it really necessary to hard code any python version in that script?
I suggest something like this:
PGADMIN_DIR=$(python3 -c "import pgadmin4; print(pgadmin4.__spec__.submodule_search_locations[0])")
In a recent fix for #4500 you changed the operator genereated script from using hard coded paths with python3.11 to python3.12.
Is it really necessary to hard code any python version in that script?
I suggest something like this:
PGADMIN_DIR=$(python3 -c "import pgadmin4; print(pgadmin4.__spec__.submodule_search_locations[0])")