Skip to content

ENH: provide a convenience function to replace npy_load_module (#20395)#20411

Merged
charris merged 1 commit intonumpy:maintenance/1.22.xfrom
charris:backport-20395
Nov 19, 2021
Merged

ENH: provide a convenience function to replace npy_load_module (#20395)#20411
charris merged 1 commit intonumpy:maintenance/1.22.xfrom
charris:backport-20395

Conversation

@charris
Copy link
Member

@charris charris commented Nov 19, 2021

Backport of #20395.

load_module is deprecated since python 3.4 and will be removed in python 3.12.
Use exec_module instead. Provide a convenience function in distutils.misc_utils
instead of npy_load_module from compat.py3k.

This PR was triggered by deprecation warnings in python 3.10.

…#20395)

`load_module` is deprecated since python 3.4 and will be removed in python 3.12.
Use `exec_module` instead. Provide a convenience function in `distutils.misc_utils`
instead of `npy_load_module` from `compat.py3k`.
@charris charris added 01 - Enhancement 08 - Backport Used to tag backport PRs labels Nov 19, 2021
@charris charris added this to the 1.22.0 release milestone Nov 19, 2021
@charris charris merged commit 9fc0144 into numpy:maintenance/1.22.x Nov 19, 2021
@charris charris deleted the backport-20395 branch November 19, 2021 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

01 - Enhancement 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants