forked from python-attrs/attrs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Python 2 statement (python-attrs#498)
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,7 @@ Day-to-Day Usage | |
|
||
license | ||
backward-compatibility | ||
python-2 | ||
contributing | ||
changelog | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |