You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run nox with python warnings enabled the deprecation warning appears: <frozen importlib._bootstrap>:283: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead
How to reproduce
Enable python warnings.
run nox.
nox --version
2021.10.1
python -V
Python 3.10.0
OS: windows 10
Expected behavior
There is no deprecation warnins appear when i run nox.
The text was updated successfully, but these errors were encountered:
This might be bigger than just a straight swap. load_module returns the loaded ModuleType where as exec_module returns None. I tried briefly converting to importlib.import_module as this cropped in a few issues in setup tools referencing the same deprecation warning which also returns a ModuleType but this broke a heap of tests. To fix this properly might require a few plumbing changes to the nox internals
Describe the bug
When i run nox with python warnings enabled the deprecation warning appears:
<frozen importlib._bootstrap>:283: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead
How to reproduce
Enable python warnings.
run nox.
nox --version
2021.10.1
python -V
Python 3.10.0
OS: windows 10
Expected behavior
There is no deprecation warnins appear when i run nox.
The text was updated successfully, but these errors were encountered: