Skip to content

sdist build fails: FileNotFoundError for ../README.md #105

@gounthar

Description

@gounthar

Bug

Building the openai-harmony wheel from the PyPI sdist fails:

FileNotFoundError: [Errno 2] No such file or directory: '../README.md'

The build system references ../README.md (parent directory), which exists when building from a git clone of the monorepo but not when building from an extracted sdist tarball.

Steps to reproduce

pip wheel --no-binary :all: openai-harmony

Expected behavior

The wheel should build from the sdist without requiring the monorepo parent directory.

Environment

  • Python 3.13.5
  • pip 25.1.1
  • Linux riscv64 (BananaPi F3, SpacemiT K1)

Suggested fix

Either include README.md in the sdist, or use a conditional path that falls back gracefully when the parent README is absent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions