It would make my heart sing if all python 3 code we write would have defined types (using mypy in in ./mach lint). It would definitely remove the feeling of "walking blindfolded" when doing any change with the python tooling. At least I hope providing types would be allowed if not required.
-- Rok On Tue, Nov 14, 2017 at 12:31 AM Jeff Gilbert <jgilb...@mozilla.com> wrote: > As long as we follow PEP 394, I'm super excited. (including on our > mozilla-build windows system, which counts as 'unix-like') > > On Sun, Nov 12, 2017 at 9:12 AM, David Burns <dbu...@mozilla.com> wrote: > > I am not saying it should but if we have a requirement for python 3, we > are > > also going to have a requirement for py2 to both be available for local > > development. > > > > David > > > > On 11 November 2017 at 14:10, Andrew Halberstadt < > ahalberst...@mozilla.com> > > wrote: > > > >> On Fri, Nov 10, 2017 at 9:44 PM David Burns <dbu...@mozilla.com> wrote: > >> > >>> My only concern about this is how local developer environments are > going > >>> to be when it comes to testing. While I am sympathetic to moving to > python > >>> 3 we need to make sure that all the test harnesses have been moved > over and > >>> this is something that needs a bit of coordination. Luckily a lot of > the > >>> mozbase stuff is already moving to python 3 support but that still > means we > >>> need to have web servers and the actual test runners moved over too. > >>> > >>> David > >>> > >> > >> For libraries like mozbase, I think the plan will be to support both 2 > and > >> 3 at > >> the same time. There are libraries (like 'six') that make this possible. > >> I'd bet > >> there are even parts of the build system that will still need to support > >> both at > >> the same time. > >> > >> With that in mind, I don't think python 3 support for test harnesses > needs > >> to > >> block the build system. > >> > >> Andrew > >> > >> On 10 November 2017 at 23:27, Gregory Szorc <g...@mozilla.com> wrote: > >>> > >>>> For reasons outlined at https://bugzilla.mozilla.org/ > >>>> show_bug.cgi?id=1388447#c7, we would like to make Python 3 a > >>>> requirement to build Firefox sometime in the Firefox 59 development > cycle. > >>>> (Firefox 59 will be an ESR release.) > >>>> > >>>> The requirement will likely be Python 3.5+. Although I would love to > >>>> make that 3.6 if possible so we can fully harness modern features and > >>>> performance. > >>>> > >>>> I would love to hear feedback - positive or negative - from downstream > >>>> packagers and users of various operating systems and distributions > about > >>>> this proposal. > >>>> > >>>> Please send comments to dev-builds@lists.mozilla.org or leave them on > >>>> bug 1388447. > >>>> > >>>> _______________________________________________ > >>>> dev-builds mailing list > >>>> dev-builds@lists.mozilla.org > >>>> https://lists.mozilla.org/listinfo/dev-builds > >>>> > >>>> _______________________________________________ > >>> dev-builds mailing list > >>> dev-builds@lists.mozilla.org > >>> https://lists.mozilla.org/listinfo/dev-builds > >>> > >> > > _______________________________________________ > > dev-platform mailing list > > dev-platf...@lists.mozilla.org > > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ > dev-platform mailing list > dev-platf...@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > -- -- Rok Garbas
_______________________________________________ dev-builds mailing list dev-builds@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-builds