Drop support for python 3.5

This commit is contained in:
Kovid Goyal 2020-03-05 18:31:20 +05:30
parent ac149be2bb
commit 81a58186c6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,7 @@ jobs:
cc: [gcc, clang] cc: [gcc, clang]
include: include:
- python: a - python: a
pyver: 3.5 pyver: 3.6
sanitize: 0 sanitize: 0
- python: b - python: b

View File

@ -66,6 +66,8 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
- Workaround for bug in less that causes colors to reset at wrapped lines - Workaround for bug in less that causes colors to reset at wrapped lines
(:iss:`2381`) (:iss:`2381`)
- Drop support for python 3.5
0.16.0 [2020-01-28] 0.16.0 [2020-01-28]
-------------------- --------------------

View File

@ -20,6 +20,8 @@ from collections import namedtuple
from contextlib import suppress from contextlib import suppress
from pathlib import Path from pathlib import Path
if sys.version_info[:2] < (3, 6):
raise SystemExit('kitty requires python >= 3.6')
base = os.path.dirname(os.path.abspath(__file__)) base = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, 'glfw') sys.path.insert(0, 'glfw')
glfw = importlib.import_module('glfw') glfw = importlib.import_module('glfw')