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

Replace deprecated functions which have been removed in Python 3.12 #47

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

Conversation

hvraven
Copy link

@hvraven hvraven commented Oct 30, 2023

The library is not compatible with Python 3.12 (and future versions), due to the removal of the distutils module in PEP 632. This change inlines the function into the code base.

@hvraven hvraven changed the title inline strtobool due to distutils removal in Python 3.12 Replace deprecated functions which have been removed in Python 3.12 Oct 30, 2023
@hvraven
Copy link
Author

hvraven commented Oct 30, 2023

Also replaced the call to ssl.wrap_socket with ssl.SSLContext.wrap_socket which is required for the OAuth2 flow.

@eeintech
Copy link

@peeter123 Any chance you could look into this and support for Python 3.12? Thanks!

@G-Pereira
Copy link

Hi @peeter123 it would be amazing if you could look into this. Then we could bring Python 3.12 support to a project using this as a dependency :)

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.

3 participants