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

PyPy support #34

Open
itamarst opened this issue May 14, 2024 · 0 comments
Open

PyPy support #34

itamarst opened this issue May 14, 2024 · 0 comments

Comments

@itamarst
Copy link

Tried it out just now, and:

  INTERNALERROR> Traceback (most recent call last):
  INTERNALERROR>   File "/opt/hostedtoolcache/PyPy/3.10.13/x64/lib/pypy3.10/site-packages/pytest_codspeed/_wrapper/__init__.py", line 34, in get_lib
  INTERNALERROR>     from .dist_callgrind_wrapper import lib  # type: ignore
  INTERNALERROR> ModuleNotFoundError: No module named 'pytest_codspeed._wrapper.dist_callgrind_wrapper'
  INTERNALERROR> 
  INTERNALERROR> The above exception was the direct cause of the following exception:
  INTERNALERROR> 
  INTERNALERROR> Traceback (most recent call last):
  INTERNALERROR>   File "/opt/hostedtoolcache/PyPy/3.10.13/x64/lib/pypy3.10/site-packages/_pytest/main.py", line 281, in wrap_session
  INTERNALERROR>     config._do_configure()
  INTERNALERROR>   File "/opt/hostedtoolcache/PyPy/3.10.13/x64/lib/pypy3.10/site-packages/_pytest/config/__init__.py", line 1130, in _do_configure
  INTERNALERROR>     self.hook.pytest_configure.call_historic(kwargs=dict(config=self))
  INTERNALERROR>   File "/opt/hostedtoolcache/PyPy/3.10.13/x64/lib/pypy3.10/site-packages/pluggy/_hooks.py", line 535, in call_historic
  INTERNALERROR>     res = self._hookexec(self.name, self._hookimpls.copy(), kwargs, False)
  INTERNALERROR>   File "/opt/hostedtoolcache/PyPy/3.10.13/x64/lib/pypy3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
  INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  INTERNALERROR>   File "/opt/hostedtoolcache/PyPy/3.10.13/x64/lib/pypy3.10/site-packages/pluggy/_callers.py", line 139, in _multicall
  INTERNALERROR>     raise exception.with_traceback(exception.__traceback__)
  INTERNALERROR>   File "/opt/hostedtoolcache/PyPy/3.10.13/x64/lib/pypy3.10/site-packages/pluggy/_callers.py", line 103, in _multicall
  INTERNALERROR>     res = hook_impl.function(*args)
  INTERNALERROR>   File "/opt/hostedtoolcache/PyPy/3.10.13/x64/lib/pypy3.10/site-packages/pytest_codspeed/plugin.py", line 73, in pytest_configure
  INTERNALERROR>     lib = get_lib() if should_measure else None
  INTERNALERROR>   File "/opt/hostedtoolcache/PyPy/3.10.13/x64/lib/pypy3.10/site-packages/pytest_codspeed/_wrapper/__init__.py", line 38, in get_lib
  INTERNALERROR>     raise Exception("Failed to compile the wrapper") from e
  INTERNALERROR> Exception: Failed to compile the wrapper
@art049 art049 changed the title codspeed doesn't work on PyPy at all PyPy support Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants