sumerc / yappi

Yet Another Python Profiler, but this time multithreading, asyncio and gevent aware.
MIT License
1.45k stars 73 forks source link

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

Open SergioK29 opened 1 week ago

SergioK29 commented 1 week ago
  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

sumerc commented 6 days ago

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.