Skip to content

Instantly share code, notes, and snippets.

@karantan
Created August 31, 2018 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karantan/4ae73250fb269d8667c9df282ee3607e to your computer and use it in GitHub Desktop.
Save karantan/4ae73250fb269d8667c9df282ee3607e to your computer and use it in GitHub Desktop.
Poetry pyproject.toml github dep example
[tool.poetry]
name = "foo"
version = "0.1.0"
description = "Foo"
authors = ["Gasper Vozel <karantan@gmail.com>"]
[tool.poetry.dependencies]
python = "3.6.5"
ansible = { git = "https://github.com/karantan/ansible", branch = "stable-2.6" }
[tool.poetry.dev-dependencies]
@karantan
Copy link
Author

This doesn't work because poetry doesn't find .egg-info in the package. This line fails: https://github.com/sdispater/poetry/blob/master/poetry/puzzle/provider.py#L196 with the following error:

OSError: [Errno 62] Too many levels of symbolic links: '/var/folders/fk/39r4_x312jnb1qz_pv27jg280000gn/T/pypoetry-git-ansibley1_w2fqn/test/integration/targets/copy/files/subdir/subdir1/invalid'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment