[Distutils] Deprecate and Block requires/provides

Donald Stufft donald at stufft.io
Thu Oct 17 16:40:14 CEST 2013

On Oct 17, 2013, at 10:38 AM, Marius Gedminas <marius at pov.lt> wrote:

> On Thu, Oct 17, 2013 at 09:59:58AM -0400, Donald Stufft wrote:
>> On Oct 17, 2013, at 9:53 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
>>> Yes, but breaking these users' uploads is not the way to do that.
>>> That's an incredibly user hostile step to take, and the problem
>>> doesn't even come close to justifying breaking even a
>>> not-really-working process (since you can work around the current
>>> breakage by manually installing the dependencies - you can't work
>>> around an inability to upload without making changes to your code).
>>> If you really wanted to push them towards fixing their releases, you
>>> could always have PyPI send them an email saying something like:
> ...
>> This could be part of the deprecation process, but unless there's a plan
>> in place to deprecate them I don't know how useful this email would be.
>> It's a reactive warning to something that confuses people while they are
>> creating a package. In other words by the time the email goes out they've
>> already been confused.
> Is it possible to make 'python setup.py sdist upload' emit a warning
> message about using these deprecated fields, without rejecting the
> upload?

I don't believe so (but don't quote me on that), besides the obvious
of patching distutils.

> Marius Gedminas
> -- 
> Q:  How many IBM CPU's does it take to execute a job?
> A:  Four; three to hold it down, and one to rip its head off.
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig

Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20131017/57eba78d/attachment.sig>

More information about the Distutils-SIG mailing list