dd-trace-py icon indicating copy to clipboard operation
dd-trace-py copied to clipboard

ddtrace does not build with pypy

Open brianglass opened this issue 4 years ago • 3 comments

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’

brianglass avatar Dec 17 '20 18:12 brianglass

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.

Kyle-Verhoog avatar Dec 17 '20 21:12 Kyle-Verhoog

Are there any updates on this feature request? Thanks

jacfabi avatar Mar 28 '22 16:03 jacfabi

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.

kgriffs avatar Aug 02 '22 21:08 kgriffs

any updates? we are also lacking ddtrace as the only library in order to unlock better performance in our applications

piscue avatar Dec 28 '22 16:12 piscue

I'd like to see support for pypy as well since we do use ddtrace and are switching some services to pypy.

chirayu-miles avatar Apr 13 '23 21:04 chirayu-miles

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.

emmettbutler avatar Dec 04 '23 18:12 emmettbutler