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
Install nox using MSYS2 Python. (Use setup-msys2 action to create an environment on Github actions.)
session.install(<anything>) will fail, with errors such as the following:
nox > Error: python is not installed into the virtualenv, it is located at D:/a/_temp/msys64/mingw64/bin/python.EXE. Pass external=True into run() to explicitly allow this.
I tried to use --no-error-on-external-run flag to workaround this, but it looks like the implementation of session.install hard forces external="error" so this makes it a hard blocker.
Expected Behavior
nox is able to install required dependencies into the virtualenv.
I think it's because nox is expecting the virtualenv bin dir to be Scripts (to match the rest of the windows ecosystem) but msys2 virtualenv creates it as bin.
Current Behavior
Install
nox
using MSYS2 Python. (Use setup-msys2 action to create an environment on Github actions.)session.install(<anything>)
will fail, with errors such as the following:I tried to use
--no-error-on-external-run
flag to workaround this, but it looks like the implementation ofsession.install
hard forcesexternal="error"
so this makes it a hard blocker.Expected Behavior
nox
is able to install required dependencies into the virtualenv.Steps To Reproduce
See https://github.com/davidhewitt/msys2-nox-repro for a minimal repro to set up an environment in Github actions which reproduces this failure.
Failing run is e.g. https://github.com/davidhewitt/msys2-nox-repro/runs/7296705086?check_suite_focus=true
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: