[osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
#219: Upgrade python version +--- Reporter: jmalik | Owner: osgeo4w-dev@… Type: enhancement | Status: new Priority: major| Component: Package Version: |Keywords: python python27 +--- Changes (by jef): * keywords: python = python python27 -- Ticket URL: http://trac.osgeo.org/osgeo4w/ticket/219#comment:18 OSGeo4W http://trac.osgeo.org/osgeo4w OSGeo4W is the Windows installer and package environment for the OSGeo stack. ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
[osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
#219: Upgrade python version +--- Reporter: jmalik | Owner: osgeo4w-dev@… Type: enhancement | Status: new Priority: major| Component: Package Version: |Keywords: python +--- Comment(by neteler): From the list: {{{ On Tue, Jan 17, 2012 at 5:57 PM, Martin Landa landa.mar...@gmail.com wrote: 2012/1/17 Martin Landa landa.mar...@gmail.com: AFAIU no need to rebuild GRASS. well, GRASS buiding system also generates `compiled` python files. Anyway there is no blocker from GRASS side. Go ahead with python version upgrade... Martin }}} -- Ticket URL: http://trac.osgeo.org/osgeo4w/ticket/219#comment:17 OSGeo4W http://trac.osgeo.org/osgeo4w OSGeo4W is the Windows installer and package environment for the OSGeo stack. ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
Well, for some reason that didn't work as expected. The -s switch doesn't seem to do it. Maybe because it's an unlisted mirror. I think it's because it expects setup.ini.bz2 and not just setup.ini. I updated regen-testing.sh to create the .bz2. -matt ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
[osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
#219: Upgrade python version +--- Reporter: jmalik | Owner: osgeo4w-dev@… Type: enhancement | Status: new Priority: major| Component: Package Version: |Keywords: python +--- Changes (by tomkralidis): * cc: tomkralidis (added) -- Ticket URL: http://trac.osgeo.org/osgeo4w/ticket/219#comment:7 OSGeo4W http://trac.osgeo.org/osgeo4w OSGeo4W is the Windows installer for the OSGeo stack. ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
Ok. download.osgeo.org is available again. I can't get in. I reset my password via https://www.osgeo.org/user and then tried connect with WinSCP to upload.osgeo.org. I kept getting access denied messages. Next I tried to connect with cygwin ssh in order capture more messages and now, like yesterday, the connection times out. If I wait 15 minutes or so I can connect again, but still not login. Regular ftp always connects but says 530 This FTP server is anonymous only when I try and login. Unfortunately I couldn't get the python package from your mirror. So for now we have an identical second repository. http://o4w-mirror.dreamhosters.com/repository/release/python/python-2.7.1-1.tar.bz2 should work? -matt ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
On 03/05/2011 9:58 AM, Matt Wilkie wrote: Ok. download.osgeo.org is available again. I can't get in. all fixed now :) -matt ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
Unfortunately I couldn't get the python package from your mirror. So for now we have an identical second repository. I uploaded python2.7 package to the testing repostory, regenerated the ini and installed successfully with apt. I'll try and carve some time out this afternoon to test with setup.exe also. Thanks for setting up a complete test repo. :) -matt ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
Hi Matt, On Tue, 03. May 2011 at 10:59:11 -0700, Matt Wilkie wrote: Unfortunately I couldn't get the python package from your mirror. So for now we have an identical second repository. I uploaded python2.7 package to the testing repostory, regenerated the ini and installed successfully with apt. I'll try and carve some time out this afternoon to test with setup.exe also. Well, for some reason that didn't work as expected. The -s switch doesn't seem to do it. Maybe because it's an unlisted mirror. So I made a osgeo4w-setup-testing.exe - that complains now that the last used mirror was dropped and complained about your python package. Extracting and repacking it with the tar on upload.osgeo.org fixed it. Thanks for setting up a complete test repo. :) Well, that might need some more work ;) Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
Extracting and repacking it with the tar on upload.osgeo.org fixed it. that's probably this one http://trac.osgeo.org/osgeo4w/ticket/101 ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
On 03/05/2011 2:17 PM, Matt Wilkie wrote: Extracting and repacking it with the tar on upload.osgeo.org fixed it. that's probably this one http://trac.osgeo.org/osgeo4w/ticket/101 and #209. The cure for apt was to just not specify the archive type. Not sure what Frank/Jef did to fix setup.exe. -matt ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
Hi Matt, On Tue, 03. May 2011 at 14:19:55 -0700, Matt Wilkie wrote: On 03/05/2011 2:17 PM, Matt Wilkie wrote: Extracting and repacking it with the tar on upload.osgeo.org fixed it. that's probably this one http://trac.osgeo.org/osgeo4w/ticket/101 and #209. The cure for apt was to just not specify the archive type. Not sure what Frank/Jef did to fix setup.exe. I think the xerces package was actually gzipped and I simply gunzipped, bzip2ed it and incremented the package number to fix it. osgeo4w-setup didn't seem to care - just creatensis.pl, which I use to create the QGIS standalone installer, did. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
Hi Matt, On Fri, 29. Apr 2011 at 00:18:40 -0700, Matt Wilkie wrote: I've started a wiki page where we can more easily track what stage(s) the packages are at. (At least I hope it's more easily, the table syntax quickly gets cumbersome!) http://trac.osgeo.org/osgeo4w/wiki/RequiresPython I'll start culling the obsoletes, thanks for point that out Jurgen. I've seen that you added a comment to the ticket - I still can't login. I were going to proceed with the update, I'd opt for setting up a secondary repository (osgeo4w-setup has an option -s to point to a different rep for testing - not sure about apt). We could then put the new python there and start migrating the rest - without any disturbance to the main repository. Once we're content with the new repository, we just need to move the new packages to the original repository... Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
I were going to proceed with the update, I'd opt for setting up a secondary repository (osgeo4w-setup has an option -s to point to a different rep for testing - not sure about apt). I've setup a mirror at http://o4w-mirror.dreamhosters.com/repository/ At present it's a dumb mirror, meaning we can't use the server to calculate the md5sums and regenerate the setup.ini file. This could be changed but as I'm not familiar with how that works it could take awhile. I don't have any bandwidth or space limitations on this server, but there is a conceptual one, it's not mine, so this can't be a long term solution. This also means I can't add user accounts for package maintainers. apt has a --mirror=... switch that works, though there have been some wrinkles with it which I'm not sure have been ironed out yet. We could then put the new python there and start migrating the rest - without any disturbance to the main repository. Once we're content with the new repository, we just need to move the new packages to the original repository... python2.7 package is in the ./release/python directory and I manually patched setup.ini to use it. -matt ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
Hi Matt, On Mon, 02. May 2011 at 14:37:22 -0700, Matt Wilkie wrote: I were going to proceed with the update, I'd opt for setting up a secondary repository (osgeo4w-setup has an option -s to point to a different rep for testing - not sure about apt). I've setup a mirror at http://o4w-mirror.dreamhosters.com/repository/ I think download/upload.osgeo.org is about to become available again. I can give it a shot then - there we could even use hardlinks to save space. Setting up a second cgi shouldn't be difficult either. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
Hi Matt, On Tue, 03. May 2011 at 00:02:42 +0200, Jürgen E. Fischer wrote: On Mon, 02. May 2011 at 14:37:22 -0700, Matt Wilkie wrote: I were going to proceed with the update, I'd opt for setting up a secondary repository (osgeo4w-setup has an option -s to point to a different rep for testing - not sure about apt). I've setup a mirror at http://o4w-mirror.dreamhosters.com/repository/ I think download/upload.osgeo.org is about to become available again. I can give it a shot then - there we could even use hardlinks to save space. Setting up a second cgi shouldn't be difficult either. Ok. download.osgeo.org is available again. The second repository (currently all hardlinks) is at download.osgeo.org/osgeo4w/testing/ The update cgi is: upload.osgeo.org/cgi-bin/osgeo4w-regen-testing.sh Unfortunately I couldn't get the python package from your mirror. So for now we have an identical second repository. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
[osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
I believe there are 42 packages depending on python. I compiled a list by using apt.py to list requires for each available package (from setup.ini) and then manually removing those which don't mention python. apt gdal16-autotest gdal16-python gdal17-python gdal-autotest gdal-dev gdal-python grass grass-devel grass-devel-mingw grass-devel-vc liblas-python mapfish_framework mapnik mapscript-dev-python mapscript-python natgrid psycopg2 pyopengl pyparsing pyqt4 pyqwt5-qt4 pyspatialite python python-geopy python-numpy python-qgis python-rpy python-rpy2 python-shapely python-simplejson python-win32 python-win32-demos qgis qgis1.1 qgis-dev qgis-devel qgis-full qgis-grass-plugin qgis-unstable sip wxpython-- View this message in context: http://osgeo-org.1803224.n2.nabble.com/osgeo4w-219-Upgrade-python-version-tp6230307p6315801.html Sent from the osgeo4w-dev -- OSGeo Win32 Installer List mailing list archive at Nabble.com. ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
Hi Matt, On Thu, 28. Apr 2011 at 23:04:23 -0700, Matt Wilkie wrote: I believe there are 42 packages depending on python. There are some packages marked _obsolete in that list. And other might need that mark (e.g. gdal16, gdal17 and gdal-dev). Clean those out and it are even less. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
[osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
I've started a wiki page where we can more easily track what stage(s) the packages are at. (At least I hope it's more easily, the table syntax quickly gets cumbersome!) http://trac.osgeo.org/osgeo4w/wiki/RequiresPython I'll start culling the obsoletes, thanks for point that out Jurgen. -matt ((can someone with wiki admin privs please rename http://trac.osgeo.org/osgeo4w/wiki/OSGeo4W/pkg-python to http://trac.osgeo.org/osgeo4w/wiki/pkg-python (remove OSGeo4W parent). Thanks! )) -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/osgeo4w-219-Upgrade-python-version-tp6230307p6315926.html Sent from the osgeo4w-dev -- OSGeo Win32 Installer List mailing list archive at Nabble.com. ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
[osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
#219: Upgrade python version +--- Reporter: jmalik | Owner: osgeo4w-dev@… Type: enhancement | Status: new Priority: major| Component: Package Version: |Keywords: python +--- Comment(by maphew): I created RequiresPython page to track which packages need work, are ready, or can be forgotten about. Please feel free to update. -- Ticket URL: http://trac.osgeo.org/osgeo4w/ticket/219#comment:5 OSGeo4W http://trac.osgeo.org/osgeo4w OSGeo4W is the Windows installer for the OSGeo stack. ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Re: [osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
On 29 April 2011 22:52, Alexander Bruy alexander.b...@gmail.com wrote: I add missed matplotlib package. It works with Python 2.7 but it depends on NumPy. AFAIK there is no official version of NumPy has been released for Python 2.7 yet. NumPy 1.4.1 is not quite compatible with Python 2.7 and numpy 2.0.dev is a moving target. So there are no official installers of matplotlib for Python 2.7 yet. There are no upstream packages of NumPy 1.4.1 for Python 2.7 on Windows, but that doesn't mean that it doesn't work. Python 2.7 didn't exist at the time for that version of NumPy (the two release dates were off by a month last year). The current stable version of NumPy is 1.5.1, which has a Windows package for Python 2.7: http://sourceforge.net/projects/numpy/files/NumPy/1.5.1/ Within the Python 2.x series, it is often much easier to upgrade to a later version of Python than it is to make a package compatible with older versions. -Mike ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
[osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
#219: Upgrade python version +--- Reporter: jmalik | Owner: osgeo4w-dev@… Type: enhancement | Status: new Priority: major| Component: Package Version: |Keywords: python +--- Changes (by warmerdam): * cc: warmerdam (added) * keywords: = python Comment: I will note that it will be challenging to coordinate upgrading all python components to a new version of Python. Is it really not possible to fix up the OTB wrappers to work with 2.5? -- Ticket URL: http://trac.osgeo.org/osgeo4w/ticket/219#comment:2 OSGeo4W http://trac.osgeo.org/osgeo4w OSGeo4W is the Windows installer for the OSGeo stack. ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
[osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
#219: Upgrade python version +--- Reporter: jmalik | Owner: osgeo4w-dev@… Type: enhancement | Status: new Priority: major| Component: Package Version: |Keywords: python +--- Comment(by mwtoews): FWIW, Python 2.7 is the last release of the 2.x series, and will be maintained for a longer period than previous versions (expected to be more than two years). http://docs.python.org/release/2.7/whatsnew/2.7.html#the-future-for- python-2-x As I expect the 2.x series (rather than 3.x) to be the dominant platform for a while longer, Python 2.7 is a realistic target to meet. I just had a quick look at the scope of the Python packages in OSGeo4w, and on the upstream side they all appear to be 2.7 ready, so there aren't any serious obstacles. I'm interested in helping coordinate a transition, if any distributed help is needed. -- Ticket URL: http://trac.osgeo.org/osgeo4w/ticket/219#comment:3 OSGeo4W http://trac.osgeo.org/osgeo4w OSGeo4W is the Windows installer for the OSGeo stack. ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
[osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
#219: Upgrade python version +--- Reporter: jmalik | Owner: osgeo4w-dev@… Type: enhancement | Status: new Priority: major| Component: Package Version: |Keywords: python +--- Comment(by martinl): Replying to [comment:3 mwtoews]: FWIW, Python 2.7 is the last release of the 2.x series, and will be maintained for a longer period than previous versions (expected to be more than two years). http://docs.python.org/release/2.7/whatsnew/2.7.html#the-future-for- python-2-x As I expect the 2.x series (rather than 3.x) to be the dominant platform for a while longer, Python 2.7 is a realistic target to meet. I just had a quick look at the scope of the Python packages in OSGeo4w, and on the upstream side they all appear to be 2.7 ready, so there aren't any serious obstacles. I'm interested in helping coordinate a transition, if any distributed help is needed. Agreed +1 for upgrading to python 2.7 see also #214 -- Ticket URL: http://trac.osgeo.org/osgeo4w/ticket/219#comment:4 OSGeo4W http://trac.osgeo.org/osgeo4w OSGeo4W is the Windows installer for the OSGeo stack. ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
[osgeo4w-dev] Re: [osgeo4w] #219: Upgrade python version
#219: Upgrade python version +--- Reporter: jmalik | Owner: osgeo4w-dev@… Type: enhancement | Status: new Priority: major| Component: Package Version: |Keywords: +--- Changes (by jmalik): * component: Documentation = Package -- Ticket URL: http://trac.osgeo.org/osgeo4w/ticket/219#comment:1 OSGeo4W http://trac.osgeo.org/osgeo4w OSGeo4W is the Windows installer for the OSGeo stack. ___ osgeo4w-dev mailing list osgeo4w-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev