Skip to content

Improve git dependencies support#1549

Merged
sdispater merged 2 commits intomasterfrom
improve-git-dependencies-support
Nov 7, 2019
Merged

Improve git dependencies support#1549
sdispater merged 2 commits intomasterfrom
improve-git-dependencies-support

Conversation

@sdispater
Copy link
Copy Markdown
Member

Pull Request Check List

  • Added tests for changed code.
  • Updated documentation for changed code.

This PR improves the way the git and path dependencies are retrieved once installed. Up until this PR it was not possible to make the distinction between path dependencies that happen to be git repositories because pip freeze would only return the git repository url. This is now fixed by using importlib-metadata and some tricks to detect the dependency type by using the location.

This PR also adds more git url formats when adding a dependency.

@sdispater sdispater added kind/bug Something isn't working as expected kind/feature Feature requests/implementations labels Nov 6, 2019
@sdispater sdispater added this to the 1.0 milestone Nov 6, 2019
@sdispater sdispater merged commit bf2d515 into master Nov 7, 2019
@sdispater sdispater deleted the improve-git-dependencies-support branch November 7, 2019 21:02
shenek pushed a commit to shenek/poetry that referenced this pull request Dec 31, 2019
* Improve the InstalledRepository class

* Improve support for git dependencies
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 1, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

kind/bug Something isn't working as expected kind/feature Feature requests/implementations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant