Skip to content
New issue

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

Allow workspaces to specify member search root #1294

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

b-phi
Copy link

@b-phi b-phi commented Jul 29, 2024

There are a few related issues and open PRs #856, #1074, #1023.

For my use case, I think current limitation with workspace can be boiled down to this example. Given a "flat" monorepo structure like so. If foo and bar both depend on utils, but otherwise have conflicting dependencies, there is no way to configure a workspace properly in the root pyproject.toml .

libs
├── bar
│   ├── pyproject.toml
│   └── src
├── foo
│   ├── pyproject.toml
│   └── src
└── utils
    ├── pyproject.toml
    └── src
pyproject.toml

This change would allow the following structure, or other approaches with multiple workspaces per repo.

libs
├── bar
│   ├── pyproject.toml
│   └── src
├── foo
│   ├── pyproject.toml
│   └── src
└── utils
    ├── pyproject.toml
    └── src
workspaces
├── bar
│   └── pyproject.toml
└── foo
    └── pyproject.toml

My rust is quite rusty, sorry in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant