diff --git a/setuptools/dist.py b/setuptools/dist.py index c75aaabe99..e5a7b8ed9e 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -334,6 +334,7 @@ def invalid_unless_false(dist, attr, value): if not value: DistDeprecationWarning.emit(f"{attr} is ignored.") # TODO: should there be a `due_date` here? + return raise DistutilsSetupError(f"{attr} is invalid.")