Diaoul / babelfish

BabelFish is a Python library to work with countries and languages
BSD 3-Clause "New" or "Revised" License
25 stars 13 forks source link

Add support for Python 3.6-3.9, drop EOL 2.6 and 3.2-3.4 #29

Closed hugovk closed 4 years ago

hugovk commented 4 years ago

Fixes #28.

This PR:

Declares support for and tests new Python 3.6-3.8.

It tests on Python 3.9-dev, due out in October, but already in alpha. It fixes a removed deprecation to use collections.abc where available.

This also drops support for EOL Python 2.6, 3.2-3.4.

Add python_requires metadata to help pip install for people on older Python versions.

I haven't removed EOL 2.7 yet, but would recommend doing so as well. Please let me know if you'd like that removing too, but I mainly recommend getting the 3.9 fix in as soon as possible.

Thank you!

hugovk commented 4 years ago

Passing CI build:

Here's a build before the 3.9 fix, showing the problem: