From 353b790540f7497404fdd6f99e08fb91cfed3854 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sat, 9 Feb 2019 14:45:26 +0100 Subject: [PATCH] Add Python 2 statement --- docs/index.rst | 1 + docs/python-2.rst | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 docs/python-2.rst diff --git a/docs/index.rst b/docs/index.rst index 18ce36302..8e88be0d2 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -60,6 +60,7 @@ Day-to-Day Usage license backward-compatibility + python-2 contributing changelog diff --git a/docs/python-2.rst b/docs/python-2.rst new file mode 100644 index 000000000..4fdf2c9b2 --- /dev/null +++ b/docs/python-2.rst @@ -0,0 +1,25 @@ +Python 2 Statement +================== + +While ``attrs`` has always been a Python 3-first package, we the maintainers are aware that Python 2 will not magically disappear in 2020. +We are also aware that ``attrs`` is an important building block in many people's systems and livelihoods. + +As such, we do **not** have any immediate plans to drop Python 2 support in ``attrs``. +We intend to support is as long as it will be technically feasible for us. + +Feasibility in this case means: + +1. Possibility to run the tests on our development computers, +2. and **free** CI options. + +This can mean that we will have to run our tests on PyPy, whose maintainters have unequivocally declared that they do not intend to stop the development and maintenance of their Python 2-compatible line at all. +And this can mean that at some point, a sponsor will have to step up and pay for bespoke CI setups. + +**However**: there is no promise of new features coming to ``attrs`` running under Python 2. +It is up to our discretion alone, to decide whether the introduced complexity or awkwardness are worth it, or whether we choose to make a feature available on modern platforms only. + + +Summary +------- + +We will do our best to support existing users, but nobody is entitled to the latest and greatest features on a platform that is officially end of life.