Re: setup.py test deprecation timeline

Paul Ganssle <[email protected]> Tue, 14 Jan 2020 20:11:19 -0500
Newsgroups gmane.comp.python.distutils.devel
Message-ID <[email protected]>
I would say that there is no specific timeline, I would urge everyone to
do it sooner rather than later, because even though we haven't *removed*
it, we're also mostly not fixing it if it's broken in some way (unless
it gets improved incidentally due to general codebase improvements). One
prominent example of this is that at least as of somewhat recently,
`test_requires` dependencies were installed with `easy_install`, which
has many problems - one of which is that it doesn't respect
`python_requires`. That will become increasingly important in a
post-Python 2 world, and even if we don't actively remove `setup.py
test`, you may be broken unexpectedly at any time.

As for timeline, my guess is we won't do it earlier than around October
2020, since we only started emitting the warnings in October 2019. That
is by no means a hard deadline - if it becomes a burden to maintain it
or if we find some flaw that makes us decide that it's doing more harm
than good, we'll probably remove it before then.

Best of luck with the migrations, thanks for your efforts!

Best,
Paul

On 1/14/20 7:15 PM, [email protected] wrote:
> Is there an ETA for when setuptools is going to break the test subcommand? It would be useful for me to know how long I have to stop using tests_require and to help OS package maintainers migrate to a new way of running tests.
>
> Thanks for any info!
>
> Brad Warren
> --
> Distutils-SIG mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/distutils-sig.python.org/
> Message archived at https://mail.python.org/archives/list/[email protected]/message/LCONSYDYRLKXVMQI5XAPZOJ6X2RJU6U3/

--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/archives/list/[email protected]/message/H6EB2Q6SPOC3DIQTRV5EIHBXNKGRHTON/
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEa0msutz2vRyiBmerzVT849lkvvsFAl4eZrsACgkQzVT849lk
vvvBNA/+O7YrGIGCC6KyxEuEbFT+cV1Hs1K67XyUbME6xVf74fZtvYBCT0jQpZmD
pTz1+ihLmS5U/2n0CBjR/NTPSMU/peYn1jS12la3La6InhWPNQYZOlks7rZAkmNS
FJttwJePoPTMgd33/4gDXDGp50lFZE+xB/2qfm0qwGQCOZs/rC6XaXrt1qVzDsY4
OeD1EEjb0bdUkcxZYyWdfwX6VlkErdoKC0HrNKA+GN24LbhUxJPQvNtWxt1J+r2Z
r9RbOOhMkjcHMroA8L/oWcxO5BQO9TC4FbqzvrgJ8kXcoiJq8b6LblFIgvNkdiMD
4hGO0R6LyXB8ji3LWXVOWBw+va6mip6Zu22LDq0kgsoCsqmo1h4/BIO/hAtmKJQi
cQm2V0dEJ+VBEtWM7pGGmpk23z0xLr2gpzc/t/n9vqj0BintW/N2wXQB54RQXg5r
ApsvgaIlrmtnHGY/1WreejzFGj69abb5Xsfs084MHgPbygmV45aFiZeVDOJOH4cZ
obQ9iplV33DOwtpUCR0Rc51SaXjBPhEnKIAd0uVe8kfsALhkHtXuK6es0XkHyhm+
pBLGUvhmNTsl+ExAsJmR14aV9bmsFcUT3w3HyELbtPuU7Bx6xUGY29zfWb5YLQHl
rf7z81gr+yS5nZ2AORPUN2cR3JclLYRpTPqXTFFvbmkklNpQnIo=
=ZoDo
-----END PGP SIGNATURE-----