pygradle icon indicating copy to clipboard operation
pygradle copied to clipboard

Supress distutils UserWarning

Open dsully opened this issue 6 years ago • 0 comments
trafficstars

Task :spec-data:packageSdist /Users/dsully/t2/spec-definitions/build/spec-data/venv/lib/python3.7/site-packages/setuptools/dist.py:397: UserWarning: The version specified ('0.3.6-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. "details." % self.metadata.version

This is useless warning that everyone sees. Can we use Python's -W flag to suppress it when creating the sdist?

dsully avatar Jan 28 '19 15:01 dsully