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

Support venv/src/ not being a valid git dir #6308

Closed

Conversation

Alphadelta14
Copy link

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.

@abn
Copy link
Member

abn commented Jan 17, 2025

This is no longer an issue. See #6322 (comment).

@abn abn closed this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants