Hi Everyone, I am facing problems when trying to use uv for my environment on a kubernetes pod. I have attached an image of the error. Is this because I am using metaflow as a dependency and it's not a part of my actual project structure?
b
billions-memory-41337
12/04/2025, 5:33 PM
The README.md doesn't get automatically uploaded by metaflow in the code package, so when uv tries to build, the pyproject.toml says there is a README.md, but there really isn't in the pod, so it fails. The hacky workaround to get it running is to delete the readme line in your pyproject.toml
a
ancient-fish-13211
12/04/2025, 5:39 PM
Thanks, that seems to work now, I can deal without it 👍
b
billions-memory-41337
12/04/2025, 5:54 PM
To the metaflow maintainers, possibly not the cleanest solution, but it would be nice if the readme.md was added to the code package here if it's specified in the pyproject.toml since I've seen a few different groups get tripped up on this when onboarding to metaflow. Related thread on uv github issues as well that might lead to a different solution to this particular issue: https://github.com/astral-sh/uv/issues/6578