[petsc-dev] Python version

Jed Brown jedbrown at mcs.anl.gov
Tue Feb 5 00:03:18 CST 2013


Cool, good to know. /usr/bin/python has been python3 since mid-2010 on Arch
Linux.

One approach would be to have a minimal script that fetches and builds a
newer python, to be run by people stuck with RHEL4 forever. I have that
cpython configure takes 30 seconds and build takes 50 seconds, so this
could be feasible. They don't need a system-wide install.


On Mon, Feb 4, 2013 at 11:10 PM, Shao-Ching Huang <huangsc at gmail.com> wrote:

> Hi,
>
> This may be of interest -- https://wiki.ubuntu.com/Python/3
>
> Regards,
> Shao-Ching
>
>
> On Mon, Feb 4, 2013 at 6:24 PM, Karl Rupp <rupp at mcs.anl.gov> wrote:
> >
> >>     I was actually thinking of the Python interface for PETSc rather
> >>     than the build system. For the build system we should support any
> >>     2.x version. And, even worse, I expect that at some point both 2.x
> >>     and 3.x need to be supported concurrently...
> >>
> >>
> >> I don't think we'll support 3.x until dropping support for 2.5 (because
> >> 2.6 is the first version that has compatible exception-handling syntax).
> >> It's pretty important to have a single source.
> >
> >
> > We will be certainly fine as long as mainstream distributions keep
> shipping
> > any 2.x version of python. This will certainly be the case for a couple
> of
> > years just because of the large amounts of code available.
> >
> > Best regards,
> > Karli
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130205/9ab468f0/attachment.html>


More information about the petsc-dev mailing list