Skip to content

Installation fails on Alpine (musl-based) Docker images — missing wheels or source build fails? #466

Closed
@anuzis

Description

@anuzis

Hi! I’m trying to install openai-agents==0.0.9 inside a Docker container based on python:3.8.8-alpine, but the installation consistently fails with:

ERROR: Could not find a version that satisfies the requirement openai-agents==0.0.9 (from versions: none)
ERROR: No matching distribution found for openai-agents==0.0.9

The same install command works fine locally on my machine (Ubuntu + CPython 3.10).

I’ve confirmed the package is listed on PyPI: https://pypi.org/project/openai-agents/ and available since April 8, 2025.

I’ve tried all of:

  • pip install --upgrade pip setuptools wheel
  • Setting pip config set global.index-url https://pypi.org/simple
  • Switching from pip wheel to pip install
  • Installing the package in isolation outside of a requirements file
  • Still no success inside the Alpine container.

This seems to suggest:

  • No pure-Python wheel is available on PyPI (only a source distribution?)
  • Or something in the packaging metadata (e.g., pyproject.toml) makes it incompatible with musl-based Alpine builds

Would it be possible to publish a universal .whl for Linux (manylinux or musllinux) or verify that the source install works under Alpine?

(Filing this issue, along with the details & wording chosen for this issue were generated via GPT-4o after multiple Dockerfile configuration adjustment attempts failed. For now we'll need to remove openai-agents as a dependency in our project, but interested in revisiting integration after this issue is resolved.)

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