You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are getting warnings: warning: VIRTUAL_ENV=/home/runner/work/my_repo/my_proj/.venv does not match the project environment path .venv and will be ignored
The VIRTUAL_ENV seems to be pointing to wrong place which is not under the defined pyproject:
which was recently changed here #224 But that PR is not considering that the VIRTUAL_ENV should be relative to the defined pyproject-file directory, right?
The text was updated successfully, but these errors were encountered:
MarkusSintonen
changed the title
VIRTUAL_ENV is set to wrong directory which is not relative to given pyproject-fileVIRTUAL_ENV is set to wrong directory when using pyproject-file config
Jan 22, 2025
When I implemented the pyproject-file input I was not thinking about monorepos.
How should this anyways work with projects having multiple sub-pyprojects?
tl;dr: It doesn't.
This action needs breaking changes in order to fix this bug. Might take me a while to find a way which doesn't lead to more breaking changes a few weeks after...
We are getting warnings:
warning: VIRTUAL_ENV=/home/runner/work/my_repo/my_proj/.venv does not match the project environment path .venv and will be ignored
The
VIRTUAL_ENV
seems to be pointing to wrong place which is not under the defined pyproject:Shouldnt the
VIRTUAL_ENV
in this case be pointing toVIRTUAL_ENV=/home/runner/work/my_repo/my_proj/my_subproject/.venv
?Issue seems to be originating here
setup-uv/src/setup-uv.ts
Line 165 in 2098017
VIRTUAL_ENV
should be relative to the definedpyproject-file
directory, right?The text was updated successfully, but these errors were encountered: