(feat)Python CLI: Switch from Poetry to UV for python package management#3410
(feat)Python CLI: Switch from Poetry to UV for python package management#3410MonkeyCanCode merged 5 commits intoapache:mainfrom
Conversation
kevinjqliu
left a comment
There was a problem hiding this comment.
generally lgtm, i would double check the build artifacts to make sure that its the same as packaged previously using poetry. That tripped us up during the pyiceberg migration
Yes, I did that earlier. Most of them are same except wheel one doesn't have the root level init.py (which is fine). One thing caught me earlier was spec as that got excluded from hatch build due to we have spec in gitignore. |
dimas-b
left a comment
There was a problem hiding this comment.
LGTM, but please wait for more reviews from people who deal with our python CLI more regularly than me :)
HonahX
left a comment
There was a problem hiding this comment.
LGTM! And feel free to ignore my previous comment about getting-started example. It turns out I am still on the old image....
ha i ran into this recently too. adding the |
|
thanks for the review @kevinjqliu, @HonahX , and @dimas-b . @dimas-b any last concern before I merge this one? |


Per discussion in https://lists.apache.org/thread/2hlh3rvmgo7ol3qn08xmyf85grck2p35, team preferred
uvoverpoetry. Couple major changes with this PR:For the next PR, we can do more cleanup to remove unnecessary code/scripts around virtualenv management and let uv handles those natively if preferred. Currently, it is backward compatible as existed one in term of how to invoke the CLI and run docker-compose.
Checklist
CHANGELOG.md(if needed)site/content/in-dev/unreleased(if needed)