aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-06-24 10:17:41 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-06-24 10:17:41 -0400
commit542a921bb6943feb1c90874ba5151c94622b52b3 (patch)
tree393acc4af8e8a88c555f0147ec8c5e5adf6487b9
parent3cee4d8f79a20f1d67b194ee383dddd826695e0d (diff)
downloadexternal_python_setuptools-542a921bb6943feb1c90874ba5151c94622b52b3.tar.gz
external_python_setuptools-542a921bb6943feb1c90874ba5151c94622b52b3.tar.bz2
external_python_setuptools-542a921bb6943feb1c90874ba5151c94622b52b3.zip
Mark tag_svn_revision as deprecated. Ref #619.
-rw-r--r--CHANGES.rst6
-rwxr-xr-xsetuptools/command/egg_info.py4
2 files changed, 10 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index a6455292..055d7aa9 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -2,6 +2,12 @@
CHANGES
=======
+v23.1.0
+-------
+
+* #619: Deprecated ``tag_svn_revision`` distribution
+ option.
+
v23.0.0
-------
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index 829f03f9..5183eedc 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -199,6 +199,10 @@ class egg_info(Command):
if self.tag_build:
version += self.tag_build
if self.tag_svn_revision:
+ warnings.warn(
+ "tag_svn_revision is deprecated and will not be honored "
+ "in a future release"
+ )
version += '-r%s' % self.get_svn_revision()
if self.tag_date:
version += time.strftime("-%Y%m%d")