Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.12 Support #318

Closed
ddkasa opened this issue Jan 18, 2024 · 3 comments · Fixed by #319
Closed

Python 3.12 Support #318

ddkasa opened this issue Jan 18, 2024 · 3 comments · Fixed by #319

Comments

@ddkasa
Copy link
Contributor

ddkasa commented Jan 18, 2024

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?

@AuHau
Copy link
Owner

AuHau commented Jan 22, 2024

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!

@ddkasa
Copy link
Contributor Author

ddkasa commented Jan 23, 2024

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?

@AuHau
Copy link
Owner

AuHau commented Jan 24, 2024

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 ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants