Add official notice to deprecate 3.2 support

Please note that no date has been specified - It is left to the
discretion of the developers when the support will be officially gone.
February 2016 is given since it is the EOL for the distros still using
it.
This commit is contained in:
Vgr E. Barry 2015-11-10 09:43:59 -05:00
parent 346af23a5d
commit a63c7b5e0d

View File

@ -20,10 +20,22 @@
import sys
if sys.version_info < (3, 2):
print('Python 3.2 or newer is required to run the bot.')
print("Python 3.2 or newer is required to run the bot.")
sys.exit(1)
import time
if sys.version_info < (3, 3):
print("*** WARNING ***".center(80),
"Starting February 2016, Python 3.2 support will be officially dropped.",
"The minimum requirement will be increased to Python 3.3",
"Please make sure to upgrade by then, or stick with an older revision.", "",
"Concerns and questions may be asked on the official development channel",
" in ##werewolf-dev over at irc.freenode.net", "",
"You may also open an issue on the issue tracker in the GitHub repository",
" located at https://github.com/lykoss/lykos", "",
"The lifetime of Python 3.2 support may be extended on request.", "",
"Thank you for your interest in this IRC bot!", "",
"- The lykos development team", "", sep="\n", file=sys.stderr)
import traceback
from oyoyo.client import IRCClient
@ -32,7 +44,6 @@ import botconfig
import src
from src import handler
def main():
cli = IRCClient(
{"privmsg": handler.on_privmsg,