Get the latest tech news

Multiversion Python Thoughts


A braindump on how to make multi version in Python work.

Now that uv is rapidly advancing I have started to dive back into making multi-version imports for Python work. The goal here is to enable multiple resolutions from the solver in uv so that two incompatible versions of a library can be installed and used simultaniously. patch__import__ to resolve packages to their fully-qualified, multi version name based on who imports it via globals() for python code via stack-walking for C extensions (unless a better option is found)

Get the Android app

Or read this on Hacker News