Skip to content

ERROR: Could not build wheels for ddtrace which use PEP 517 and cannot be installed directly Python-3.8 Alpine  #2262

@kaushalringle

Description

@kaushalringle

Which version of dd-trace-py are you using?

0.47.0

Which version of pip are you using?

pip 21.0.1 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)

Which version of the libraries are you using?

packages from 3.8-alpine image.

Package    Version
---------- -------
pip        21.0.1
setuptools 54.2.0
wheel      0.36.2

How can we reproduce your problem?

Dockerfile

FROM python:3.8-alpine
RUN apk --update add gcc build-base
RUN pip install --no-cache-dir ddtrace=="0.47.0"

Build the image using

docker build  -t test-alpine-python-dd-trace .

What is the result that you get?

#6 53.92 ERROR: Failed building wheel for ddtrace
#6 53.92 Building wheel for intervaltree (setup.py): started
#6 54.31 Building wheel for intervaltree (setup.py): finished with status 'done'
#6 54.31 Created wheel for intervaltree: filename=intervaltree-3.1.0-py2.py3-none-any.whl size=26102 sha256=786a4e093e4a5fed01ffedd954e9ba94e7648a8035585423d5aa155388294028
#6 54.31 Stored in directory: /tmp/pip-ephem-wheel-cache-1_elt6gq/wheels/45/23/de/5789a92962483fd33cb06674792b9697c1b3766d7c7742830e
#6 54.31 Successfully built intervaltree
#6 54.31 Failed to build ddtrace
#6 54.31 ERROR: Could not build wheels for ddtrace which use PEP 517 and cannot be installed directly

What is the result that you expected?

ddtrace should be installed on Alpine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions