kiorky / croniter

MIT License
400 stars 39 forks source link

future incompatibility with Python 3.12 #63

Closed onkelbeh closed 7 months ago

onkelbeh commented 7 months ago

Homeassitant core installation, after upgrade to Python 3.12:

2024-03-14 18:54:49.684 ERROR (MainThread) [homeassistant.config] Setup of package 'utility_meter' at packages/Energy/utility_meter.yaml, line 1 failed: Integration utility_meter caused error: No module named 'future'

From Gentoo's package.mask:

- dev-python/future-0.18.3::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Eli Schwartz <eschwartz93@gmail.com> (2024-03-14)
# Deprecated, doesn't work with python 3.12. Unmaintained with last
# serious release in 2019, and another release in 2024 that claims
# to support python 3.12 but fails tests if you actually do. No
# route to making it work with python 3.13 at all, and upstream
# explicitly states that future "like Python 2, is now done". The
# package is entirely redundant to packages not supporting python
# 2 anymore, and the ones that do support it should be using
# dev-python/six instead, anyways.  Bug #888271
# Removal on 2024-04-13.
onkelbeh commented 7 months ago

sorry, now I saw that HA still uses 1.0.6 and the future deps was removed with 1.0.9.

kiorky commented 7 months ago

Whoah, and also using quite an old release, also :) 1.0.6 was already issued three years ago. I would recommend them to upgrade, croniter is mostly stable, and everything else is documented in changelog.