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
As far as I can tell, this line is hit only when you run python setup.py bdist_rpm upload, as far as I can tell.
Using the upload command is itself very deprecated, and is dangerously broken in many ways. See, for example, this setuptools issue: pypa/setuptools#1381
So I see three possible options (two realistic):
Remove the whole "comment" field from the upload, both for bdist_rpm and bdist_dumb. I'm not sure if PyPI uses this for anything, but I highly doubt it.
Have both bdist_rpm and bdist_dumb send a comment based on platform.platform(terse=1)
Remove the upload command functionality entirely for Python 3.8 with no deprecation warning.
Obviously #3 is the unrealistic one, but it's very tempting. That said, I think we should go with #1 and maybe open a separate issue to actually deprecate the upload command in distutils (though to be honest we'll probably monkey-patch it out of existence in setuptools within a year and everyone uses setuptools anyway, so maybe #3 is less unrealistic than it seems).