We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c903ad commit 8db7c51Copy full SHA for 8db7c51
duckdb_packaging/setuptools_scm_version.py
@@ -133,10 +133,7 @@ def _git_describe_override_to_pep_440(override_value: str) -> str:
133
134
# Bump version and format according to PEP440
135
distance = int(distance or 0)
136
- if distance == 0 and not version.dirty:
137
- pep440_version = _tag_to_version(str(version))
138
- else:
139
- pep440_version = _bump_dev_version(str(version), distance)
+ pep440_version = _tag_to_version(str(version)) if distance == 0 else _bump_dev_version(str(version), distance)
140
if commit_hash:
141
pep440_version += f"+g{commit_hash.lower()}"
142
0 commit comments