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 installing a package with a multi-line description with the latest setuptools version (51.3.2), I get the following error:
File"/home/greschd/.virtualenvs/tmp-9b3743628834a12/lib/python3.8/site-packages/setuptools/dist.py", line125, insingle_linewarnings.UserWarning("newlines not allowed and will break in the future")
AttributeError: module'warnings'hasnoattribute'UserWarning'
This seems to be related to the discussion in #1390, and specifically the change in #2538, because UserWarning is a built-in global, not part of the warnings module:
When installing a package with a multi-line description with the latest setuptools version (51.3.2), I get the following error:
This seems to be related to the discussion in #1390, and specifically the change in #2538, because
UserWarning
is a built-in global, not part of thewarnings
module:The fix should be very straightforward, using
warnings.warn
instead.The text was updated successfully, but these errors were encountered: