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.

add `develop` option for git dependencies

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

It would be nice to add develop option for git dependencies. So it would work in the similar way as path dependencies.

Rationale

Currently there’s no way to specify that git dependencies should be installed in non-editable mode (develop=false). So all git dependencies are installed in develop / editable (pip -e ...) mode.

Now imagine a situation that you are e.g. installing the dependency from your private repository using a tag (always points to the same commit). In this case you don’t want that dependency to be installed in develop mode (the source directory is not going to change). You want to use install instead of develop.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
0xF4D3C0D3commented, May 14, 2020

@dazza-codes that’s what I think, too. the poetry-core already fixed it. However, when would it be merged with poetry? I think this is a quite big issue for some people like me who uses private git repo as a private python package registry.

1reaction
ahobsonsayerscommented, Jul 25, 2020

@abn Thanks for pointing this out, I updated poetry to the latest preview version and the develop flag now works perfectly 😁

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git and Project Dependencies | Atlassian Git Tutorial
Dependencies are an important aspect of software development. ... First choice: Use an appropriate build/dependency tool instead of git.
Read more >
Adding package dependencies to your app - Apple Developer
When you add a package dependency to a project, Xcode creates the Package.resolved file. It lists the specific Git commits to which each...
Read more >
Git dependencies - Unity - Manual
Git dependencies. When the Package Manager fetches a package from a Git repository, it adds the package locally to your project.
Read more >
Managing Dependencies with Git and bonus advance concepts
Git allows you to add other git repos as submodules, this means your project will follow a modular approach and you can update...
Read more >
Is it possible to declare git repository as dependency in ...
There is now a new feature in gradle that lets you add source dependencies from git. You first need to define the repo...
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