Errors with Docker and Python3

Hi I am trying to install Sentry inside a docker container currently running python:3.6-alpine but when i try to do the pip install for sentry-sdk==0.16.0 i get the following error when building the Dockerfile

ERROR: You need Python 2.7 or 3.4 to install the typing package.
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/setuptools/sandbox.py", line 154, in save_modules
    yield saved
  File "/usr/local/lib/python3.6/site-packages/setuptools/sandbox.py", line 195, in setup_context
    yield
  File "/usr/local/lib/python3.6/site-packages/setuptools/sandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "/usr/local/lib/python3.6/site-packages/setuptools/sandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-3f8xqw9y/typing-3.7.4.2/setup.py", line 10, in <module>
    setup(
  File "/usr/local/lib/python3.6/_sitebuiltins.py", line 26, in __call__
    raise SystemExit(code)
SystemExit: 1

I do not want to have to downgrade to Python 3.4 since it’s at EOL but I do not know what im missing. Here’s the Dockerfile

FROM python:3.6-alpine
RUN apk update
RUN apk add --no-cache --virtual \
                .build-deps \
                gcc \
                libc-dev \
                libffi-dev \
                linux-headers \
                mariadb-dev \
                musl-dev \
                netcat-openbsd \
                postgresql-dev \
                openldap-dev \
                python3-dev \
                speedtest-cli ;

RUN pip install -U pip
RUN pip install sentry-sdk==0.16.0

That dockerfile builds successfully for me and it seems you’re failing to install the typing package in your error message. The SDK does not depend on the typing package in any way though. I don’t think this error has got anything to do with the SDK.

OK thanks, it’s gotta b another package im dealing w/ in my Django project.