facebook / facebook/pyrefly

Issues with monorepo structure - dependencies in .venv not resolved

Open
#3,788 12 comments 0 reactions 0 assignees View on GitHub
configuration question stale
Dominant language
Rust
Stars
7k
Forks
516
PR merge metrics
No merged PRs in 30d

Description

### Describe the Bug

I have a monorepo (using vscode multi root project structure) setup similar in structure to this example I have made: https://github.com/mstaal/monorepo-sample. I want to able to use pyrefly as language server for this.

I have made a global `pyrefly.toml` file at the root level of the monorepo for pyrefly to locate my projects and libraries. However, with this setup pyrefly cannot resolve installed dependencies from 3rd parties. See picture.

Image

Image

### Sandbox Link

_No response_

### (Only applicable for extension issues) IDE Information

VSCode on macOS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.