dd-trace-py
dd-trace-py copied to clipboard
ddtrace does not build with pypy
I am attempting to use ddtrace with pypy 3.7. I can get it to build if I use ddtrace version 0.36.1, but anything newer than that fails. The following Dockerfile successfully builds ddtrace:
FROM pypy:3.7
RUN pip install ddtrace==0.36.1
However, the following Dockerfile fails to build:
FROM pypy:3.7
RUN pip install ddtrace
I believe the offending error for ddtrace 0.45.0 is the following:
ddtrace/profiling/collector/_memalloc.c:14:5: error: unknown type name ‘PyMemAllocatorEx’
Thanks for the report @brianglass!
Unfortunately ddtrace historically hasn't supported pypy and lost pypy support when C-extensions were made a hard requirement.
We'll leave this issue open for anyone else who'd like to also request support for pypy.
Are there any updates on this feature request? Thanks
I'd like to request PyPy support. We have a strong use case for PyPy at work but lack of support by ddtrace is a dealbreaker. We could live without the profiling.
any updates? we are also lacking ddtrace as the only library in order to unlock better performance in our applications
I'd like to see support for pypy as well since we do use ddtrace and are switching some services to pypy.
Manually doing what the Github Action was supposed to do (fixed in https://github.com/DataDog/dd-trace-py/pull/7835):
This issue has been automatically closed after six months of inactivity. If it's a feature request, it has been added to the maintainers' internal backlog and will be included in an upcoming round of feature prioritization. Please comment or reopen if you think this issue was closed in error.