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
Loading the module under pytest when DeprecationWarnings are treated as errors leads to the
[...]
File "/source/.venv/lib/python3.10/site-packages/drf_yasg/__init__.py", line 2, in <module>
from pkg_resources import DistributionNotFound, get_distribution
File "/source/.venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 121, in <module>
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
DeprecationWarning: pkg_resources is deprecated as an API
traceback.
Is this a regression?
No, it depends on the Python version instead: 3.9 does not complain, 3.10 does.
Your Environment
Ubuntu jammy with Python 3.10
The text was updated successfully, but these errors were encountered:
Bug Report
Description
Loading the module under pytest when DeprecationWarnings are treated as errors leads to the
traceback.
Is this a regression?
No, it depends on the Python version instead: 3.9 does not complain, 3.10 does.
Your Environment
Ubuntu jammy with Python 3.10
The text was updated successfully, but these errors were encountered: