ITADN

`uv workspace list` minor bug ?

#20055Openchamalgomes 创建于 2026-06-29
bug
C
chamalgomescommented
### Summary I have the following root pyproject.toml which defines the uv workspace in the project root. ```toml [project] name = "proj-root" version = "9.3.1" requires-python = ">=3.14,<3.15" [tool.uv] required-version = "==0.11.25" workspace.members = [ "libs/*"] ``` The two uv workspace members contained within libs are as follows, (`libs/proj-a` and `libs/proj-b`) ```toml [project] name = "proj-a" version = "0.0.0" dependencies = [ "pandas", ] [build-system] requires = ["uv_build==0.11.25"] build-backend = "uv_build" ``` ```toml [project] name = "proj-b" version = "0.0.0" dependencies = [ "numpy", ] [build-system] requires = ["uv_build==0.11.25"] build-backend = "uv_build" ``` ## Issue/Question When I run the command `uv workspace list`, imo it should only list `proj-a` and `proj-b` no ? At the moment it also lists `proj-root`, is this expected or a bug ? My reasoning is that in the root pyproject.toml, I have not defined a build system, hence do not expect it to be picked up as a uv workspace member/package. Understand it still a preview feature so thought of flagging it as it is certainly a very useful command when it comes to managing ci pipelines :) ### Platform Ubuntu ### Version 0.11.25 ### Python version 3.14
1 条评论