GitHub
01/17/2025, 8:58 PMpip available in uv-created venvs for backwards-compatibility
Issue created by ReubenFrankel
Feature scope
Configuration (settings parsing, validation, etc.)
Description
I'm trying out uv as a venv backend, and it has been great up until running the notebook utility. Some of our notebooks contain an initial cell to pip install dependencies to the venv - with uv, this no longer works properly because pip isn't bundled with the venv, so dependencies are installed to the system Python instead and then cannot be imported later on in the context of the venv Python. I'm keen to avoid uv as a direct dependency of our notebooks, so I've been looking at other ways to work around this issue. There is a --seed option for uv venv that would make pip available in the venv, but this does seem to slow down venv creation a bit, so I can see why this isn't the default in the Meltano implementation. Is there any way to make this configurable, or an alternative approach that might work?
Related to astral-sh/uv#7655, which proposes exposing UV_VENV_SEED (or similar) to control venv seeding via an environment variable.
meltano/meltanoGitHub
01/17/2025, 8:58 PMpip available in uv-created venvs for backwards-compatibility
Issue closed as not planned by edgarrmondragon
meltano/meltano