After upgrade to 1.47 - ERROR: File "setup.py" not found. Directory cannot be installed in editable mode
Once I upgrader to 1.47, once I 'freeze" into the requirements.txt, I get the following error:
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: along with the folder name.
This happens both in my existing stacks, as well as in the new stacks I create.
Reproduction Steps
pip install -r requirements.txt All OK
pip install aws-cdk.aws-s3 aws-cdk.aws-cloudformation All OK
pip freeze > requirements.txt All OK, requirements gets the last installed packages
pip install -r requirements.txt
Error Log
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /Users/mjovanovic/unicornstartup/unicornstartup
Environment
- **CLI Version : 1.47.0
- **Framework Version:
- Node.js Version: v14.3.0
- **OS : MacOS Catalina
- Language (Version): Python
This is :bug: Bug Report
Not sure if this is a bug or not, but it seems that when there's a git install with no remote, this line is added to requirements.txt:
Editable Git install with no remote (unicornstartup==0.0.1)
-e /Users/mjovanovic/unicornstartup/unicornstartup
This is what causes an error. Im closing the issue