yappi icon indicating copy to clipboard operation
yappi copied to clipboard

doesn't work for pypy v.7.3.17 (python 3.10)

Open SergioK29 opened this issue 1 year ago • 1 comments
trafficstars

  Using cached yappi-1.6.0.tar.gz (59 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: yappi
  Building wheel for yappi (pyproject.toml): started
  Building wheel for yappi (pyproject.toml): finished with status 'error'
Failed to build yappi

  error: subprocess-exited-with-error
  
  × Building wheel for yappi (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [9 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-pypy310
      copying yappi\yappi.py -> build\lib.win-amd64-pypy310
      running build_ext
      building '_yappi' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for yappi
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (yappi)

I know for a fact that visual c++ build tools and everything else needed is installed and setup correctly. I can also install yappi if I'm using regular cpython 3.9

SergioK29 avatar Sep 09 '24 13:09 SergioK29

I know for a fact that visual c++ build tools and everything else needed is installed and setup correctly.

In fact, this is not true anymore. We have wheels nearly for every OS.

However, yappi does not work with pypy.

sumerc avatar Sep 11 '24 10:09 sumerc