Add Python 2 statement (#498)

This commit is contained in:
Hynek Schlawack 2019-02-10 07:32:19 +01:00 committed by GitHub
parent 2f63f2c5fe
commit 7b37354aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View File

@ -60,6 +60,7 @@ Day-to-Day Usage
license
backward-compatibility
python-2
contributing
changelog

25
docs/python-2.rst Normal file
View File

@ -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.