sublee / trueskill

An implementation of the TrueSkill rating system for Python
https://trueskill.org/
Other
742 stars 112 forks source link

Drop support for EOL Python #30

Closed hugovk closed 5 years ago

hugovk commented 5 years ago

Python 2.5-2.6 and 3.0.-3.3 are EOL and no longer receiving security updates (or any updates) from the core Python team.

They're also little used.

Here's the pip installs for trueskill from PyPI for August 2018:

python_version percent download_count
3.6 99.95% 3,412,663
3.5 0.04% 1,307
2.7 0.02% 521
3.7 0.00% 26
3.4 0.00% 4
Total 3,414,521

Source: pypinfo --start-date 2018-08-01 --end-date 2018-08-31 --json trueskill pyversion

This PR drops support for them, and upgrades the syntax to make use of newer Python features.

It adds python_requires to help pip install the correct version of the package depending on a user's Python version.

It also includes #29 so the CI doesn't fail.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 92.208% when pulling 8a83807bd875be7f025fc57fe055270b2a924c8a on hugovk:rm-eol into e35d7276211b04d6ad940d347842814b674a5308 on sublee:master.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 92.208% when pulling 8a83807bd875be7f025fc57fe055270b2a924c8a on hugovk:rm-eol into e35d7276211b04d6ad940d347842814b674a5308 on sublee:master.