Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use compat mode when uv installing editable packages in make dev_inst…
…all (#24029) ## Summary & Motivation After wiping my pyright & base virtual envs, I was unable to get pyright working, hitting [strange errors that dagster imports were not found](https://dagsterlabs.slack.com/archives/C03A0D72A6T/p1724874346772169): ```python /Users/ben/repos/dagster/python_modules/libraries/dagster-shell/dagster_shell/__init__.py: 1:5: Import "dagster._core.libraries" could not be resolved (reportMissingImports) ``` Some Googling turned up that there are [multiple ways to install editable packages](astral-sh/uv#3898) & the default behavior of `uv pip install` is to not install packages in compat mode, which pyright requires. We [explicitly opt in in our pyright venv building code](https://github.com/dagster-io/dagster/blob/master/scripts/run-pyright.py#L304), but I'm wondering if my base editable installs not using compat mode has some bleed-over to my pyright venv (e.g. the editable install is shared)? Either way, making this change, rerunning `make dev_install` and then rerunning `make rebuild_pyright` seemed to fix my issues. ## Changelog [Bug] `NOCHANGELOG`
- Loading branch information