We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uv init
workspace.exclude
Here is the root package:
[project] name = "work" version = "0.1.0" description = "Add your description here" readme = "README.md" dependencies = [] [tool.uv] dev-dependencies = [] [tool.uv.workspace] exclude = ['pkg-*']
Within the root package, we create a sub-package pkg-a, it is added to the workspace members, despite it should be excluded:
pkg-a
$ uv init pkg-a Adding pkg-a as member of workspace E:\tmp\work Initialized project pkg-a in E:\tmp\work\pkg-a $ cat pyproject.toml [project] name = "work" version = "0.1.0" description = "Add your description here" readme = "README.md" dependencies = [] [tool.uv] dev-dependencies = [] [tool.uv.workspace] exclude = ['pkg-*'] members = ["pkg-a"]
The text was updated successfully, but these errors were encountered:
I'm here anyway so will fix.
Sorry, something went wrong.
Respect exclusions in uv init (#5318)
2f768b8
## Summary Avoid adding to the workspace. Closes #5254.
charliermarsh
Successfully merging a pull request may close this issue.
Here is the root package:
Within the root package, we create a sub-package
pkg-a
, it is added to the workspace members, despite it should be excluded:The text was updated successfully, but these errors were encountered: