abundant-tent-27407
12/02/2025, 2:52 PMpoetry_requirements would produce a bunch of targets such as //:root#aiohttp but that doesn't seem to be the case with uv_requirements. Therefore I am getting this error:
InvalidFieldException: Unused key in the `overrides` field for //:root: ['fastapi', 'redis']
Target in threadabundant-tent-27407
12/02/2025, 2:52 PMuv_requirements(
name="root",
module_mapping={
"opentelemetry-sdk": ["opentelemetry"],
"hubspot-api-client": ["hubspot"],
"office365-rest-python-client": ["office365"],
"py3-wkhtmltopdf": ["wkhtmltopdf"],
"python-magic": ["magic"],
},
overrides={
"fastapi": {
"dependencies": [
"//:root#aiohttp",
"//:root#orjson",
],
},
"redis": {"dependencies": ["//:root#async-timeout"]},
},
)busy-ram-14533
12/03/2025, 6:21 PMpython_requirements target pointed at pyproject.toml? I think uv works well with dependencies in the normal [project.dependencies] tablebrief-scientist-13682
12/03/2025, 6:22 PMuv_requirements really means uv_dev_requirements only, its implementation for that is out of date since uv has long since switched to the standard `[dependency-groups] dev = [...]`: https://docs.astral.sh/uv/concepts/projects/dependencies/#development-dependenciesbrief-scientist-13682
12/03/2025, 6:23 PMuv_requirements is a pure misfeature landmine hazing ritual prank. It should probably be renamed to uv_legacy_dev_requirements_only_not_project_requirements .