[Distutils] Deprecate and Block requires/provides

Michael Foord fuzzyman at gmail.com
Thu Oct 17 12:28:11 CEST 2013


On 17 October 2013 04:01, Donald Stufft <donald at stufft.io> wrote:

> As many are aware distutils has the "requires" field and such. These
> fields are designed to list something you *import* not something you
> install from PyPI. I believe these fields to be generally useless,
> supported
> by the fact distutils2 deprecated them, and outright user hostile. Users
> do not tend to realize that these aren't PyPI distributions and attempt to
> use them for that case. This generally "works" in that it will show up on
> PyPI but it will fail as soon as a distribution contains a character like
> -.
>
> So what I would like to do is "remove" these fields. This would consist
> of modifying PyPI to return an error code if they are included and hiding
> the existing data in the UX. It might at a future time also consist of
> removing
> the data from the DB all together.
>
> What do people think?
>
>

+1 to hiding them in the PyPI UI.

-1 to breaking setup.py upload / register !

Michael


> -----------------
> Donald Stufft
> PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372
> DCFA
>
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
>


-- 

http://www.voidspace.org.uk/

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20131017/2a99783c/attachment.html>


More information about the Distutils-SIG mailing list