elodie icon indicating copy to clipboard operation
elodie copied to clipboard

Python 3.10 Compatibility

Open MusikPolice opened this issue 1 year ago • 3 comments

Conditional upgrade of future to v0.18.3 and tabulate to v0.9.0 if and only if python version is > v3.10. This fixes the error "ImportError: cannot import name 'Iterable' from 'collections' in Python" on Python 3.10 and higher.

Tested on Ubuntu 22.04.2 LTS:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
Codename:       jammy

with python version 3.10.6 and pip version 22.0.2

MusikPolice avatar Mar 12 '23 15:03 MusikPolice

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 12 '23 15:03 CLAassistant

Coverage Status

Coverage: 90.61%. Remained the same when pulling 6e34643fd31ac57bfccc599047da9ca202f119eb on MusikPolice:musikpolice/python-3.10 into 76ad82303fcbf0e4ab421dbfbb39e4a4cc76aecc on jmathai:master.

coveralls avatar Mar 12 '23 15:03 coveralls

Thanks for submitting. Tests are only running on python 3.8 at the moment and supporting python3.10 is a mess atm (see gh-418).

jmathai avatar Mar 23 '23 20:03 jmathai