Skip to content

get_vcs fails if git is not installed #2107

@jr314159

Description

@jr314159
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

Issue

I am using poetry with tox. This commit breaks tox+poetry in an environment where git is not installed. ab66bb9

Reverting to version 1.0.3 solves the issue.

My tox.ini looks like this:

[tox]
isolated_build = true
envlist = py37

[testenv]
deps = poetry
commands =
    poetry install -v
    poetry run pytest -s --doctest-modules

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions