question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Specify version for git dependency

See original GitHub issue
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

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" }}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:32
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
jfaleirocommented, May 29, 2020

similar issue on path dependencies as well

0reactions
finswimmercommented, Mar 26, 2022

Poetry is able to get metadata, that are generated dynamically, for a longer time now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Specify dependency version >= for git repository in pyproject ...
In this particular case with >= 1.2 it should take 1.2.1 , 1.2.2 , 1.3 , 1.157.256 or any other commit with version...
Read more >
Specifying Dependencies - The Cargo Book
It is possible to specify both a registry version and a git or path location. The git or path dependency will be used...
Read more >
Git dependencies - Unity - Manual
When you add a Git dependency with a revision set to a branch or a tag, the Package Manager fetches the corresponding commit...
Read more >
Package dependencies - Dart
Specifying version constraints lets people using your package know which versions of its dependencies they can rely on to be compatible with your...
Read more >
Dependency specification | master | Documentation - Poetry
Tilde requirements specify a minimal version with some ability to update. If you specify a major, minor, and patch version or only a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found