Skip to content
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

Stopped working on windows #3

Closed
yuxiaolejs opened this issue Jan 10, 2025 · 3 comments
Closed

Stopped working on windows #3

yuxiaolejs opened this issue Jan 10, 2025 · 3 comments

Comments

@yuxiaolejs
Copy link
Contributor

For some reason, the action package failed to install on Windows starting Jan.10. Log suggests a uvloop problem since it does not support windows

error: subprocess-exited-with-error\r\n  \r\n  Getting requirements to build wheel did not run successfully.\r\n  exit code: 1\r\n  \r\n  [20 lines of output]\r\n  Traceback (most recent call last):\r\n    File \"C:\\Python313\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py\", line 353, in <module>\r\n      main()\r\n      ~~~~^^\r\n    File \"C:\\Python313\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py\", line 335, in main\r\n      json_out['return_val'] = hook(**hook_input['kwargs'])\r\n                               ~~~~^^^^^^^^^^^^^^^^^^^^^^^^\r\n    File \"C:\\Python313\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py\", line 118, in get_requires_for_build_wheel\r\n      return hook(config_settings)\r\n    File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-build-env-yc78wigp\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py\", line 334, in get_requires_for_build_wheel\r\n      return self._get_build_requires(config_settings, requirements=[])\r\n             ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n    File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-build-env-yc78wigp\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py\", line 304, in _get_build_requires\r\n      self.run_setup()\r\n      ~~~~~~~~~~~~~~^^\r\n    File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-build-env-yc78wigp\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py\", line 320, in run_setup\r\n      exec(code, locals())\r\n      ~~~~^^^^^^^^^^^^^^^^\r\n    File \"<string>\", line 8, in <module>\r\n  RuntimeError: uvloop does not support Windows at the moment\r\n  [end of output]\r\n  \r\n  note: This error originates from a subprocess, and is likely not a problem with pip.\r\nerror: subprocess-exited-with-error\r\n\r\nGetting requirements to build wheel did not run successfully.\r\nexit code: 1\r\n\r\nSee above for output.\r\n\r\nnote: This error originates from a subprocess, and is likely not a problem with pip.", "stderr_lines": ["error: subprocess-exited-with-error", "  ", "  Getting requirements to build wheel did not run successfully.", "  exit code: 1", "  ", "  [20 lines of output]", "  Traceback (most recent call last):", "    File \"C:\\Python313\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py\", line 353, in <module>", "      main()", "      ~~~~^^", "    File \"C:\\Python313\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py\", line 335, in main", "      json_out['return_val'] = hook(**hook_input['kwargs'])", "                               ~~~~^^^^^^^^^^^^^^^^^^^^^^^^", "    File \"C:\\Python313\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py\", line 118, in get_requires_for_build_wheel", "      return hook(config_settings)", "    File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-build-env-yc78wigp\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py\", line 334, in get_requires_for_build_wheel", "      return self._get_build_requires(config_settings, requirements=[])", "             ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "    File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-build-env-yc78wigp\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py\", line 304, in _get_build_requires", "      self.run_setup()", "      ~~~~~~~~~~~~~~^^", "    File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-build-env-yc78wigp\\overlay\\Lib\\site-packages\\setuptools\\build_meta.py\", line 320, in run_setup", "      exec(code, locals())", "      ~~~~^^^^^^^^^^^^^^^^", "    File \"<string>\", line 8, in <module>", "  RuntimeError: uvloop does not support Windows at the moment", "  [end of output]", "  ", "  note: This error originates from a subprocess, and is likely not a problem with pip.", "error: subprocess-exited-with-error"
@yuxiaolejs
Copy link
Contributor Author

A deptree of action package shows that uvloop is required by litellm [required: ~=1.55, installed: 1.57.5].

@yuxiaolejs
Copy link
Contributor Author

A bit of investigation show that this pull request introduced the problem: BerriAI/litellm#7662

@yuxiaolejs
Copy link
Contributor Author

Fixed in ddead4e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant