Workaround for uv/uvx future import bug
2025-06-25 Python, uvThe uv and uvx tools have a very particular way to make virtual environments relocateable: they replace the shebang in python scripts with some polyglot magic, so that the executable is both a valid bash script and a python script at the same time. Unfortunately this breaks with a SyntaxError if the original script uses from future import ... in certain ways. The bug is known and documented in Issue #6489 but unresolved since August 2024. There is a workaround, tough.