Python 3.12 Support
ddkasa opened this issue · comments
Is there python 3.12 support in the works as at the moment I am getting an error, as distutils was removed from this version.
Fatal error from pip prevented installation. Full pip output in file:
/home/dk/.local/pipx/logs/cmd_2024-01-18_11.23.34_pip_errors.log
pip failed to build package:
pendulum
Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
ModuleNotFoundError: No module named 'distutils'
subprocess.CalledProcessError: Command '['/home/dk/.local/pipx/venvs/togglcli/bin/python', 'build.py']' returned non-zero exit status 1.
Error installing togglcli.
It says the pendulum module failed to build, but 3.12 works with newer versions of Pendulum
if installed seperately.
I don't mind contributing with PRs, but I just don't know what is actually in progress and what needs to be done exactly?
Thanks for reporting! And no, there is no work on this atm (at least from my side), so if you would like to work on it and submit PR, that would be great!
So after further inspection, the Pendulum version that supports 3.12 does drop 3.7, so I am not to sure how to proceed, as the current Togglcli version is supporting it at the moment?
Oh, we are supporting only active Python versions and from looking at 3.7, it is already at "end-of-live" station, so it is fine to drop it ;-)