-
Notifications
You must be signed in to change notification settings - Fork 81
CI failed on Windows #97
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
Comments
|
I added the Windows CI with skipping those tests. |
I'm experiencing the same issue now in 2025 on Windows. Doing a command with Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "D:\my_project\.venv\Lib\site-packages\pyperf\__main__.py", line 769, in <module>
main()
File "D:\my_project\.venv\Lib\site-packages\pyperf\__main__.py", line 765, in main
func()
File "D:\my_project\.venv\Lib\site-packages\pyperf\__main__.py", line 734, in cmd_bench_command
runner.bench_command(name, command)
File "D:\my_project\.venv\Lib\site-packages\pyperf\_runner.py", line 747, in bench_command
return self._main(task)
^^^^^^^^^^^^^^^^
File "D:\my_project\.venv\Lib\site-packages\pyperf\_runner.py", line 460, in _main
bench = self._worker(task)
^^^^^^^^^^^^^^^^^^
File "D:\my_project\.venv\Lib\site-packages\pyperf\_runner.py", line 434, in _worker
run = task.create_run()
^^^^^^^^^^^^^^^^^
File "D:\my_project\.venv\Lib\site-packages\pyperf\_worker.py", line 299, in create_run
self.compute()
File "D:\my_project\.venv\Lib\site-packages\pyperf\_command.py", line 70, in compute
raise RuntimeError("failed to get the process RSS")
RuntimeError: failed to get the process RSS
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "\.venv\Scripts\pyperf.exe\__main__.py", line 10, in <module>
File "D:\my_project\.venv\Lib\site-packages\pyperf\__main__.py", line 765, in main
func()
File "D:\my_project\.venv\Lib\site-packages\pyperf\__main__.py", line 734, in cmd_bench_command
runner.bench_command(name, command)
File "D:\my_project\.venv\Lib\site-packages\pyperf\_runner.py", line 747, in bench_command
return self._main(task)
^^^^^^^^^^^^^^^^
File "D:\my_project\.venv\Lib\site-packages\pyperf\_runner.py", line 465, in _main
bench = self._manager()
^^^^^^^^^^^^^^^
File "D:\my_project\.venv\Lib\site-packages\pyperf\_runner.py", line 678, in _manager
bench = Manager(self).create_bench()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\my_project\.venv\Lib\site-packages\pyperf\_manager.py", line 243, in create_bench
worker_bench, run = self.create_worker_bench()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\my_project\.venv\Lib\site-packages\pyperf\_manager.py", line 142, in create_worker_bench
suite = self.create_suite()
^^^^^^^^^^^^^^^^^^^
File "D:\my_project\.venv\Lib\site-packages\pyperf\_manager.py", line 132, in create_suite
suite = self.spawn_worker(self.calibrate_loops, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\my_project\.venv\Lib\site-packages\pyperf\_manager.py", line 118, in spawn_worker
raise RuntimeError("%s failed with exit code %s"
RuntimeError: D:\my_project\.venv\Scripts\python.exe failed with exit code 1 Other information:
I can confirm running the above command on Windows causes the error, while doing so on Mac or WSL succeeds. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: