<#127 with_uv_project doesnt support extras in uv....
# flyte-github
a
#127 with_uv_project doesnt support extras in uv.lock Pull request opened by cosmicBboy As a user, I want to install optional dependencies in my
uv.lock
file. Given the following
pyproject.toml
file: readme = "README.md" requires-python = ">=3.12" dependencies = [ "flyte>=2.0.0b17", "requests", "numpy", ] [project.optional-dependencies] pandas = ["pandas"] I want to install the
pandas
optional dependency
Copy code
flyte.Image.from_debian_base(registry="<http://docker.io/nielsbantilan|docker.io/nielsbantilan>").
with_uv_project(
    pyproject_file=pathlib.Path("pyproject.toml"),
    extras=["pandas"],
    pre=True,
)
flyteorg/flyte-sdk