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

Remove Python 2 compatibility import #589

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Conversation

knabar
Copy link
Member

@knabar knabar commented Oct 22, 2024

During work in late 2020, importlib was replaced with pkgutil to retain backward Python 2 compatibility. The latter is now deprecated, so switching back to importlib.

@knabar knabar added this to the 5.28.0 milestone Oct 22, 2024
@knabar knabar self-assigned this Oct 22, 2024
Copy link
Member

@will-moore will-moore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes are in line with https://docs.python.org/3/library/pkgutil.html#pkgutil.find_loader and look good.
Assuming build passes, this is good to merge...

@knabar knabar merged commit d11fd1e into ome:master Nov 1, 2024
10 checks passed
@knabar knabar deleted the maint-update-imports branch November 20, 2024 12:17
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