Hi!
Thanks for the tool. Migrating from pipenv to poetry.
It would be great to see git refs support in poetry add. Every so often I install packages from Git branches/pull requests. Currently this syntax does not work:
-> % poetry add nornir --git https://github.com/nornir-automation/nornir.git@2.0
Updating dependencies
Resolving dependencies... (0.6s)
[CalledProcessError]
Command '['git', 'clone', 'https://github.com/nornir-automation/nornir.git@2.0', '/var/folders/js/jzwkkbb53nd7ns_53g069nlr0000gn/T/pyp
oetry-git-norniryq5f776b']' returned non-zero exit status 128.
add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)...
I have to add it manually in pyproject.toml, but I would love to avoid that:
[tool.poetry.dependencies]
python = "*"
nornir = { git = "https://github.com/nornir-automation/nornir.git", branch = "2.0" }
I don't exclude that requested functionality is already available, but I could find it in the docs.
Thanks!
Hi!
Thanks for the tool. Migrating from pipenv to poetry.
It would be great to see git refs support in
poetry add. Every so often I install packages from Git branches/pull requests. Currently this syntax does not work:I have to add it manually in
pyproject.toml, but I would love to avoid that:I don't exclude that requested functionality is already available, but I could find it in the docs.
Thanks!