[Distutils] How to deprecate a python package
Glyph
glyph at twistedmatrix.com
Tue Apr 5 18:34:23 EDT 2016
Perhaps, before anyone tries to make pip doing something mechanical about deprecations, we should just have the website itself do this sort of redirect? Removing the download would be drastic; giving people an interstitial that says "This package is no longer maintained, please use $X instead" would be very informative.
-glyph
> On Apr 5, 2016, at 3:26 PM, Alex Grönholm <alex.gronholm at nextday.fi> wrote:
>
> You make a valid point. This made me recall something -- there is a classifier "Development Status :: 7 - Inactive". As a quick fix, pip could be modified to emit a warning when a distribution containing this classifier is installed. But the problem seems more social than technical. The author of the package the OP referred to has not chosen to add any status classifier or any kind of warning in the description that would notify the user of its deprecated status.
>
> 06.04.2016, 01:05, Tres Seaver kirjoitti:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 04/05/2016 04:17 PM, Alex Grönholm wrote:
>>
>>> I think an ideal solution would be to add a feature to Warehouse that
>>> would "redirect" any downloads of a library to another. Though I'm not
>>> saying it would be simple.
>> Such a feature would be doing a huge disservice: repeatability *matters*
>> for package consumers. Unless an already-uploaded package is known to
>> contain malware, or the author is under force majeur compulsion
>> (governmental / legal injunction), removing a distribution is much worse
>> than giving the humans involved flexibility to deal with an issue.
>>
>>
>> Tres.
>> - -- ===================================================================
>> Tres Seaver +1 540-429-0999 tseaver at palladion.com
>> Palladion Software "Excellence by Design" http://palladion.com
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1
>>
>> iQIcBAEBAgAGBQJXBDaKAAoJEPKpaDSJE9HYGYsP/AtJGhNFXPXjtUlTVoDHw6oz
>> ohzb5js31Dps86V/CQELl4cxFhfPMpPCPxcfA9z/E9B4Wk3HaFTPxOUunZKrbUJA
>> 2MguOnsYOjeWCBSlBEOdjCSTHiYse07NRMV4NN+b0mfdnj6VvTk17uY9UW96GTiN
>> xigRgysRgN71JnE41ZNL+4qKjvCL/6dYFrga21rdvOGnZrTNUBwP8mbbACrdz9lh
>> jeOSVkbWMqKazAXIZB3y7KaByIHIfes5fguBnsjqpgdL9c9r8WsE5nhBCdlkUm8N
>> NAiNEpTy+5G5o0NhGz/4AXFtamkVLTGSZhWcUprHOtJUgjzer+b0WWijFcBtcQGY
>> Ugbijhotlbx+zI/QPqArqDemU++UhGr+oiI839KfyzV3viZ4MEr8jC/BchM88Jmn
>> 8lR3Fyv25Tc2bDTC96hv8A5zcwM08i5FYHlPhW2a96xue5Vl9wZ6rmpRUTtqhErJ
>> vwPu/Yps/l1nXzRXPc8NcHTH8daDVIgaNNp8EeDHV+vYJgy066zzzSQ4dTJddWbZ
>> mcf6aFQDP50vrloZ81GaeByUJ1xlcVfyODdvpKj350YlqPqyv7y7uMJv026csRax
>> l/3DyhChbqzU/be9f6xaGL+KzJU3Xt2L0XY/annNkBWrsbRKISpiiGc+21rNo23P
>> EB9Sax3Uoa47h5GWQWH5
>> =CblP
>> -----END PGP SIGNATURE-----
>>
>> _______________________________________________
>> Distutils-SIG maillist - Distutils-SIG at python.org
>> https://mail.python.org/mailman/listinfo/distutils-sig
>
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
More information about the Distutils-SIG
mailing list