Re: [Qgis-user] Python3 support of qgis...
Hi On 10/08/2016 08:38 AM, JIA Pei wrote: > > Hi, Nyall: > > Thank you for your prompt reply. > I actually git out the source code from https://github.com/qgis/QGIS > directly, but failed to build against python3. > So, is *daily master build* that you mentioned just *nightly build* from > http://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu > > That is to say: https://github.com/qgis/QGIS master is different from > *nightly > build* from > http://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu > > > Thank you On the link you sent, wherever it says "2.99.x master" it' about the master (python 3 only) branch. Wherever it says "2.17.x master_2" it's about master_2 which is still python 2 compatible but has a built option "PORT_PLUGINS" which upgrades plugins to be compatible with python 3. By the way, questions like this are better asked on the developer mailing list ;) Regards Matthias ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Python3 support of qgis...
Hi, Nyall: Thank you for your prompt reply. I actually git out the source code from https://github.com/qgis/QGIS directly, but failed to build against python3. So, is *daily master build* that you mentioned just *nightly build* from http://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu That is to say: https://github.com/qgis/QGIS master is different from *nightly build* from http://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu Thank you On Fri, Oct 7, 2016 at 4:09 PM, Nyall Dawson wrote: > On 8 Oct 2016 8:43 AM, "JIA Pei" wrote: > > > > > > Hi, all: > > > > I tried to convert all python files from being compatible with python2 > to being compatible with python3, with "2to3", but it still has a lot of > the error messages as follows: > > > > > >> RefactoringTool: Warnings/messages while refactoring: > >> RefactoringTool: ### In file ./python/ext-libs/future/ > future/backports/email/charset.py ### > >> RefactoringTool: Line 5: Calls to builtin next() possibly shadowed by > global binding > >> RefactoringTool: ### In file > >> ./python/ext-libs/future/future/builtins/misc.py > ### > >> RefactoringTool: Line 104: Calls to builtin next() possibly shadowed by > global binding > >> RefactoringTool: ### In file > >> ./python/ext-libs/future/future/moves/urllib/request.py > ### > >> RefactoringTool: Line 38: could not convert: from urllib import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 38: could not convert: from urllib import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 38: could not convert: from urllib import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 38: could not convert: from urllib import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 38: could not convert: from urllib import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 38: could not convert: from urllib import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 38: could not convert: from urllib import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 38: could not convert: from urllib import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 38: could not convert: from urllib import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 38: could not convert: from urllib import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 38: could not convert: from urllib import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 38: could not convert: from urllib import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 39: could not convert: from urllib2 import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 39: could not convert: from urllib2 import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 39: could not convert: from urllib2 import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 39: could not convert: from urllib2 import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 39: could not convert: from urllib2 import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 39: could not convert: from urllib2 import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 39: could not convert: from urllib2 import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 39: could not convert: from urllib2 import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 39: could not convert: from urllib2 import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 39: could not convert: from urllib2 import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 39: could not convert: from urllib2 import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: Line 39: could not convert: from urllib2 import * > >> RefactoringTool: Cannot handle star imports. > >> RefactoringTool: ### In file ./python/ext-libs/jinja2/compiler.py ### > >> RefactoringTool: Line 19: Calls to builtin next() possibly shadowed by > global binding > >> RefactoringTool: ### In file ./python/ext-libs/jinja2/ext.py ### > >> RefactoringTool: Line 23: Calls to builtin next() possibly shadowed by > global binding > >> RefactoringTool: ### In file ./python/ext-libs/jinja2/filters.py ### > >> RefactoringTool: Line 21: Calls to builtin next() possibly shadowed by > global binding > >> RefactoringTool: ### In file ./python/ext-libs/jinja2/lexer.py ### > >> RefactoringTool: Line 23: Calls to builtin next() possibly shadowed by > global binding > >> RefactoringTool: ### In file ./python/ext-libs/jinja2/nodes.py ### > >> Re
Re: [Qgis-user] Python3 support of qgis...
On 8 Oct 2016 8:43 AM, "JIA Pei" wrote: > > > Hi, all: > > I tried to convert all python files from being compatible with python2 to being compatible with python3, with "2to3", but it still has a lot of the error messages as follows: > > >> RefactoringTool: Warnings/messages while refactoring: >> RefactoringTool: ### In file ./python/ext-libs/future/future/backports/email/charset.py ### >> RefactoringTool: Line 5: Calls to builtin next() possibly shadowed by global binding >> RefactoringTool: ### In file ./python/ext-libs/future/future/builtins/misc.py ### >> RefactoringTool: Line 104: Calls to builtin next() possibly shadowed by global binding >> RefactoringTool: ### In file ./python/ext-libs/future/future/moves/urllib/request.py ### >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: ### In file ./python/ext-libs/jinja2/compiler.py ### >> RefactoringTool: Line 19: Calls to builtin next() possibly shadowed by global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/ext.py ### >> RefactoringTool: Line 23: Calls to builtin next() possibly shadowed by global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/filters.py ### >> RefactoringTool: Line 21: Calls to builtin next() possibly shadowed by global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/lexer.py ### >> RefactoringTool: Line 23: Calls to builtin next() possibly shadowed by global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/nodes.py ### >> RefactoringTool: Line 19: Calls to builtin next() possibly shadowed by global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/parser.py ### >> RefactoringTool: Line 14: Calls to builtin next() possibly shadowed by global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/runtime.py ### >> RefactoringTool: Line 17: Calls to builtin next() possibly shadowed by global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/testsuite/api.py ### >> RefactoringTool: Line 17: Calls to builtin next() possibly shadowed by global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/testsuite/ext.py ### >> RefactoringTool: Line 20: Calls to builtin next() possibly shadowe
Re: [Qgis-user] Python3 support of qgis...
Hi, The next major version (3.x) upgrade will not be on 2.7. I am not a dev (so don't quote me on that) but they are upgrading a number of libraries like QT. Nicolas > Le 7 oct. 2016 à 18:43, JIA Pei [via OSGeo.org] > a écrit : > > > Hi, all: > > I tried to convert all python files from being compatible with python2 to > being compatible with python3, with "2to3", but it still has a lot of the > error messages as follows: > > >> RefactoringTool: Warnings/messages while refactoring: >> RefactoringTool: ### In file >> ./python/ext-libs/future/future/backports/email/charset.py ### >> RefactoringTool: Line 5: Calls to builtin next() possibly shadowed by global >> binding >> RefactoringTool: ### In file >> ./python/ext-libs/future/future/builtins/misc.py ### >> RefactoringTool: Line 104: Calls to builtin next() possibly shadowed by >> global binding >> RefactoringTool: ### In file >> ./python/ext-libs/future/future/moves/urllib/request.py ### >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 38: could not convert: from urllib import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: Line 39: could not convert: from urllib2 import * >> RefactoringTool: Cannot handle star imports. >> RefactoringTool: ### In file ./python/ext-libs/jinja2/compiler.py ### >> RefactoringTool: Line 19: Calls to builtin next() possibly shadowed by >> global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/ext.py ### >> RefactoringTool: Line 23: Calls to builtin next() possibly shadowed by >> global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/filters.py ### >> RefactoringTool: Line 21: Calls to builtin next() possibly shadowed by >> global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/lexer.py ### >> RefactoringTool: Line 23: Calls to builtin next() possibly shadowed by >> global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/nodes.py ### >> RefactoringTool: Line 19: Calls to builtin next() possibly shadowed by >> global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/parser.py ### >> RefactoringTool: Line 14: Calls to builtin next() possibly shadowed by >> global binding >> RefactoringTool: ### In file ./python/ext-libs/jinja2/runtime.py ### >> RefactoringTool: Line 17: Calls to builtin next() possibly shadowed by >> global binding >> RefactoringTool: ### In file ./python/ext-libs/