[eoxserver-dev] Minimum supported version of Python

Stephan Meißl stephan.meissl at eox.at
Fri Jun 3 10:37:02 CEST 2011


Hi all,

good point Martin. I've added ticket #23 [1] in order to track that
task.

Thanks,
Stephan

[1] http://eoxserver.org/ticket/23


On Fri, 2011-06-03 at 10:15 +0200, Martin Paces wrote: 
> Stephan,
> 
> there might be some third party Python 2.5 RPMs available for Centos5.
> It might be better solution than rewriting stable code and possibly
> introduce some new mess.
> 
> In the end, packing own python RPM is not that hard either. You will
> probably need to do that for mapserver/mapscript and django anyway. 
> 
> Definitely we should set up Centos 5 test bed and test things out.
> 
> Cheers 
> Martin   
> 
> 
>  
> 
> 
> 
> On Thu, 2011-06-02 at 14:19 +0200, Stephan Krause wrote:
> > Hi Stephan, Martin, dear Dev'ers,
> > 
> > 
> > On 2011-06-01 17:57, Stephan Meißl wrote:
> > > Hi Martin,
> > >
> > > I guess the limiting factor is again the ESA favored CentOS which has
> > > Python 2.4.3 in its latest version 5.6 (Note that the latest ESA adopted
> > > version is still 5.5).
> > Did we state this requirement any time before? Actually I thought 
> > support for Python 2.5 was sufficient, so the code uses some features 
> > that have been added in 2.5, especially the unified try-except-finally 
> > statements. If support for 2.4 is required we have to rewrite these 
> > statements.
> > > If you need 2.6 features I think we should investigate if the current
> > > mechanism to disable modules is sufficient to run the remainder of
> > > EOxServer under older versions.
> > >
> > Actually this is feasible; in eoxserver.conf you can either specify 
> > directories to be scanned for implementations or explicitly define the 
> > modules to be imported using the 'modules' setting in the 
> > [core.registry] section, so that (in this case) the WPS code would not 
> > even be touched.
> > 
> > best regards,
> > 
> > Stephan K.
> > > cu
> > > Stephan
> > >
> > >
> > > On Wed, 2011-06-01 at 13:54 +0200, Martin Paces wrote:
> > >> Hi All,
> > >>
> > >> is there a requirement of a minimum Python version to be supported by
> > >> the EOX server?
> > >>
> > >> I am thinking about using some newer Python features available since 2.6
> > >> version in my WPS server prototype and I want to avoid version conflicts.
> > >>
> > >> Thanks.
> > >>
> > >> Martin
> > >>
> > >
> > >
> > 
> > 
> 
> 
> 




More information about the dev mailing list