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

Migrate _import_protocol to importlib #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

al-025
Copy link

@al-025 al-025 commented Feb 13, 2024

The current implementation of _import_protocol uses the deprecated imp library which was removed in Python 3.12. This PR reimplements _import_protocol with the superseding importlib library to allow compatibility with newer versions of Python.

@jrepp
Copy link
Contributor

jrepp commented Feb 13, 2024

This is a good change, users of Python 2 can rely on the older releases. I haven't worked at Blizzard for over 4 years so I can't push this PR forward.

I think a PR that would help this move forward would be to refactor travis to github actions. This would allow the tox job to run in the context of this PR and provide an easier path to merging. I would be surprised if the travis-ci stuff was still active.

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.

2 participants