-
Notifications
You must be signed in to change notification settings - Fork 73
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 #193
Comments
@thewchan here's the relevant section from the release notes. https://docs.python.org/3.12/whatsnew/3.12.html#configparser configparser configparser.ParsingError no longer has a filename attribute or argument. Use the source attribute and argument instead. configparser no longer has a SafeConfigParser class. Use the shorter ConfigParser name instead. configparser.ConfigParser no longer has a readfp method. Use read_file() instead. |
May I ask if this is still being worked on? Did #194 fix this or not? What is the problem? Does it need a new release? 1.0.0 still does not build on python 3.12 |
@besendorf since the owner is inactive, I've published a temporary package for 3.12 (terribly) named ssh2-python312. |
just ran into this ssh-python also has the same issue and a fork https://github.com/MartinNowak/ssh-python/tree/fix-82-python-312 has the needed versioneer.py fixes. I generated a patch from his branch and it works on ssh2-python versioneer.py. if you
|
@erpadmin I haven't yet tried to install my forked package (ssh2-python312) on python 3.13 yet, but this repo is currently inactive. If you need it for Python 3.13, you can try that and see if it works. However, my primary maintenance priority for 3.13 is the newer project "Hussh" (jacobcallahan/hussh) if you want to try that as well. It is a higher-level interface and should get 3.13 builds soon. |
Python API in 3.12 seems to have changed particularly:
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
During build.
The text was updated successfully, but these errors were encountered: