When i run an application that uses orjson in a Python 3.12 docker container (i tried buster, bookwork, and bullseye), I get an undefined symbol: PyType_GetDict error. Is this a bug, or am I missing some kind of dependency?
Here is the installation block of the dockerfile,
FROM python:3.12-bullseye
RUN pip install poetry==1.8.2
ENV POETRY_NO_INTERACTION=1 \
POETRY_VIRTUALENVS_IN_PROJECT=1 \
POETRY_VIRTUALENVS_CREATE=1 \
POETRY_CACHE_DIR=/tmp/poetry_cache
COPY pyproject.toml poetry.lock ./
RUN poetry run pip install --upgrade "pip>=20.3" && poetry install --without dev --no-root && rm -rf $POETRY_CACHE_DIR
and the version information from the Poetry .lock file,
When i run an application that uses
orjson
in a Python 3.12 docker container (i triedbuster
,bookwork
, andbullseye
), I get anundefined symbol: PyType_GetDict
error. Is this a bug, or am I missing some kind of dependency?Here is the installation block of the dockerfile,
and the version information from the Poetry
.lock
file,and the traceback,