Re: [openstack-dev] [oslo] Progress of the port to Python 3

2015-01-06 Thread Thomas Goirand
On 01/06/2015 05:51 PM, victor stinner wrote:
 Hi,
 
 I'm still working on porting OpenStack to Python 3.
 I'm fixing Python 3 issues in eventlet and I'm trying
 to replace eventlet with trollius in OpenStack. Two
 different and complementary ways to port OpenStack to Python 3.

Hi Victor,

Will you also work on moving away from python-memcache (eg: memcached)
and using pymemcache instead? I believe I shouted enough about this
being a major issue for the support of Python 3, but nothing is
happening here.

 I fixed some eventlet issues related to Python 3 and
 monkey-patching. My changes are part of eventlet 0.16 which was
 released the 2014-12-30. I tried this version with Oslo Messaging:
 with another fix in eventlet (threading.Condition) and a change in
 the zmq driver, only 3 tests are now failing (which is a great
 success for me).

Super cool! :)

Cheers,

Thomas Goirand (zigo)


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [oslo] Progress of the port to Python 3

2015-01-06 Thread victor stinner
Hi,

I'm still working on porting OpenStack to Python 3. I'm fixing Python 3 issues 
in eventlet and I'm trying to replace eventlet with trollius in OpenStack. Two 
different and complementary ways to port OpenStack to Python 3.


I fixed some eventlet issues related to Python 3 and monkey-patching. My 
changes are part of eventlet 0.16 which was released the 2014-12-30. I tried 
this version with Oslo Messaging: with another fix in eventlet 
(threading.Condition) and a change in the zmq driver, only 3 tests are now 
failing (which is a great success for me).

See my Oslo Messaging change for more information:
https://review.openstack.org/#/c/145241/

It looks like eventlet 0.16 works much better with Python 3 and 
monkey-patching. You should try it on your own project! Tell me if you need 
help to fix issues.

--

About asyncio, I renamed my aiogreen project to aioeventlet (to make it 
more explicit that it is specific to eventlet). With the release 0.4, the API 
is now considered as stable.
http://aioeventlet.readthedocs.org/

Mehdi Abaakouk voted +2 on my Oslo Messaging patches to support trollius 
coroutines using aioeventlet project, but it looks that he's alone to review 
Oslo Messaging patches :-/ Anyway to approve my changes?

* Add an optional executor callback to dispatcher
  https://review.openstack.org/136652
* Add a new aioeventlet executor
  https://review.openstack.org/136653

By the way, my review to add aioeventlet dependency also waits for a review:

* Add aioeventlet dependency
  https://review.openstack.org/138750

Victor Stinner

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [oslo] Progress of the port to Python 3

2015-01-06 Thread Jordan Pittier
Hi Victor.

Thanks for your effort. Did you read the ML thread [nova]nova not work
with eventlet 0.16.0 ? It looks important.

Jordan

On Tue, Jan 6, 2015 at 5:51 PM, victor stinner victor.stin...@enovance.com
wrote:

 Hi,

 I'm still working on porting OpenStack to Python 3. I'm fixing Python 3
 issues in eventlet and I'm trying to replace eventlet with trollius in
 OpenStack. Two different and complementary ways to port OpenStack to Python
 3.


 I fixed some eventlet issues related to Python 3 and monkey-patching. My
 changes are part of eventlet 0.16 which was released the 2014-12-30. I
 tried this version with Oslo Messaging: with another fix in eventlet
 (threading.Condition) and a change in the zmq driver, only 3 tests are now
 failing (which is a great success for me).

 See my Oslo Messaging change for more information:
 https://review.openstack.org/#/c/145241/

 It looks like eventlet 0.16 works much better with Python 3 and
 monkey-patching. You should try it on your own project! Tell me if you need
 help to fix issues.

 --

 About asyncio, I renamed my aiogreen project to aioeventlet (to make
 it more explicit that it is specific to eventlet). With the release 0.4,
 the API is now considered as stable.
 http://aioeventlet.readthedocs.org/

 Mehdi Abaakouk voted +2 on my Oslo Messaging patches to support trollius
 coroutines using aioeventlet project, but it looks that he's alone to
 review Oslo Messaging patches :-/ Anyway to approve my changes?

 * Add an optional executor callback to dispatcher
   https://review.openstack.org/136652
 * Add a new aioeventlet executor
   https://review.openstack.org/136653

 By the way, my review to add aioeventlet dependency also waits for a
 review:

 * Add aioeventlet dependency
   https://review.openstack.org/138750

 Victor Stinner

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev