Skip to content

Python sync: build from source fails on missing README file #4932

@liorsve

Description

@liorsve

Describe the bug

Description

When building from the sdist, the build fails because setup.py tries to read README.md at module-level import time, but the file isn't present in the expected location during isolated builds.

This is probably a sub issue of - #4884

Expected Behavior

build success

Current Behavior

Build fails with error:

FileNotFoundError: [Errno 2] No such file or directory: '/tmp/build-via-sdist-xxxxx/README.md'

Reproduction Steps

python3 dev.py build --client sync --wheel

Possible Solution

No response

Additional Information/Context

No response

Client version used

2.1.0+

Engine type and version

all

OS

all

Language

Python

Language Version

all

Cluster information

No response

Logs

No response

Other information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions