Make Python deprecation notice easier to maintain (#29900)

This commit is contained in:
Ville Skyttä authored and Paulus Schoutsen committed 2019-12-13 10:39:57 +01:00
1 parent 9fbb6d981a
commit 4d57de335c
2 files changed
+15 -5

No files matched your search

+3
View File
@@ -5,6 +5,9 @@ PATCH_VERSION = "0.dev0"
__short_version__ = "{}.{}".format(MAJOR_VERSION, MINOR_VERSION)
__version__ = "{}.{}".format(__short_version__, PATCH_VERSION)
REQUIRED_PYTHON_VER = (3, 6, 1)
# Truthy date string triggers showing related deprecation warning messages.
REQUIRED_NEXT_PYTHON_VER = (3, 7, 0)
REQUIRED_NEXT_PYTHON_DATE = "December 15, 2019"
# Format for platform files
PLATFORM_FORMAT = "{platform}.{domain}"