jdx / mise

dev tools, env vars, task runner
https://mise.jdx.dev
MIT License
8.85k stars 239 forks source link

Add `without_pip` option to `_.python.venv` #1720

Open sbidoul opened 5 months ago

sbidoul commented 5 months ago

Hi,

The new _.python.venv mechanism sounds very good.

Would it make sense to add a without_pip option for creation, mirroring python -m venv --without-pip ?

Virtual environment without pip are viable nowadays, since pip has a --python option.

Aeron commented 5 months ago

It’s particularly viable when pip is not used at all. Because uv is upon us and all that 😄

nickchomey commented 2 months ago

Yes, I would like this as well. And to revisit the possibility of using rye, which uses uv under the hood because rye is now being developed by astral - the well-backed creators of ruff, uv etc... It seems to me that they'll be the one-stop shop for python, if they aren't already.