{"action":"created","issue":{"url":"https://api.github.com/repos/micheles/decorator/issues/52","repository_url":"https://api.github.com/repos/micheles/decorator","labels_url":"https://api.github.com/repos/micheles/decorator/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/micheles/decorator/issues/52/comments","events_url":"https://api.github.com/repos/micheles/decorator/issues/52/events","html_url":"https://github.com/micheles/decorator/pull/52","id":353741648,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNzEwMjkx","number":52,"title":"Drop support for EOL Python versions","user":{"login":"hugovk","id":1324225,"node_id":"MDQ6VXNlcjEzMjQyMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/1324225?v=4","gravatar_id":"","url":"https://api.github.com/users/hugovk","html_url":"https://github.com/hugovk","followers_url":"https://api.github.com/users/hugovk/followers","following_url":"https://api.github.com/users/hugovk/following{/other_user}","gists_url":"https://api.github.com/users/hugovk/gists{/gist_id}","starred_url":"https://api.github.com/users/hugovk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugovk/subscriptions","organizations_url":"https://api.github.com/users/hugovk/orgs","repos_url":"https://api.github.com/users/hugovk/repos","events_url":"https://api.github.com/users/hugovk/events{/privacy}","received_events_url":"https://api.github.com/users/hugovk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-24T11:09:54Z","updated_at":"2018-08-24T14:13:55Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/micheles/decorator/pulls/52","html_url":"https://github.com/micheles/decorator/pull/52","diff_url":"https://github.com/micheles/decorator/pull/52.diff","patch_url":"https://github.com/micheles/decorator/pull/52.patch"},"body":"Python 2.6 to 3.3 are EOL and no longer receiving security updates (or any updates) from the core Python team for quite some time:\r\n\r\nVersion | EOL date\r\n--- | ---\r\n2.6 | 2013-10-29\r\n3.0 | 2009-06-27\r\n3.1 | 2012-04-09\r\n3.2 | 2016-02-27\r\n3.3 | 2017-09-29\r\n\r\nThey're also relatively little used. Here's the pip installs for decorator from PyPI for July 2018:\r\n\r\n| python_version | percent | download_count |\r\n| -------------- | ------: | -------------: |\r\n| 3.6            |  40.82% |        958,846 |\r\n| 2.7            |  39.22% |        921,199 |\r\n| 3.5            |  13.21% |        310,208 |\r\n| 3.4            |   3.92% |         92,134 |\r\n| 3.7            |   1.89% |         44,332 |\r\n| 2.6            |   0.93% |         21,878 |\r\n| 3.3            |   0.01% |            246 |\r\n| 3.8            |   0.00% |             67 |\r\n| 3.2            |   0.00% |              8 |\r\n| None           |   0.00% |              1 |\r\n| Total          |         |      2,348,919 |\r\n\r\nSource: `pypinfo --start-date 2018-07-01 --end-date 2018-07-31 --percent --markdown decorator pyversion`\r\n\r\nThis PR drops support for EOL versions, removes redundant code and modernises some code to use newer Python features. It also adds `python_requires` to setup.py to help pip install the right version of decorator for the user's Python version."},"comment":{"url":"https://api.github.com/repos/micheles/decorator/issues/comments/415771590","html_url":"https://github.com/micheles/decorator/pull/52#issuecomment-415771590","issue_url":"https://api.github.com/repos/micheles/decorator/issues/52","id":415771590,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTc3MTU5MA==","user":{"login":"micheles","id":2463856,"node_id":"MDQ6VXNlcjI0NjM4NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/2463856?v=4","gravatar_id":"","url":"https://api.github.com/users/micheles","html_url":"https://github.com/micheles","followers_url":"https://api.github.com/users/micheles/followers","following_url":"https://api.github.com/users/micheles/following{/other_user}","gists_url":"https://api.github.com/users/micheles/gists{/gist_id}","starred_url":"https://api.github.com/users/micheles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheles/subscriptions","organizations_url":"https://api.github.com/users/micheles/orgs","repos_url":"https://api.github.com/users/micheles/repos","events_url":"https://api.github.com/users/micheles/events{/privacy}","received_events_url":"https://api.github.com/users/micheles/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T14:13:55Z","updated_at":"2018-08-24T14:13:55Z","author_association":"OWNER","body":"> python_requires would ensure people on unsupported Python would still get the last version of decorator that did support that version. See https://packaging.python.org/guides/dropping-older-python-versions/ It's probably a good idea to add this anyway, for those versions which are supported.\r\n\r\nThat's good, I will add it myself.\r\n\r\n> The %s is documented as obsolete in the Python 3.0 docs\r\n\r\nYes, that was the plan, but if I remember correctly they undeprecated it later on, this is why it is still there in Python 3.7. But I may be remembering incorrectly."}}
{"actor":{"display_login":"micheles"}}