Python 2.5 alpha

D

D.Hering

Generally, what sort of compatibility problems should I expect if I
were to replace 2.4.1 with 2.5 alpha (current cvs dist)? I'm working
under gentoo linux 2.6.

Specifically, should I expect any problems with Numarray, Scipy, or
Pytables or IDE's. My degree of understanding such things is limited,
and I'm anxious to use the new generator/coroutine functionality.

Thanks for your comments,
Dieter
 
A

Aahz

Generally, what sort of compatibility problems should I expect if I
were to replace 2.4.1 with 2.5 alpha (current cvs dist)? I'm working
under gentoo linux 2.6.

There is no Python 2.5 alpha. There is CVS head, which is currently
labeled 2.5a1 (or something like that), but it's nothing like an alpha.
In your shoes, I might consider a parallel installation of Python CVS,
but I certainly would *NOT* consider replacing a stable release with the
development branch.
Specifically, should I expect any problems with Numarray, Scipy, or
Pytables or IDE's. My degree of understanding such things is limited,
and I'm anxious to use the new generator/coroutine functionality.

You'll almost certainly have to recompile them. Nobody knows about that
kind of compatibility problem, because almost nobody does that kind of
testing until there is an alpha release. I suggest looking at Misc/NEWS
for info about changes.
 
T

Thomas Jollans

D.Hering said:
under gentoo linux 2.6.

that does not exist. gentoo labels installers 2005.0 etc, but I have
never heard of version numbers.
do you mean gentoo with linux 2.6 ?
 
D

D.Hering

Hi Aahz,
Yes thank you. To clarify the cvs dist README listed Python version 2.5
alpha 0. I should have realized before posting that replacing was a bad
idea and another "slot-ed" version could be installed (package manager
already has 2.3.5 & 2.4.1). I just installed 2.5a0 in an alternative
directory (make altinstall) which build and tested out fine. I'm gonna
now attempt to compile the module packages mentioned above. I'll report
how it turns out for anyone interested. Thanks for your help!

Dieter
that does not exist. gentoo labels installers 2005.0 etc, but I have
never heard of version numbers.
do you mean gentoo with linux 2.6 ?

Hi Thomas,
Yes, ambiguity/abridgement usage is troublesome at times..lol. Yeah the
iso is 2005.0 and the linux kernal is gentoo sources version 2.6.12.

Dieter
 
F

Fredrik Lundh

D Hering said:
I just installed 2.5a0

what part of aahz's "There is no Python 2.5 alpha" did you not
understand?
in an alternative directory (make altinstall) which
build and tested out fine. I'm gonna now attempt to compile the module
packages mentioned above. I'll report how it turns out for anyone
interested.

what makes you think that anyone would be interested in whether
any piece of software works with an unreleased source snapshot?

all you're doing is wasting people's time (including your own).

</F>
 
D

D.Hering

So far so good. Numeric-24.0b2, numarray-1.3.3, pytables-1.1.1 (gonna
wait alittle on the scipy install) all built. Tests passed except one
trivial test in numarray but does function:

1 items had failures:
1 of 1205 in cache pass
***Test Failed*** 1 failures.
File "/usr/local/lib/python2.5/site-packages/numarray/numtest.py", line
3477, in cache pass
Failed example:
try:
import Numeric
except ImportError:
pass
else:
a = arange(5)
b = Numeric.arange(5)
c = a + b
Exception raised:
Traceback (most recent call last):
File "/usr/local/lib/python2.5/doctest.py", line 1243, in __run
compileflags, 1) in test.globs
File "<doctest cache pass[1203]>", line 2, in ?
File "/usr/local/lib/python2.5/site-packages/Numeric/Numeric.py",
line 358, in ?
from dotblas import dot, innerproduct, vdot
File
"/usr/local/lib/python2.5/site-packages/numarray/dotblas.py", line 5,
in ?
import generic as _gen
File
"/usr/local/lib/python2.5/site-packages/numarray/generic.py", line 13,
in ?
import numerictypes as _nt
File
"/usr/local/lib/python2.5/site-packages/numarray/numerictypes.py", line
168, in ?
Byte = _register("Byte", Int8)
File
"/usr/local/lib/python2.5/site-packages/numarray/numerictypes.py", line
68, in _register
raise ValueError("Type %s has already been registered" % name)
ValueError: Type Byte has already been registered

sh-3.00# python2.5
Python 2.5a0 (#1, Sep 18 2005, 10:20:55)
[GCC 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import numarray as na
import Numeric as nu
a = na.arange(5)
b = nu.arange(5)
c = a+b
c array([0, 2, 4, 6, 8])

Anyway, looking forward to now play with the generator functionality
and hoping the installs' continue to perform properly. :^)

Dieter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,264
Messages
2,571,319
Members
48,003
Latest member
coldDuece

Latest Threads

Top