3 ms·
What you mean by "project" is a service. A service includes the Python interpreter. Choosing and provisioning the interpreter seems out of scope for pip or any
by globular-toast 2y ago
What you mean by "project" is a service. A service includes the Python interpreter. Choosing and provisioning the interpreter seems out of scope for pip or any other Python-specific tooling IMO. What if your service needs another interpreter like Ruby, or a database, message broker etc? Your Python tool won't help with that. This is what docker, and higher-level orchestrators like docker compose and kubernetes, and pyinstaller are for.
- wodenokoto 2y ago> Choosing and provisioning the interpreter seems out of scope for pip or any other Python-specific tooling IMO. It's in-scope for Rye and hatch. And I agree with that choice. Choosing a python version is as integral a dependency as choosing a version of numpy.
- globular-toast 2y agoSure, but you can only document that choice in your pyproject.toml, which is well-established. You have no idea how someone is going to provide that interpreter. You don't know what OS or how to provision an interpreter. If you are the person provisioning that interpreter then just use the tools you already know, not yet another tool to do basic stuff like install an interpreter.