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

Support Python 3.12 #764

Closed
rzvoncek opened this issue May 16, 2024 · 2 comments · Fixed by #849
Closed

Support Python 3.12 #764

rzvoncek opened this issue May 16, 2024 · 2 comments · Fixed by #849
Labels
good first issue Good for newcomers help-wanted Issues in the state 'help-wanted'

Comments

@rzvoncek
Copy link
Contributor

rzvoncek commented May 16, 2024

Project board link

A fresh Ubuntu 24.04 LTS now installs Python 3.12 by default.
At the moment, Medusa does not support this, there's some dependency issue. Also, pip installing off a branch won't work.

┆Issue is synchronized with this Jira Story by Unito
┆Reviewer: Alexander Dejanovski
┆Issue Number: MED-10

@rzvoncek rzvoncek moved this to Help Wanted in K8ssandra May 24, 2024
@adejanovski adejanovski added the help-wanted Issues in the state 'help-wanted' label May 24, 2024
@rzvoncek rzvoncek added the good first issue Good for newcomers label May 24, 2024
@rzvoncek
Copy link
Contributor Author

rzvoncek commented Jan 7, 2025

Had another go at this. The parallel-ssh, ssh-python and ssh2-python libraries are no longer maintaned. It might be possible to re-package them for Python 3.12 onwards, but then we'd need to maintain that.

A more feasible aproach seems to be to rewrite our parallel ssh code to use asyncssh instead.

Copy link

sync-by-unito bot commented Feb 3, 2025

➤ Radovan Zvoncek commented:

There was a handful of ssh libraries that did not support python 3.12. Recently, they got a fresh release that adds the missing support.

Bumping the libraries, plus few others, I’ve managed to have CI pass with python 3.12: #849 ( https://github.com/thelastpickle/cassandra-medusa/pull/849|smart-link )

There are few extra commits changing how we deal with management api JARs. The management api started to do releases, so the “latest” we pull leads to different file names, which we were not handling properly in the ITs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help-wanted Issues in the state 'help-wanted'
Projects
None yet
2 participants