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

Fix versioneer parsing version prefix #539

Merged
merged 2 commits into from
Nov 6, 2023
Merged

Fix versioneer parsing version prefix #539

merged 2 commits into from
Nov 6, 2023

Conversation

mattwthompson
Copy link
Member

$ git checkout upstream/main && python setup.py version && git checkout - && python setup.py version
Note: switching to 'upstream/main'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at e053535 Update versioneer (#537)
/Users/mattthompson/mambaforge/envs/evaluator-test-env/lib/python3.11/site-packages/setuptools/dist.py:314: InformationOnly: Normalizing '0.1.0-beta.4+211.ge053535' to '0.1.0b4+211.ge053535'
  self.metadata.version = self._normalize_version(
running version
keywords are unexpanded, not using
got version from VCS {'version': '0.1.0-beta.4+211.ge053535', 'full-revisionid': 'e05353572f87aa42129b00f62c3f98f405356fc7', 'dirty': False, 'error': None, 'date': '2023-10-19T09:36:53-0500'}
Version: 0.1.0-beta.4+211.ge053535
 full-revisionid: e05353572f87aa42129b00f62c3f98f405356fc7
 dirty: False
 date: 2023-10-19T09:36:53-0500
Previous HEAD position was e053535 Update versioneer (#537)
Switched to branch 'fix-versioneer'
running version
keywords are unexpanded, not using
got version from VCS {'version': '0.4.7+3.gdafc597', 'full-revisionid': 'dafc597f59c6859e473c5634ee29b0f60eae0630', 'dirty': False, 'error': None, 'date': '2023-11-06T10:08:45-0600'}
Version: 0.4.7+3.gdafc597
 full-revisionid: dafc597f59c6859e473c5634ee29b0f60eae0630
 dirty: False
 date: 2023-11-06T10:08:45-0600

Copy link

codecov bot commented Nov 6, 2023

Codecov Report

Merging #539 (5ea416e) into main (90e7053) will increase coverage by 0.14%.
The diff coverage is n/a.

Additional details and impacted files

@mattwthompson mattwthompson merged commit 9170cc1 into main Nov 6, 2023
15 checks passed
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.

1 participant