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
Coverage: 90.61%. Remained the same when pulling 6e34643fd31ac57bfccc599047da9ca202f119eb on MusikPolice:musikpolice/python-3.10 into 76ad82303fcbf0e4ab421dbfbb39e4a4cc76aecc on jmathai:master.
Conditional upgrade of
future
tov0.18.3
andtabulate
tov0.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:
with
python
version 3.10.6 andpip
version 22.0.2