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

ssh2-python next #202

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

ssh2-python next #202

wants to merge 8 commits into from

Conversation

enkore
Copy link
Member

@enkore enkore commented Nov 23, 2023

No description provided.

JacobCallahan and others added 6 commits October 3, 2023 09:24
SafeConfigParser has been deprecated since Python 3.2 and was removed
in Python 3.12 entirely.
Per the release notes [1] it is recommended to use the ConfigParser
class now.

Additionally, the readfp method has been removed in favor of read_file.

[1] - https://docs.python.org/3.12/whatsnew/3.12.html#configparser
This included a number of changes related to the CPython API.

I additionally bumped the supported python versions in CI.
Constrained the Cython version to be less than 3.0, but greater than
0.29.34.
Updated the setup.py to account for the updated cythonize parameters.
Also made the appveyor version PEP440 compatible
Rebuilt the project with the latest version of Cython and unbound the
upper limit of Cython. This was a big jump, but now it a good time to
make it.
This commit adds all relevant files from the libssh2 repo, as of commit
631e773, with some additional attribution and licenses.
@enkore
Copy link
Member Author

enkore commented Nov 23, 2023

[email protected]: Permission denied (publickey).

hmm that kinda sounds like the CircleCI authorisation on this repo expired :/

while specified in the gcc options, this causes the extensions to not
link against libssh2 any more, with predictable outcomes
(i.e. runtime linking errors)
@JacobCallahan
Copy link

hmm that kinda sounds like the CircleCI authorisation on this repo expired :/

@enkore It may be possible to do most if not all of what circleci is providing within GitHub actions

@McTonderski
Copy link

Is there any way to help with this ?

@JacobCallahan
Copy link

Update: I couldn't wait any longer for this to be taken up, so I decided to publish a (hopefully) temporary package that works with python 3.12 (linux and mac) if you're interested in using it instead.
https://pypi.org/project/ssh2-python312/

@braincore
Copy link

@JacobCallahan Any chance your ssh2-python312 broke support for ed25519 private keys?

@JacobCallahan
Copy link

@braincore that's not a format I've ever used, so I really do not know. My fork is currently in a very limited support mode, since my primary focus for ssh libraries is Hussh. However, I will likely put some effort into updating it for Python 3.13.

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 this pull request may close these issues.

4 participants