Skip to content

Commit 7c6ee58

Browse files
committed
Fix deprecation warning message
1 parent 6d44091 commit 7c6ee58

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setuptools_git_versioning.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def parse_config(dist, attr, value): # type: (Distribution, Any, Any) -> None
137137
warnings.warn(
138138
"`version_config` option is deprecated "
139139
"since setuptools-git-versioning v1.8.0 "
140-
"and will be dropped in v2.0.\n"
140+
"and will be dropped in v2.0.0\n"
141141
"Please rename it to `setuptools_git_versioning`",
142142
category=UserWarning,
143143
)
@@ -156,8 +156,8 @@ def infer_version(dist): # type: (Distribution) -> None
156156
if isinstance(value, bool):
157157
warnings.warn(
158158
"Passing boolean value to `version_config`/`setuptools_git_versioning` option is deprecated "
159-
"since setuptools-git-versioning 1.8.0"
160-
"and will be dropped in v2.0.\n"
159+
"since setuptools-git-versioning 1.8.0 "
160+
"and will be dropped in v2.0.0\n"
161161
"Please change value to `{'enabled': False/True}`",
162162
category=UserWarning,
163163
)
@@ -317,7 +317,7 @@ def version_from_git(
317317
warnings.warn(
318318
"Python 2.7 and 3.6 support is deprecated "
319319
"since setuptools-git-versioning v1.8.0 "
320-
"and will be dropped in v2.0.\n"
320+
"and will be dropped in v2.0.0\n"
321321
"Please upgrade your Python version to 3.7+",
322322
category=UserWarning,
323323
)

0 commit comments

Comments
 (0)