-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Failed to spawn the python child process: The system cannot find the file specified.
#1988
Comments
I think the issue is related to #1779 The For now, you can work around it by creating a virtual env instead of pointing |
See astral-sh/uv#1988 Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
I'm still getting this error with the newest version of uv. |
Do you mean 0.1.11 or the main branch? |
0.1.11 |
Charlie's changes have not been released yet. Please create a new issue if you're still experience issues with the new version that we release soon and include more details: What commands did you run? What's your operating system? What package do you use, etc. |
Get it! Thanks for your great work! |
* Rename ill-named CI check for docs Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Use uv to accelerate dependency installation on CI Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Use smaller dataset for Hugging Face doctest Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Fix pytest invokation on Windows See astral-sh/uv#1988 Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Definitive fix to Hugging Face doctest Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Trigger CI Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Debug Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Bump to next uv version * Restore pytest invokation * Upgrade to latest version of uv * Fix pyproject.toml * Make docs check plugin-specific Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> --------- Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
* Rename ill-named CI check for docs Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Use uv to accelerate dependency installation on CI Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Use smaller dataset for Hugging Face doctest Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Fix pytest invokation on Windows See astral-sh/uv#1988 Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Definitive fix to Hugging Face doctest Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Trigger CI Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Debug Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> * Bump to next uv version * Restore pytest invokation * Upgrade to latest version of uv * Fix pyproject.toml * Make docs check plugin-specific Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> --------- Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com> Signed-off-by: tgoelles <thomas.goelles@gmail.com>
Still not able to provide a minimal reproducer, but I'm putting this here in case it helps other folks.
I'm trying to replace
pip
withuv pip
on my CI and I've been mostly successful, with the exception on Windows. There I'm getting an error like this:this is despite
pytest
being present, as can be seen with auv pip freeze
right before.See https://github.com/kedro-org/kedro-plugins/actions/runs/8052616036/job/21993159176 for an example of this.
The way I fixed it is by replacing
pytest
withpython -m pytest
.I added a
type ${Python_ROOT_DIR}\\Scripts\\pytest
to understand what's there, see https://github.com/kedro-org/kedro-plugins/actions/runs/8053504403/job/21996069725?pr=569I'm using
uv==0.1.11
, released minutes ago.I'm unfamiliar with how scripts are created on Windows, is
uv
doing anything special here?The text was updated successfully, but these errors were encountered: