exporting to requirements.txt always prepends -e to dependencies
- [x] I am on the latest Poetry version.
- [x] I have searched the issues of this repo and believe that this is not a duplicate.
- [x] If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).
- Poetry version: 1.0.0b8
Issue
As reported by @petergaultney in https://github.com/sdispater/poetry/pull/1630 -e get always prepended for folder dependencies regardless develop = false is set in pyproject.toml or not.
Further investigation has shown, that this setting isn't transported poetry.lock. Overall develop = false doesn't have any effect as expected for now.
This also fails for urls:
en-core-web-sm = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.2.0/en_core_web_sm-2.2.0.tar.gz"}
becomes
-e https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.2.0/en_core_web_sm-2.2.0.tar.gz
instead of
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.2.0/en_core_web_sm-2.2.0.tar.gz \
--hash=sha256:65cea113d7509d5ab515583bbcbc9a31b4157bebbb73133d4110d2945476eaa4
Hello @NoahTheDuke ,
thanks a lot for reporting this!
The correct use of -e for folder dependencies is now fixed by python-poetry/poetry#1656 .
The fix for url dependencies need some more work. I already found out, what have to be done and I will provide another PR the next days.
fin swimmer