Skip to content

Comments

Fix VCS when git is not in PATH#2105

Merged
finswimmer merged 1 commit intopython-poetry:masterfrom
adisbladis:vcs-git-path
Feb 29, 2020
Merged

Fix VCS when git is not in PATH#2105
finswimmer merged 1 commit intopython-poetry:masterfrom
adisbladis:vcs-git-path

Conversation

@adisbladis
Copy link
Contributor

@adisbladis adisbladis commented Feb 28, 2020

This is a regression in 1.0.4, errors out when Git is not in PATH.

Fixes: #2108
Fixes: #2107

Pull Request Check List

This is just a reminder about the most common mistakes. Please make sure that you tick all appropriate boxes. But please read our contribution guide at least once, it will save you unnecessary review cycles!

- [ ] Added tests for changed code.
- [ ] Updated documentation for changed code.

Note: If your Pull Request introduces a new feature or changes the current behavior, it should be based
on the develop branch. If it's a bug fix or only a documentation update, it should be based on the master branch.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!

cc @sdispater @finswimmer

Copy link
Member

@finswimmer finswimmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch 👍

Thanks a lot!

@finswimmer finswimmer merged commit ae96feb into python-poetry:master Feb 29, 2020
@cjjohansen
Copy link

poetry version 1.1.13
This is still an issue for me. I get this error when running poetry install from docker file

@neersighted
Copy link
Member

poetry version 1.1.13 This is still an issue for me. I get this error when running poetry install from docker file

Please open a new issue if you're experiencing a regression with details and a reproduction. Additionally, Poetry 1.2 is in beta and should not have this issue as we no longer depend on a system Git client -- please test it in your environment if you are able.

@IsaacDayan
Copy link

I fixed it installing git on the docker file (poerty 1.1)
(or using Poetry 1.2 , which is in beta)

@github-actions
Copy link

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 Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FileNotFoundError] [Errno 2] No such file or directory: 'git' - Poetry 1.0.4 get_vcs fails if git is not installed

5 participants