-
Notifications
You must be signed in to change notification settings - Fork 4
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
Use versioningit with hatch to get version based on git #126
Conversation
pyproject.toml
Outdated
@@ -118,3 +122,6 @@ exclude_lines = [ | |||
|
|||
[tool.pytest.ini_options] | |||
testpaths = ["tests"] | |||
|
|||
[tool.versioningit] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe you want to change this table to [tool.versioningit.write]
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks. I have changed that (pushing) but that didn't help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removal of that path to about fixed it!
pyproject.toml
Outdated
@@ -97,6 +97,10 @@ extra-dependencies = [ | |||
[tool.hatch.envs.types.scripts] | |||
check = "mypy --install-types --non-interactive {args:src/reprostim tests}" | |||
|
|||
[tool.hatch.version] | |||
path = "src/reprostim/__about__.py" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line won't do anything when using versioningit
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ha -- removal of this line seems have fix it!!!
f34c522
to
e4d9c43
Compare
e4d9c43
to
48b50c3
Compare
Seems to not produce
src/reprostim/_version.py
file ATM...