Skip to content

stdlib: update layout_python to resolve deprecation warning #1176

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

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

Scribbd
Copy link
Contributor

@Scribbd Scribbd commented Oct 4, 2023

Since python 3.12 was released, layout python produces the following warning: <string>:1: DeprecationWarning: 'pkgutil.find_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead. This commit resolves the warning by using the suggested alternative.

Issues: This will break layout python2 and layout python3 for versions before 3.4.

Since python 3.12  produces the following warning: `<string>:1: DeprecationWarning: 'pkgutil.find_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead`.
This commit resolves the warning by using the suggested alternative.

Issues: This will break for python2 and python<3.4
@jottr
Copy link

jottr commented Nov 7, 2023

Dear maintainers, will this be merged or are there any other plans to fix the deprecation warning?

Copy link

@mairas mairas left a comment

Choose a reason for hiding this comment

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

LGTM, please merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants