poetry is unable to parse all valid setup.py files, by design. As such, I do not believe it's currently possible to install CaImAn with poetry, as version info is read from another file.
I suggest that we allow specifiying version for git repos:
caiman = { git = "https://github.com/flatironinstitute/CaImAn.git", tag = "v1.8.4", version="1.8.4" }}
I just ran into this issue installing vispy (poetry add git+https://github.com/vispy/vispy.git)
similar issue on path dependencies as well
This should also help in cases where the original package doesn't have a setup.py at all, as it the case with me.
+1
I need this.
nbdev-generated packages' version can't be retrieved by Poetry too.
There are other incompatibilities trying to install an nbdev package from a directory or a git repo, due to the dynamic nature of its setup.py. At least name, install_requires and version parameters need to be explicitly set for Poetry to work.
Most helpful comment
similar issue on
pathdependencies as well