[Qgis-developer] Python 3 migration plan - what we can do to help people.

Alessandro Pasotti apasotti at gmail.com
Sun Aug 2 07:37:11 PDT 2015


2015-08-02 14:01 GMT+02:00 Nathan Woodrow <madmanwoo at gmail.com>:

> Note: This is just a email to talk about what we can do to help people
> move not about when we should move to Python 3. I don't want to repeat what
> happened in the SIP version change.
>
> Hey all,
>
> So today I was at PyCon AU and talked to a few of the core Python devs.
> One of them talked about a tool they are going to use on PyPi so that it is
> going to (at some stage) start rejecting uploads of Python 2.x **only**
> code.  There is some code in 2.X that just doesn't work in 3.X however
> there is a common sub set that can work no issues when ported.  The plan
> for PyPi is to just reject code that can't be auto run on 3.X to bring
> people onto a common base that can be ported easily.
>
> I thought this might not be a bad thing for us to start doing on the
> plugin upload site, not so much reject, but just warn about things that are
> 2.7.  We could just have something that says "This stuff is Python 2.7 and
> when we move to Python 3.X it's not going to auto port and will need work"
>
> How do people feel about that idea?
>
> Just to rehash: This isn't saying to reject Python 2.7 only code yet, only
> to warn about the stuff that will not port right away so people can plan
> for it.  People could use this to create tickets to fix their plugins when
> we do port.
>
> Thoughts?
>
> - Nathan
>
>

Hi,

just concerned about security if the code scanner/checker has to load
(untrusted) python code, but the PyPi people have probably already solved
this issue.

Any link to their solution?

-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150802/c5e2e72c/attachment.html>


More information about the Qgis-developer mailing list