Skip to content

build: editable dependencies in Python breaks build command #818

Open
@sthulb

Description

@sthulb

Currently, sam build uses a requirements.txt file to install dependancies, if a dep is marked as editable (-e in the file), it causes the build command to break with:
OSError: [Errno 30] Read-only file system: '/tmp/samcli/source/src'

This could potentially causes issues in a number of situations, most notably, people who use the same requirements.txt file for development and for build.

Ideally, sam build would strip/sanitise the requirements.txt to remove any flags for the build command.


SAM CLI Version: 0.8.0

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