Skip to content

PyPy support #34

@itamarst

Description

@itamarst

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions