<div dir="ltr">I think that Thomas' proposal makes sense.<div><br></div><div>I would be ok to also add it to setuptools so that it can be used sooner by projects that don't require python 3.6.<br></div><div><br></div><div>Sylvain</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 22, 2016 at 9:23 AM,  <span dir="ltr"><<a href="mailto:tritium-list@sdamon.com" target="_blank">tritium-list@sdamon.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Changing packaging by updating the standard library will fail.  It’s been attempted.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">The inherent problem is you need to fix packaging for people already using python, which means if you add a feature to the standard library, only the people who always run the latest and greatest can ever use the feature.  In a world where we are talking about Python 3.6/3.7 and python 2.7 is by far the most used version of python (and python usage is split pretty evenly between 3.4 and 3.5 IIRC), no one will use new packaging features in the standard library.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Putting something in setuptools means it will actually be used.  I think some of the goals of this sig is to be able to completely sunset distutils and replace it with much better solutions (plural) that all speak the same protocol.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Distutils-SIG [mailto:<a href="mailto:distutils-sig-bounces%2Btritium-list" target="_blank">distutils-sig-bounces+<wbr>tritium-list</a>=<a href="mailto:sdamon.com@python.org" target="_blank">sdamon.com@<wbr>python.org</a>] <b>On Behalf Of </b>Sylvain Corlay<br><b>Sent:</b> Monday, August 22, 2016 2:16 AM<br><b>To:</b> Ralf Gommers <<a href="mailto:ralf.gommers@gmail.com" target="_blank">ralf.gommers@gmail.com</a>><br><b>Cc:</b> distutils-sig <<a href="mailto:distutils-sig@python.org" target="_blank">distutils-sig@python.org</a>><br><b>Subject:</b> Re: [Distutils] Proposed new Distutils API for compiler flag detection (Issue26689)<u></u><u></u></span></p></div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<u></u><u></u></p></div><div><div><p class="MsoNormal">On Sun, Aug 21, 2016 at 10:31 PM, Ralf Gommers <<a href="mailto:ralf.gommers@gmail.com" target="_blank">ralf.gommers@gmail.<wbr>com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div><div><div><p class="MsoNormal"><br>On top of that there are technical reasons (don't want to test combinations of python + setuptools that both change per release) and organizational ones (distutils maintenance is terrible, many simple bugfix patches don't get merged for ages, setuptools at least fixes regressions quite fast).<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I'm not sure if there's an official policy on adding new things to distutils, but if not then this request is a good time to make one. Assuming of course that the setuptools devs are willing to merge features like the one from Sylvain.<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p></div></div></blockquote></div></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">I find this worrying that the main arguments to not include a patch would be that<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal"><span style="font-size:9.5pt"> - this part of the standard library is not very maintained (things don't get merged)<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"> - earlier versions of won't have it<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">The former is a bad sign for a standard library and the latter is inherent to any new feature. Whether it is a policy or not to not add new features to distutils it is clear that a code base that does not evolve is dead.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">How about, instead, we continue improving it?<u></u><u></u></span></p></div></div><div><p class="MsoNormal"><span style="font-size:9.5pt"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">Sylvain<u></u><u></u></span></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div></div><br>______________________________<wbr>_________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/distutils-sig</a><br>
<br></blockquote></div><br></div>