DataDog / dd-trace-py

Datadog Python APM Client
https://ddtrace.readthedocs.io/
Other
551 stars 413 forks source link

Cannot install ddtrace 0.38.0 with Python 3.8 without the wheels #1461

Closed k4nar closed 4 years ago

k4nar commented 4 years ago

Hi,

I cannot install ddtrace 0.38.0 without using the provided wheel. It was working with ddtrace version 0.37.1.

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

0.38.0 with Python 3.8.3 on Linux (tried from my Archlinux and from a Docker container with Debian)

How can we reproduce your problem?

Run pip install --no-binary=:all: ddtrace

What is the result that you get?

Collecting ddtrace==0.38.0
  Using cached ddtrace-0.38.0.tar.gz (887 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
Requirement already satisfied: msgpack>=0.5.0 in /home/yannick/.local/share/virtualenvs/core/lib/python3.8/site-packages (from ddtrace==0.38.0) (1.0.0)
Building wheels for collected packages: ddtrace
  Building wheel for ddtrace (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/yannick/.local/share/virtualenvs/core/bin/python /home/yannick/.local/share/virtualenvs/core/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp5caazvta
       cwd: /tmp/pip-install-b0v_y4yt/ddtrace
  Complete output (423 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/util.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/tracer.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/span.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/sampler.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/provider.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/pin.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/payload.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/monkey.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/helpers.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/filters.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/encoding.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/context.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/constants.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/compat.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/api.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/_worker.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/_hooks.py -> build/lib.linux-x86_64-3.8/ddtrace
  copying ddtrace/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace
  creating build/lib.linux-x86_64-3.8/ddtrace/vendor
  copying ddtrace/vendor/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor
  creating build/lib.linux-x86_64-3.8/ddtrace/utils
  copying ddtrace/utils/wrappers.py -> build/lib.linux-x86_64-3.8/ddtrace/utils
  copying ddtrace/utils/time.py -> build/lib.linux-x86_64-3.8/ddtrace/utils
  copying ddtrace/utils/importlib.py -> build/lib.linux-x86_64-3.8/ddtrace/utils
  copying ddtrace/utils/http.py -> build/lib.linux-x86_64-3.8/ddtrace/utils
  copying ddtrace/utils/hook.py -> build/lib.linux-x86_64-3.8/ddtrace/utils
  copying ddtrace/utils/formats.py -> build/lib.linux-x86_64-3.8/ddtrace/utils
  copying ddtrace/utils/deprecation.py -> build/lib.linux-x86_64-3.8/ddtrace/utils
  copying ddtrace/utils/config.py -> build/lib.linux-x86_64-3.8/ddtrace/utils
  copying ddtrace/utils/attrdict.py -> build/lib.linux-x86_64-3.8/ddtrace/utils
  copying ddtrace/utils/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/utils
  creating build/lib.linux-x86_64-3.8/ddtrace/settings
  copying ddtrace/settings/integration.py -> build/lib.linux-x86_64-3.8/ddtrace/settings
  copying ddtrace/settings/http.py -> build/lib.linux-x86_64-3.8/ddtrace/settings
  copying ddtrace/settings/exceptions.py -> build/lib.linux-x86_64-3.8/ddtrace/settings
  copying ddtrace/settings/config.py -> build/lib.linux-x86_64-3.8/ddtrace/settings
  copying ddtrace/settings/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/settings
  creating build/lib.linux-x86_64-3.8/ddtrace/propagation
  copying ddtrace/propagation/utils.py -> build/lib.linux-x86_64-3.8/ddtrace/propagation
  copying ddtrace/propagation/http.py -> build/lib.linux-x86_64-3.8/ddtrace/propagation
  copying ddtrace/propagation/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/propagation
  creating build/lib.linux-x86_64-3.8/ddtrace/profiling
  copying ddtrace/profiling/scheduler.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling
  copying ddtrace/profiling/recorder.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling
  copying ddtrace/profiling/profiler.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling
  copying ddtrace/profiling/event.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling
  copying ddtrace/profiling/auto.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling
  copying ddtrace/profiling/_traceback.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling
  copying ddtrace/profiling/_service.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling
  copying ddtrace/profiling/_periodic.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling
  copying ddtrace/profiling/_line2def.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling
  copying ddtrace/profiling/_attr.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling
  copying ddtrace/profiling/__main__.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling
  copying ddtrace/profiling/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling
  creating build/lib.linux-x86_64-3.8/ddtrace/profile
  copying ddtrace/profile/scheduler.py -> build/lib.linux-x86_64-3.8/ddtrace/profile
  copying ddtrace/profile/recorder.py -> build/lib.linux-x86_64-3.8/ddtrace/profile
  copying ddtrace/profile/profiler.py -> build/lib.linux-x86_64-3.8/ddtrace/profile
  copying ddtrace/profile/event.py -> build/lib.linux-x86_64-3.8/ddtrace/profile
  copying ddtrace/profile/auto.py -> build/lib.linux-x86_64-3.8/ddtrace/profile
  copying ddtrace/profile/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/profile
  creating build/lib.linux-x86_64-3.8/ddtrace/opentracer
  copying ddtrace/opentracer/utils.py -> build/lib.linux-x86_64-3.8/ddtrace/opentracer
  copying ddtrace/opentracer/tracer.py -> build/lib.linux-x86_64-3.8/ddtrace/opentracer
  copying ddtrace/opentracer/tags.py -> build/lib.linux-x86_64-3.8/ddtrace/opentracer
  copying ddtrace/opentracer/span_context.py -> build/lib.linux-x86_64-3.8/ddtrace/opentracer
  copying ddtrace/opentracer/span.py -> build/lib.linux-x86_64-3.8/ddtrace/opentracer
  copying ddtrace/opentracer/settings.py -> build/lib.linux-x86_64-3.8/ddtrace/opentracer
  copying ddtrace/opentracer/helpers.py -> build/lib.linux-x86_64-3.8/ddtrace/opentracer
  copying ddtrace/opentracer/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/opentracer
  creating build/lib.linux-x86_64-3.8/ddtrace/internal
  copying ddtrace/internal/writer.py -> build/lib.linux-x86_64-3.8/ddtrace/internal
  copying ddtrace/internal/rate_limiter.py -> build/lib.linux-x86_64-3.8/ddtrace/internal
  copying ddtrace/internal/logger.py -> build/lib.linux-x86_64-3.8/ddtrace/internal
  copying ddtrace/internal/import_hooks.py -> build/lib.linux-x86_64-3.8/ddtrace/internal
  copying ddtrace/internal/hostname.py -> build/lib.linux-x86_64-3.8/ddtrace/internal
  copying ddtrace/internal/context_manager.py -> build/lib.linux-x86_64-3.8/ddtrace/internal
  copying ddtrace/internal/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/internal
  creating build/lib.linux-x86_64-3.8/ddtrace/http
  copying ddtrace/http/headers.py -> build/lib.linux-x86_64-3.8/ddtrace/http
  copying ddtrace/http/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/http
  creating build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/system.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/sql.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/redis.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/priority.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/net.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/mongo.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/memcached.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/kombu.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/http.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/errors.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/elasticsearch.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/db.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/consul.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/cassandra.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/aws.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  copying ddtrace/ext/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/ext
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib
  copying ddtrace/contrib/util.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib
  copying ddtrace/contrib/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib
  creating build/lib.linux-x86_64-3.8/ddtrace/commands
  copying ddtrace/commands/ddtrace_run.py -> build/lib.linux-x86_64-3.8/ddtrace/commands
  copying ddtrace/commands/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/commands
  creating build/lib.linux-x86_64-3.8/ddtrace/bootstrap
  copying ddtrace/bootstrap/sitecustomize.py -> build/lib.linux-x86_64-3.8/ddtrace/bootstrap
  copying ddtrace/bootstrap/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/bootstrap
  creating build/lib.linux-x86_64-3.8/ddtrace/vendor/wrapt
  copying ddtrace/vendor/wrapt/wrappers.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/wrapt
  copying ddtrace/vendor/wrapt/setup.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/wrapt
  copying ddtrace/vendor/wrapt/importer.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/wrapt
  copying ddtrace/vendor/wrapt/decorators.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/wrapt
  copying ddtrace/vendor/wrapt/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/wrapt
  creating build/lib.linux-x86_64-3.8/ddtrace/vendor/six
  copying ddtrace/vendor/six/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/six
  creating build/lib.linux-x86_64-3.8/ddtrace/vendor/psutil
  copying ddtrace/vendor/psutil/setup.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/psutil
  copying ddtrace/vendor/psutil/_pswindows.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/psutil
  copying ddtrace/vendor/psutil/_pssunos.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/psutil
  copying ddtrace/vendor/psutil/_psposix.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/psutil
  copying ddtrace/vendor/psutil/_psosx.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/psutil
  copying ddtrace/vendor/psutil/_pslinux.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/psutil
  copying ddtrace/vendor/psutil/_psbsd.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/psutil
  copying ddtrace/vendor/psutil/_psaix.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/psutil
  copying ddtrace/vendor/psutil/_compat.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/psutil
  copying ddtrace/vendor/psutil/_common.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/psutil
  copying ddtrace/vendor/psutil/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/psutil
  creating build/lib.linux-x86_64-3.8/ddtrace/vendor/monotonic
  copying ddtrace/vendor/monotonic/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/monotonic
  creating build/lib.linux-x86_64-3.8/ddtrace/vendor/dogstatsd
  copying ddtrace/vendor/dogstatsd/route.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/dogstatsd
  copying ddtrace/vendor/dogstatsd/context_async.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/dogstatsd
  copying ddtrace/vendor/dogstatsd/context.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/dogstatsd
  copying ddtrace/vendor/dogstatsd/compat.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/dogstatsd
  copying ddtrace/vendor/dogstatsd/base.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/dogstatsd
  copying ddtrace/vendor/dogstatsd/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/dogstatsd
  creating build/lib.linux-x86_64-3.8/ddtrace/vendor/debtcollector
  copying ddtrace/vendor/debtcollector/updating.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/debtcollector
  copying ddtrace/vendor/debtcollector/renames.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/debtcollector
  copying ddtrace/vendor/debtcollector/removals.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/debtcollector
  copying ddtrace/vendor/debtcollector/moves.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/debtcollector
  copying ddtrace/vendor/debtcollector/_utils.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/debtcollector
  copying ddtrace/vendor/debtcollector/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/debtcollector
  creating build/lib.linux-x86_64-3.8/ddtrace/vendor/attr
  copying ddtrace/vendor/attr/validators.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/attr
  copying ddtrace/vendor/attr/filters.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/attr
  copying ddtrace/vendor/attr/exceptions.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/attr
  copying ddtrace/vendor/attr/converters.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/attr
  copying ddtrace/vendor/attr/_version_info.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/attr
  copying ddtrace/vendor/attr/_make.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/attr
  copying ddtrace/vendor/attr/_funcs.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/attr
  copying ddtrace/vendor/attr/_config.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/attr
  copying ddtrace/vendor/attr/_compat.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/attr
  copying ddtrace/vendor/attr/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/vendor/attr
  creating build/lib.linux-x86_64-3.8/ddtrace/profiling/exporter
  copying ddtrace/profiling/exporter/pprof_pb2.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling/exporter
  copying ddtrace/profiling/exporter/pprof.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling/exporter
  copying ddtrace/profiling/exporter/http.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling/exporter
  copying ddtrace/profiling/exporter/file.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling/exporter
  copying ddtrace/profiling/exporter/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling/exporter
  creating build/lib.linux-x86_64-3.8/ddtrace/profiling/collector
  copying ddtrace/profiling/collector/threading.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling/collector
  copying ddtrace/profiling/collector/memory.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling/collector
  copying ddtrace/profiling/collector/exceptions.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling/collector
  copying ddtrace/profiling/collector/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling/collector
  creating build/lib.linux-x86_64-3.8/ddtrace/profiling/bootstrap
  copying ddtrace/profiling/bootstrap/sitecustomize.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling/bootstrap
  copying ddtrace/profiling/bootstrap/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/profiling/bootstrap
  creating build/lib.linux-x86_64-3.8/ddtrace/profile/exporter
  copying ddtrace/profile/exporter/pprof_pb2.py -> build/lib.linux-x86_64-3.8/ddtrace/profile/exporter
  copying ddtrace/profile/exporter/pprof.py -> build/lib.linux-x86_64-3.8/ddtrace/profile/exporter
  copying ddtrace/profile/exporter/http.py -> build/lib.linux-x86_64-3.8/ddtrace/profile/exporter
  copying ddtrace/profile/exporter/file.py -> build/lib.linux-x86_64-3.8/ddtrace/profile/exporter
  copying ddtrace/profile/exporter/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/profile/exporter
  creating build/lib.linux-x86_64-3.8/ddtrace/profile/collector
  copying ddtrace/profile/collector/threading.py -> build/lib.linux-x86_64-3.8/ddtrace/profile/collector
  copying ddtrace/profile/collector/stack.py -> build/lib.linux-x86_64-3.8/ddtrace/profile/collector
  copying ddtrace/profile/collector/memory.py -> build/lib.linux-x86_64-3.8/ddtrace/profile/collector
  copying ddtrace/profile/collector/exceptions.py -> build/lib.linux-x86_64-3.8/ddtrace/profile/collector
  copying ddtrace/profile/collector/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/profile/collector
  creating build/lib.linux-x86_64-3.8/ddtrace/profile/bootstrap
  copying ddtrace/profile/bootstrap/sitecustomize.py -> build/lib.linux-x86_64-3.8/ddtrace/profile/bootstrap
  copying ddtrace/profile/bootstrap/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/profile/bootstrap
  creating build/lib.linux-x86_64-3.8/ddtrace/opentracer/propagation
  copying ddtrace/opentracer/propagation/text.py -> build/lib.linux-x86_64-3.8/ddtrace/opentracer/propagation
  copying ddtrace/opentracer/propagation/propagator.py -> build/lib.linux-x86_64-3.8/ddtrace/opentracer/propagation
  copying ddtrace/opentracer/propagation/http.py -> build/lib.linux-x86_64-3.8/ddtrace/opentracer/propagation
  copying ddtrace/opentracer/propagation/binary.py -> build/lib.linux-x86_64-3.8/ddtrace/opentracer/propagation
  copying ddtrace/opentracer/propagation/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/opentracer/propagation
  creating build/lib.linux-x86_64-3.8/ddtrace/internal/runtime
  copying ddtrace/internal/runtime/tag_collectors.py -> build/lib.linux-x86_64-3.8/ddtrace/internal/runtime
  copying ddtrace/internal/runtime/runtime_metrics.py -> build/lib.linux-x86_64-3.8/ddtrace/internal/runtime
  copying ddtrace/internal/runtime/metric_collectors.py -> build/lib.linux-x86_64-3.8/ddtrace/internal/runtime
  copying ddtrace/internal/runtime/container.py -> build/lib.linux-x86_64-3.8/ddtrace/internal/runtime
  copying ddtrace/internal/runtime/constants.py -> build/lib.linux-x86_64-3.8/ddtrace/internal/runtime
  copying ddtrace/internal/runtime/collector.py -> build/lib.linux-x86_64-3.8/ddtrace/internal/runtime
  copying ddtrace/internal/runtime/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/internal/runtime
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/vertica
  copying ddtrace/contrib/vertica/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/vertica
  copying ddtrace/contrib/vertica/constants.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/vertica
  copying ddtrace/contrib/vertica/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/vertica
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/tornado
  copying ddtrace/contrib/tornado/template.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/tornado
  copying ddtrace/contrib/tornado/stack_context.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/tornado
  copying ddtrace/contrib/tornado/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/tornado
  copying ddtrace/contrib/tornado/handlers.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/tornado
  copying ddtrace/contrib/tornado/decorators.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/tornado
  copying ddtrace/contrib/tornado/constants.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/tornado
  copying ddtrace/contrib/tornado/compat.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/tornado
  copying ddtrace/contrib/tornado/application.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/tornado
  copying ddtrace/contrib/tornado/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/tornado
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/sqlite3
  copying ddtrace/contrib/sqlite3/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/sqlite3
  copying ddtrace/contrib/sqlite3/connection.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/sqlite3
  copying ddtrace/contrib/sqlite3/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/sqlite3
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/sqlalchemy
  copying ddtrace/contrib/sqlalchemy/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/sqlalchemy
  copying ddtrace/contrib/sqlalchemy/engine.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/sqlalchemy
  copying ddtrace/contrib/sqlalchemy/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/sqlalchemy
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/requests
  copying ddtrace/contrib/requests/session.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/requests
  copying ddtrace/contrib/requests/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/requests
  copying ddtrace/contrib/requests/legacy.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/requests
  copying ddtrace/contrib/requests/constants.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/requests
  copying ddtrace/contrib/requests/connection.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/requests
  copying ddtrace/contrib/requests/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/requests
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/rediscluster
  copying ddtrace/contrib/rediscluster/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/rediscluster
  copying ddtrace/contrib/rediscluster/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/rediscluster
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/redis
  copying ddtrace/contrib/redis/util.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/redis
  copying ddtrace/contrib/redis/tracers.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/redis
  copying ddtrace/contrib/redis/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/redis
  copying ddtrace/contrib/redis/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/redis
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/pyramid
  copying ddtrace/contrib/pyramid/trace.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pyramid
  copying ddtrace/contrib/pyramid/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pyramid
  copying ddtrace/contrib/pyramid/constants.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pyramid
  copying ddtrace/contrib/pyramid/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pyramid
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/pymysql
  copying ddtrace/contrib/pymysql/tracers.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pymysql
  copying ddtrace/contrib/pymysql/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pymysql
  copying ddtrace/contrib/pymysql/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pymysql
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/pymongo
  copying ddtrace/contrib/pymongo/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pymongo
  copying ddtrace/contrib/pymongo/parse.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pymongo
  copying ddtrace/contrib/pymongo/client.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pymongo
  copying ddtrace/contrib/pymongo/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pymongo
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/pymemcache
  copying ddtrace/contrib/pymemcache/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pymemcache
  copying ddtrace/contrib/pymemcache/client.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pymemcache
  copying ddtrace/contrib/pymemcache/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pymemcache
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/pylons
  copying ddtrace/contrib/pylons/renderer.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pylons
  copying ddtrace/contrib/pylons/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pylons
  copying ddtrace/contrib/pylons/middleware.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pylons
  copying ddtrace/contrib/pylons/constants.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pylons
  copying ddtrace/contrib/pylons/compat.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pylons
  copying ddtrace/contrib/pylons/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pylons
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/pylibmc
  copying ddtrace/contrib/pylibmc/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pylibmc
  copying ddtrace/contrib/pylibmc/client.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pylibmc
  copying ddtrace/contrib/pylibmc/addrs.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pylibmc
  copying ddtrace/contrib/pylibmc/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/pylibmc
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/psycopg
  copying ddtrace/contrib/psycopg/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/psycopg
  copying ddtrace/contrib/psycopg/connection.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/psycopg
  copying ddtrace/contrib/psycopg/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/psycopg
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/mysqldb
  copying ddtrace/contrib/mysqldb/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/mysqldb
  copying ddtrace/contrib/mysqldb/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/mysqldb
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/mysql
  copying ddtrace/contrib/mysql/tracers.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/mysql
  copying ddtrace/contrib/mysql/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/mysql
  copying ddtrace/contrib/mysql/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/mysql
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/mongoengine
  copying ddtrace/contrib/mongoengine/trace.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/mongoengine
  copying ddtrace/contrib/mongoengine/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/mongoengine
  copying ddtrace/contrib/mongoengine/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/mongoengine
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/molten
  copying ddtrace/contrib/molten/wrappers.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/molten
  copying ddtrace/contrib/molten/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/molten
  copying ddtrace/contrib/molten/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/molten
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/mako
  copying ddtrace/contrib/mako/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/mako
  copying ddtrace/contrib/mako/constants.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/mako
  copying ddtrace/contrib/mako/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/mako
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/logging
  copying ddtrace/contrib/logging/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/logging
  copying ddtrace/contrib/logging/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/logging
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/kombu
  copying ddtrace/contrib/kombu/utils.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/kombu
  copying ddtrace/contrib/kombu/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/kombu
  copying ddtrace/contrib/kombu/constants.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/kombu
  copying ddtrace/contrib/kombu/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/kombu
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/jinja2
  copying ddtrace/contrib/jinja2/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/jinja2
  copying ddtrace/contrib/jinja2/constants.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/jinja2
  copying ddtrace/contrib/jinja2/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/jinja2
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/httplib
  copying ddtrace/contrib/httplib/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/httplib
  copying ddtrace/contrib/httplib/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/httplib
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/grpc
  copying ddtrace/contrib/grpc/utils.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/grpc
  copying ddtrace/contrib/grpc/server_interceptor.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/grpc
  copying ddtrace/contrib/grpc/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/grpc
  copying ddtrace/contrib/grpc/constants.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/grpc
  copying ddtrace/contrib/grpc/client_interceptor.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/grpc
  copying ddtrace/contrib/grpc/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/grpc
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/gevent
  copying ddtrace/contrib/gevent/provider.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/gevent
  copying ddtrace/contrib/gevent/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/gevent
  copying ddtrace/contrib/gevent/greenlet.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/gevent
  copying ddtrace/contrib/gevent/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/gevent
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/futures
  copying ddtrace/contrib/futures/threading.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/futures
  copying ddtrace/contrib/futures/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/futures
  copying ddtrace/contrib/futures/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/futures
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/flask_cache
  copying ddtrace/contrib/flask_cache/utils.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/flask_cache
  copying ddtrace/contrib/flask_cache/tracers.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/flask_cache
  copying ddtrace/contrib/flask_cache/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/flask_cache
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/flask
  copying ddtrace/contrib/flask/wrappers.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/flask
  copying ddtrace/contrib/flask/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/flask
  copying ddtrace/contrib/flask/middleware.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/flask
  copying ddtrace/contrib/flask/helpers.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/flask
  copying ddtrace/contrib/flask/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/flask
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/falcon
  copying ddtrace/contrib/falcon/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/falcon
  copying ddtrace/contrib/falcon/middleware.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/falcon
  copying ddtrace/contrib/falcon/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/falcon
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/elasticsearch
  copying ddtrace/contrib/elasticsearch/transport.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/elasticsearch
  copying ddtrace/contrib/elasticsearch/quantize.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/elasticsearch
  copying ddtrace/contrib/elasticsearch/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/elasticsearch
  copying ddtrace/contrib/elasticsearch/elasticsearch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/elasticsearch
  copying ddtrace/contrib/elasticsearch/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/elasticsearch
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/dogpile_cache
  copying ddtrace/contrib/dogpile_cache/region.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/dogpile_cache
  copying ddtrace/contrib/dogpile_cache/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/dogpile_cache
  copying ddtrace/contrib/dogpile_cache/lock.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/dogpile_cache
  copying ddtrace/contrib/dogpile_cache/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/dogpile_cache
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/django
  copying ddtrace/contrib/django/utils.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/django
  copying ddtrace/contrib/django/restframework.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/django
  copying ddtrace/contrib/django/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/django
  copying ddtrace/contrib/django/middleware.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/django
  copying ddtrace/contrib/django/conf.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/django
  copying ddtrace/contrib/django/compat.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/django
  copying ddtrace/contrib/django/apps.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/django
  copying ddtrace/contrib/django/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/django
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/dbapi
  copying ddtrace/contrib/dbapi/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/dbapi
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/consul
  copying ddtrace/contrib/consul/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/consul
  copying ddtrace/contrib/consul/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/consul
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/celery
  copying ddtrace/contrib/celery/utils.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/celery
  copying ddtrace/contrib/celery/task.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/celery
  copying ddtrace/contrib/celery/signals.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/celery
  copying ddtrace/contrib/celery/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/celery
  copying ddtrace/contrib/celery/constants.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/celery
  copying ddtrace/contrib/celery/app.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/celery
  copying ddtrace/contrib/celery/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/celery
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/cassandra
  copying ddtrace/contrib/cassandra/session.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/cassandra
  copying ddtrace/contrib/cassandra/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/cassandra
  copying ddtrace/contrib/cassandra/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/cassandra
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/bottle
  copying ddtrace/contrib/bottle/trace.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/bottle
  copying ddtrace/contrib/bottle/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/bottle
  copying ddtrace/contrib/bottle/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/bottle
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/botocore
  copying ddtrace/contrib/botocore/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/botocore
  copying ddtrace/contrib/botocore/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/botocore
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/boto
  copying ddtrace/contrib/boto/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/boto
  copying ddtrace/contrib/boto/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/boto
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/asyncio
  copying ddtrace/contrib/asyncio/wrappers.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/asyncio
  copying ddtrace/contrib/asyncio/provider.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/asyncio
  copying ddtrace/contrib/asyncio/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/asyncio
  copying ddtrace/contrib/asyncio/helpers.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/asyncio
  copying ddtrace/contrib/asyncio/compat.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/asyncio
  copying ddtrace/contrib/asyncio/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/asyncio
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/algoliasearch
  copying ddtrace/contrib/algoliasearch/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/algoliasearch
  copying ddtrace/contrib/algoliasearch/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/algoliasearch
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/aiopg
  copying ddtrace/contrib/aiopg/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/aiopg
  copying ddtrace/contrib/aiopg/connection.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/aiopg
  copying ddtrace/contrib/aiopg/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/aiopg
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/aiohttp
  copying ddtrace/contrib/aiohttp/template.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/aiohttp
  copying ddtrace/contrib/aiohttp/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/aiohttp
  copying ddtrace/contrib/aiohttp/middlewares.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/aiohttp
  copying ddtrace/contrib/aiohttp/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/aiohttp
  creating build/lib.linux-x86_64-3.8/ddtrace/contrib/aiobotocore
  copying ddtrace/contrib/aiobotocore/patch.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/aiobotocore
  copying ddtrace/contrib/aiobotocore/__init__.py -> build/lib.linux-x86_64-3.8/ddtrace/contrib/aiobotocore
  running build_ext
  building 'ddtrace.internal._rand' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/ddtrace
  creating build/temp.linux-x86_64-3.8/ddtrace/internal
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fPIC -I/usr/include/python3.8 -c ddtrace/internal/_rand.c -o build/temp.linux-x86_64-3.8/ddtrace/internal/_rand.o
  gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fno-semantic-interposition -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-3.8/ddtrace/internal/_rand.o -L/usr/lib -o build/lib.linux-x86_64-3.8/ddtrace/internal/_rand.cpython-38-x86_64-linux-gnu.so
  building 'ddtrace.profiling.collector.stack' extension
  creating build/temp.linux-x86_64-3.8/ddtrace/profiling
  creating build/temp.linux-x86_64-3.8/ddtrace/profiling/collector
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fPIC -I/usr/include/python3.8 -c ddtrace/profiling/collector/stack.c -o build/temp.linux-x86_64-3.8/ddtrace/profiling/collector/stack.o -DPy_BUILD_CORE
  ddtrace/profiling/collector/stack.c:619:10: fatal error: internal/pystate.h: No such file or directory
    619 | #include <internal/pystate.h>
        |          ^~~~~~~~~~~~~~~~~~~~
  compilation terminated.
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for ddtrace
Failed to build ddtrace
ERROR: Could not build wheels for ddtrace which use PEP 517 and cannot be installed directly

What is the result that you expected?

I should be able to install ddtrace without using the provided wheels, as I could with previous versions.

jd commented 4 years ago

You need to install Python development headers to be able to compile a Python extension.

k4nar commented 4 years ago

@jd : The headers are installed, I'm able to compile other Python extensions.

$ ls /usr/include/python3.8/
cpython            code.h                 frameobject.h          modsupport.h       pyconfig.h     pystate.h       sysmodule.h
internal           compile.h              funcobject.h           moduleobject.h     pyctype.h      pystrcmp.h      token.h
abstract.h         complexobject.h        genobject.h            namespaceobject.h  py_curses.h    pystrhex.h      traceback.h
asdl.h             context.h              graminit.h             node.h             pydebug.h      pystrtod.h      tracemalloc.h
ast.h              datetime.h             grammar.h              object.h           pydtrace.h     Python-ast.h    tupleobject.h
bitset.h           descrobject.h          import.h               objimpl.h          pyerrors.h     Python.h        typeslots.h
bltinmodule.h      dictobject.h           interpreteridobject.h  odictobject.h      pyexpat.h      pythonrun.h     ucnhash.h
boolobject.h       dtoa.h                 intrcheck.h            opcode.h           pyfpe.h        pythread.h      unicodeobject.h
bytearrayobject.h  dynamic_annotations.h  iterobject.h           osdefs.h           pyhash.h       pytime.h        warnings.h
bytes_methods.h    enumobject.h           listobject.h           osmodule.h         pylifecycle.h  rangeobject.h   weakrefobject.h
bytesobject.h      errcode.h              longintrepr.h          parsetok.h         pymacconfig.h  setobject.h
cellobject.h       eval.h                 longobject.h           patchlevel.h       pymacro.h      sliceobject.h
ceval.h            fileobject.h           marshal.h              picklebufobject.h  pymath.h       structmember.h
classobject.h      fileutils.h            memoryobject.h         pyarena.h          pymem.h        structseq.h
codecs.h           floatobject.h          methodobject.h         pycapsule.h        pyport.h       symtable.h

$ ls /usr/include/python3.8/internal
pycore_accu.h    pycore_condvar.h    pycore_gil.h         pycore_pathconfig.h   pycore_pymem.h        pycore_warnings.h
pycore_atomic.h  pycore_context.h    pycore_hamt.h        pycore_pyerrors.h     pycore_pystate.h
pycore_ceval.h   pycore_fileutils.h  pycore_initconfig.h  pycore_pyhash.h       pycore_traceback.h
pycore_code.h    pycore_getopt.h     pycore_object.h      pycore_pylifecycle.h  pycore_tupleobject.h

I think the issue is that Cython is generating a file including internal/pystate.h instead of internal/pycore_pystate.h. I assume this is what you intended to fix here, but for some reason it doesn't seem to work.

jd commented 4 years ago

Do you have a way to reproduce that with your Dockerfile that you could share?

k4nar commented 4 years ago

I was able to reproduce it with the official Python 3.8 image: docker run --rm -it python:3.8 pip install --no-binary=:all: ddtrace==0.38.0

jd commented 4 years ago

Some .c generated by Python 3.7 have been included in the sdist tarball and Cython does not rebuild and overwrite them.

k4nar commented 4 years ago

Thanks!

abhiamnyuMt commented 4 years ago

I am still getting this error Dokerfile

FROM python:3.7.1-alpine3.8
RUN apk add --no-cache python3-dev build-base linux-headers pcre-dev gcc git openssh-client libxml2-dev libxslt-dev
RUN pip install ddtrace==0.38.1

Error:

ddtrace/profiling/collector/stack.c:622:30: fatal error: internal/pystate.h: No such file or directory
     #include <internal/pystate.h>
                                  ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1