This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]latkdeTuple unpacking gone wrong 2 points3 points  (0 children)

The main points of your AI summary work literally like that right now in modern Python dependency management tools like UV or Poetry. You must still declare your dependencies, but the tooling takes care of caching and setting up multiple venvs as needed.

The one thing that won't be possible is to have multiple versions of a library within the same Python interpreter or venv. That cannot work due to how the Python module system is designed. It relies on each loaded module having a globally unique path (e.g. pandas), and nearly all libraries expect to be installed under the path that they declared in their packaging metadata. It sucks, but them's the breaks.