Description
What's the problem this feature will solve?
First, let me just say that I do not envy the position of maintaining setuptools, and if this issue is at all burdensome, please ignore it :-)
Regarding #4519, in the event that setuptools chooses to revert something (looks like issue is already top ten all time by emoji count), I'm wondering if there are creative ways to introduce this breakage more slowly
Describe the solution you'd like
Currently, anyone trying to install a package that has a test command breaks. This is unfortunate, because people may not even be using that test command (in fact, hopefully not, since that's been messaged for years), and so no one may even have have seen the warning.
Instead, we could maybe follow something like the following sequence of steps:
- Add a deprecation warning in
setuptools.command.test.__getattr__
- Make
run
insetuptools.command.test.test
raise an error
This would greatly increase the number of people to whom the warning is visible.
It would also accomplish the goal of killing python setup.py test
, while not yet breaking installs from those package versions.
Code of Conduct
- I agree to follow the PSF Code of Conduct