Skip to content

Cannot use Pip 'editable' mode to develop BuildStream 2 #1760

@ssssam

Description

@ssssam

As noted here: #1741 (comment) - the pip install --editable feature is not recommended for Bst development.

One issue is that Cython source files are not watched for changes, so modifying those .pyx files does not update the generated .c and .so files.

Editable installs are standardised since https://peps.python.org/pep-0660/, which aims to "[let] project authors select the backend or implement the method that provides the editable mechanism that best suit their requirements, and test it works correctly."

This is a tracking issue for someone to do the work of selecting and testing an 'editable install' mechanism that works for Bst 2. In the meantime we will warn developers to avoid --editable mode.

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