-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feat: version from git metadata #376
Conversation
- copy git directory for version metadata - move pre-commit install to postAttach - clean up deprecated settings
dd18814
to
f91a4d1
Compare
@thekaveman I'm wondering if you know what's going on here: I checked out the I'm confused on where this is coming from. Have you seen this before? |
So I think what you're seeing is Question: do you have untracked changes locally? I think that is where the |
Ah yes, I did. I have removed all untracked changes now. I've done as much as I can to start from a clean slate, i.e. I deleted all For example, when I run
@thekaveman What does your pip list show? |
support usage from the command line to print version info: python -m setuptools_scm
@angela-tran I think I know what is happening? I was also seeing the same Then I checked out the tag itself:
Then
So I think all this is saying is you're currently on a commit that is further in the future than the most recent tag, hence you must be on a new version, hence calculating that new version string. (I added |
This can be closed if #382 is approved and merged |
Closes #287
I'm noticing that
setuptools_scm
seems to want an annotated tag, because it usesTo get the version, which by default only lists annotated tags. See more: