Skip to content

Preparing metadata (pyproject.toml) did not run successfully #3281

@marlonmp

Description

@marlonmp

Description of the bug

I was trying to install PyMuPDF 1.23.26 in a Python 3.12 (Alpine 3.19) container, and when I built the container pip throw me this error Preparing metadata (pyproject.toml) did not run successfully

How to reproduce the bug

Dockerfile

FROM python:3.12-alpine AS build-env

# set environment varibles
ENV LANG=es_CO.UTF-8
ENV LC_ALL=es_CO.UTF-8
ENV LC_CTYPE=es_CO.UTF8
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PYTHONIOENCODING=utf-8

RUN apk add --no-cache tzdata
ENV TZ America/Bogota


RUN apk --update --no-cache add \
    build-base \
    postgresql \
    postgresql-dev \
    libpq \
    jpeg-dev \
    zlib-dev \
    libffi-dev

ARG requirements

COPY ./requirements /tmp/requirements

RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r /tmp/requirements/develop.txt  

Output

The output is too long, so I attached it in this txt file output.txt

PyMuPDF version

1.23.26

Operating system

Linux

Python version

3.12

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions