As far as I understood, the bench now uses uv as python version and package manager. It is added as a dependency for bench
https://github.com/frappe/bench/blob/5107f1df45eb5f780a54073d027cab7442a39b46/pyproject.toml#L31C1-L31C17
Docker images in this repo uses pyenv, as seen here,
https://github.com/frappe/frappe_docker/blob/99d9a1dc385d8a0660a67b0cbbfeac3d5229e58c/images/bench/Dockerfile#L101C1-L105C49
I think this is going to create conflicts, as both are trying to manage the python version.
My suggestions,
- Images should be migrated to
uv, since it is a hard dependency by bench. So remove the pyenv from Dockerfile.
- Version and Python environment must be set with
uv instead of pyenv.
As far as I understood, the bench now uses
uvas python version and package manager. It is added as a dependency for benchhttps://github.com/frappe/bench/blob/5107f1df45eb5f780a54073d027cab7442a39b46/pyproject.toml#L31C1-L31C17
Docker images in this repo uses
pyenv, as seen here,https://github.com/frappe/frappe_docker/blob/99d9a1dc385d8a0660a67b0cbbfeac3d5229e58c/images/bench/Dockerfile#L101C1-L105C49
I think this is going to create conflicts, as both are trying to manage the python version.
My suggestions,
uv, since it is a hard dependency bybench. So remove thepyenvfrom Dockerfile.uvinstead ofpyenv.