JohnDoee / deluge-client

A very lightweight pure-python Deluge RPC Client
MIT License
87 stars 14 forks source link

Support Python 3.12 #45

Closed tobbez closed 6 months ago

tobbez commented 10 months ago

The ssl.wrap_socket function was removed in Python 3.12:

https://docs.python.org/3/whatsnew/3.12.html?highlight=ssl%20wrap_socket#ssl

The new code has been verified to work and 3.12 and 3.8, but should work as far back as 3.6.

tkdrob commented 7 months ago

Hello, this package supports the Deluge integration for Home Assistant. Could we please get this PR merged so we can continue using it? Thanks

DjSni commented 7 months ago

@tobbez thank you very much, it works as it should, it's just a pity that this pull request is not merged.

FlorianLaunay commented 6 months ago

Hi @JohnDoee ! Can we expect a merge soon ?

JohnDoee commented 6 months ago

Let me see if I can fix the tests to test against 3.12 and then merge

JohnDoee commented 6 months ago

released 1.10.0, still looking at converting the tests to github actions.

FlorianLaunay commented 6 months ago

Thank you @JohnDoee !