← Back to context

Comment by 9dev

1 month ago

Why would you even use python without uv anymore, and have a system python binary and virtual envs linked to it?

> Why would you even use python without uv anymore

Probably wouldn't:

https://mise.jdx.dev/mise-cookbook/python.html#mise-uv

> have a system python binary and virtual envs linked to it

I'm not sure if you're saying avoid using system python?

In my experience so far, you never want to develop complex software locked to system versions of runtimes. Too often you need a bleeding edge feature, or conversely need to postpone updating due to needing an old version for some reason.

  • Old Mise user too.

    Now that PNPM supports managing runtimes [0], I found that most of Mise's offerings are actually built into package managers. Maybe I will have it graduates from my machine when I have time.

    [0]: https://pnpm.io/cli/runtime

    • That's the beauty of asdf and then mise; they leverage existing solutions where possible, and unify how to get versioned runtimes for projects. Rust? rustup with mise, ruby? Precompiled when possible, otherwise ruby-build. Etc.

      I'm not sure if I trust or want pnpm to support bundling rust for binary plugins, or various sundry toolchains.

      But use what works for you.

  • > I'm not sure if you're saying avoid using system python?

    That's what I'm saying, yes. System python should be treated as a REPL for interactive shell scripting and otherwise ignored entirely.

Python might be just one of the languages required by the dev stack not the only language. Mise is the right tool for the job.

  • True, but Python is the one with an env management system (virtual environments) which is the most prone to breakage for projects that depend on system Python.

    Uv is far superior to both Mise and Homebrew for Python work, and I find that it removes the vast majority of pain preventing me from using Homebrew by default for most things, and Mise only occasionally for specific dev envs. Mise is a great tool though!

  • Last time I checked, Mise is still a one-man show. That’s way too risky for a critical party of my supply chain for my taste.

    • this makes no sense to me, the reason i don't give anyone else the commit bit is only to _protect_ the supply chain. you should want as few people with that access as possible.

      4 replies →

    • So is sudo... And that's not "too risky" for the entire industry.

      That's not to say bus factor is irrelevant (I personally think about it a lot when choosing software projects), but truthfully the bus factor here especially doesn't matter much, as mise is an easy tool to replace (with asdf, for example) if something goes wrong with it eventually.

      I highly recommend trying it out. I resisted using it for some time, but it solved some pain points I had with NodeJS, Ruby, and Python regarding installation.

      2 replies →