By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,985 Members | 1,575 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,985 IT Pros & Developers. It's quick & easy.

Python 2.5 alpha

P: n/a
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

Sep 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
In article <11**********************@g43g2000cwa.googlegroups .com>,
D.Hering <ve*************@gmail.com> wrote:

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.
--
Aahz (aa**@pythoncraft.com) <*> http://www.pythoncraft.com/

The way to build large Python applications is to componentize and
loosely-couple the hell out of everything.
Sep 18 '05 #2

P: n/a
D.Hering wrote:
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 ?
Sep 18 '05 #3

P: n/a
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
Thomas Jollans wrote:
D.Hering wrote:
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 ?


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

Sep 18 '05 #4

P: n/a
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

Sep 18 '05 #5

P: n/a
"D Hering" wrote:
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>

Sep 18 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.