----- Original Message -----
> From: "Rafael Schloming" <r...@alum.mit.edu>
> To: proton@qpid.apache.org
> Sent: Wednesday, April 29, 2015 4:24:09 PM
> Subject: Re: Python 3 port is 'done'
> 
> What happens when I run make test and I have both python2 and python3
> installed on my system? Do the tests run once under each version or does
> one of the versions 'win'?

At this point it only runs on the 'default' version - whatever /usr/bin/python 
resolves to.

I like the idea of having it run on all installed python versions, but I 
haven't explored how to do that yet.

I've been using virtualenv [1] to switch between the two versions of python I 
have installed on my development station.  Tox [2] is probably the best 
approach to enable testing against multiple python environments.

I'll look into tox a bit and see what I can come up with.

-K

[1] http://docs.python-guide.org/en/latest/dev/virtualenvs/
[2] https://tox.readthedocs.org/en/latest/




> 
> --Rafael
> 
> On Wed, Apr 29, 2015 at 4:05 PM, Ken Giusti <kgiu...@redhat.com> wrote:
> 
> >
> > Well, done enough to consider merging to master.
> >
> > While the patch is quite large, most of the changes are simple syntax
> > changes to avoid non-python3 compliant syntax.
> >
> > The code is available on the kgiusti-python3 branch at the Apache repo.
> >
> >
> > https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;a=shortlog;h=refs/heads/kgiusti-python3
> >
> > I've also made a patch that can be viewed up on reviewboard:
> >
> > https://reviews.apache.org/r/33691/
> >
> > I've verified that the unit tests and python examples run under python2.6,
> > 2.7, and python3.3.   I'd appreciate if folks would take this patch for a
> > spin and report back their experience.
> >
> > Known Issues:
> >
> > These changes will be incompatible with earlier versions of the python 2.x
> > series.  I know for a fact that python versions <= 2.4 won't even parse
> > this patch, and I suspect getting such older versions of python to work
> > would require lots of effort.   I'm a little unsure of how well python 2.5
> > will be supported - I have yet to test that far back.  I also didn't test
> > anything earlier than 3.3 in the python3.x stream.
> >
> > --
> > -K
> >
> 

-- 
-K

Reply via email to