Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve git dependencies support #1549

Merged
merged 2 commits into from
Nov 7, 2019
Merged

Conversation

sdispater
Copy link
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
Copy link

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