Skip to content

[Question] uv build seems to be unable to find packages that poetry build finds #4890

Closed Answered by goajos
goajos asked this question in Q&A
Discussion options

You must be logged in to vote

edit:
just to recap. this issue is not related solely on the flet[all] dependency. but how uv solves it dependencies. in a clean repo uv install + uv run flet build will still cause a ModuleNotFoundError with "flet == 0.26.0". it seems that there is something wrong with how uv solves the dependencies. switching to poetry instead of uv will solve the issue properly.

the issue is related to the dependencies = [
"flet[all]==0.26.0",
"SQLAlchemy==2.0.36"
]

flet[all], replacing this with only flet will solve the issue and enable uv build.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by goajos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
1 participant