poetry icon indicating copy to clipboard operation
poetry copied to clipboard

Support venv/src/ not being a valid git dir

Open Alphadelta14 opened this issue 2 years ago • 0 comments

Pull Request Check List

After updating to latest 1.2, we ran into an issue where we had a lot of pre-existing /venv/src directories that we kept license metadata in for distribution which were suddenly being parsed by Poetry as git repos (and obviously failing).

This just adds a simple lookahead to make sure that we aren't trying to create git repositories where they don't belong.

We will be moving our license files into /venv/share/doc in the future, but I can't imagine we were the only folks to have run into this.

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

Alphadelta14 avatar Aug 31 '22 20:08 Alphadelta14