Bump minimum python version to 3.7.0 (#2394)

This is in anticipation of #2246, although I've written that PR to not break on 3.6, the feature itself is not usable on 3.6. So I think the best way forward is to simply require python 3.7. This also allows devs and cog creators to utilise all of the new features in 3.7, and it also updates the docs so all operating systems will have 3.7 installed.

Signed-off-by: Toby <tobyharradine@gmail.com>
This commit is contained in:
Toby Harradine
2019-01-30 14:07:53 +11:00
committed by GitHub
parent c7d98f88e8
commit 016a6d3aa6
13 changed files with 99 additions and 82 deletions

View File

@@ -8,6 +8,7 @@ import asyncio
import aiohttp
import pkg_resources
from redbot import MIN_PYTHON_VERSION
from redbot.setup import (
basic_setup,
load_existing_config,
@@ -28,12 +29,6 @@ INTRO = "==========================\nRed Discord Bot - Launcher\n===============
IS_WINDOWS = os.name == "nt"
IS_MAC = sys.platform == "darwin"
if IS_WINDOWS:
# Due to issues with ProactorEventLoop prior to 3.6.6 (bpo-26819)
MIN_PYTHON_VERSION = (3, 6, 6)
else:
MIN_PYTHON_VERSION = (3, 6, 2)
PYTHON_OK = sys.version_info >= MIN_PYTHON_VERSION