Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Don't complain when running poetry in a non git repo #33

Closed
davidolrik opened this issue Sep 15, 2023 · 1 comment
Closed

Don't complain when running poetry in a non git repo #33

davidolrik opened this issue Sep 15, 2023 · 1 comment

Comments

@davidolrik
Copy link

When ever I run poetry in a non git repo I get the following error:

poetry-git-version-plugin: ValueError: Reference at 'refs/heads/main' does not exist. Ignore Exception.

As it is not a git repo, the plugin should not kick in, an this not show any errors.

@tiangolo
Copy link
Owner

tiangolo commented Sep 8, 2024

Thanks for the patience with my reply! 😅

I just marked this project as deprecated, I'm currently not using it and I think these ideas can be achieved in better ways: https://github.com/tiangolo/poetry-version-plugin#-warning-deprecated-

Given that I'll close this one, but thanks for the interest! ☕

@tiangolo tiangolo closed this as completed Sep 8, 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

No branches or pull requests

2 participants