build: editable dependencies in Python breaks build command
Open
area/build
maintainer/need-response
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 1.2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 52
Description
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
Contributor guide
Assessment
This issue has not been assessed yet.